<<< Fixed >>> Cannot mix incompatible Qt libraries

Bugs and Suggestions in XnView MP or XnConvert MP which have been resolved.

Moderators: XnTriq, helmut, xnview

User avatar
Elias
Posts: 39
Joined: Mon Jan 26, 2009 10:49 pm
Location: Brasil

<<< Fixed >>> Cannot mix incompatible Qt libraries

Post by Elias »

I am using linux Kubuntu 9.04.
When I run the xnview.sh, I receive the message "Cannot mix incompatible Qt libraries" and XnViewMP-0.20 don't start.
Whose libraries are incompatibles?
Where are they?
What can I do to solve the problem?

Interesting. XNView works perfectly on gnome.
Fails on KDE 4.3.1
Nobody can help?
Am I the only one with this problem?
Last edited by Elias on Fri Oct 09, 2009 1:08 pm, edited 1 time in total.
User avatar
xnview
Author of XnView
Posts: 44616
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Cannot mix incompatible Qt libraries

Post by xnview »

In the xnview.sh add:
QT_PLUGIN_PATH=./
export QT_PLUGIN_PATH
Pierre.
User avatar
Elias
Posts: 39
Joined: Mon Jan 26, 2009 10:49 pm
Location: Brasil

Re: Cannot mix incompatible Qt libraries

Post by Elias »

Hi Pierre.
I'm sorry to say it didn't work.
Maybe some other path?
Merci
User avatar
xnview
Author of XnView
Posts: 44616
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Cannot mix incompatible Qt libraries

Post by xnview »

Elias wrote:I'm sorry to say it didn't work.
Maybe some other path?
:-( I've tried on Kubuntu9 too
Could you send me the trace of

Code: Select all

LD_LIBRARY_PATH=./; 
export LD_LIBRARY_PATH
QT_PLUGIN_PATH=./
export QT_PLUGIN_PATH
strace -e trace=open ./xnview
Pierre.
User avatar
Elias
Posts: 39
Joined: Mon Jan 26, 2009 10:49 pm
Location: Brasil

Re: Cannot mix incompatible Qt libraries

Post by Elias »

Hi Pierre
When I try to send the trace file as attachment I receive the message "Extension [ext] not allowed" for each "ext" file I try. How can I send you this file?

Elias
Dreamer
XnThusiast
Posts: 4608
Joined: Sun Jul 25, 2004 9:08 pm

Re: Cannot mix incompatible Qt libraries

Post by Dreamer »

Image
Dreamer
XnAti
Posts: 24
Joined: Sat Oct 03, 2009 6:34 pm

Re: Cannot mix incompatible Qt libraries

Post by XnAti »

Same problem with version 0.20 on Ubuntu 9.04! Version 0.12 works fine.
OS X, (X)Ubuntu
User avatar
Elias
Posts: 39
Joined: Mon Jan 26, 2009 10:49 pm
Location: Brasil

Re: Cannot mix incompatible Qt libraries

Post by Elias »

Hi
Have you received the email with attachment file trace.txt sent to <removed>?
I hope it help you find how to solve the problem.
Thank you in advance.

Elias

<Moderator's note: Mail address has been removed - please see Rules and Guidelines>
User avatar
Elias
Posts: 39
Joined: Mon Jan 26, 2009 10:49 pm
Location: Brasil

Re: Cannot mix incompatible Qt libraries

Post by Elias »

Dreamer wrote:Image
I really didn't understand.
The reference to email address I used is exactly the same the moderator Dreamer passed some posts before.
Dreamer
XnThusiast
Posts: 4608
Joined: Sun Jul 25, 2004 9:08 pm

Re: Cannot mix incompatible Qt libraries

Post by Dreamer »

Elias wrote:
Dreamer wrote:Image
I really didn't understand.
The reference to email address I used is exactly the same the moderator Dreamer passed some posts before.
It's not the same, it's the image only.

More in the forum rules and here (you can find also that image there, it's a trick to avoid spam, robots can read the text, they can't read the text from image).
Dreamer
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Re: Cannot mix incompatible Qt libraries

Post by marsh »

The program aborted with "cannot mix" message whenever I selected a movie. This did not occur after I removed the following lines from my "~/.config/Trolltech.conf" setting:

Code: Select all

KDE\kdeAddedLibraryPaths=/usr/lib/kde4/plugins
4.5\libraryPath=/usr/lib/kde4/plugins
(Debian 6.0;kde-standard)
User avatar
Elias
Posts: 39
Joined: Mon Jan 26, 2009 10:49 pm
Location: Brasil

Re: Cannot mix incompatible Qt libraries

Post by Elias »

Hi Marsh and thanks.
Your solution worked perfectly.
I don't know how or why but solved the problem.
I hope Pierre can built a solution within the xnview code to prevent this situation
Thanks for you all.
User avatar
Elias
Posts: 39
Joined: Mon Jan 26, 2009 10:49 pm
Location: Brasil

Re: Cannot mix incompatible Qt libraries

Post by Elias »

Hi Pierre
Can I help in some way?
Maybe I can help in a Brazilian Portuguese translation.
mykurtaccount
Posts: 21
Joined: Sat Oct 18, 2008 7:40 am

Re: Cannot mix incompatible Qt libraries

Post by mykurtaccount »

marsh wrote:The program aborted with "cannot mix" message whenever I selected a movie. This did not occur after I removed the following lines from my "~/.config/Trolltech.conf" setting:

Code: Select all

KDE\kdeAddedLibraryPaths=/usr/lib/kde4/plugins
4.5\libraryPath=/usr/lib/kde4/plugins
(Debian 6.0;kde-standard)
I'm getting the same message:
----
Cannot mix incompatible Qt libraries
/usr/bin/xnviewmp: line 4: 18952 Aborted LD_LIBRARY_PATH=./ ./xnview
----

OS: Arch Linux
KDE: 4.3.1
QT: 4.5.3

I'd rather not do the change mentioned above as I'm not sure what other progams would be using that config. file.
User avatar
xnview
Author of XnView
Posts: 44616
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Cannot mix incompatible Qt libraries

Post by xnview »

I found the problem, i'll update the package soon...
Pierre.