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

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

Moderator: XnTriq

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

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

Post by Elias » Tue Sep 29, 2009 5:15 pm

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: 31356
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Cannot mix incompatible Qt libraries

Post by xnview » Wed Sep 30, 2009 1:11 pm

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 » Wed Sep 30, 2009 8:38 pm

Hi Pierre.
I'm sorry to say it didn't work.
Maybe some other path?
Merci

User avatar
xnview
Author of XnView
Posts: 31356
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Cannot mix incompatible Qt libraries

Post by xnview » Thu Oct 01, 2009 11:30 am

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 » Fri Oct 02, 2009 1:55 pm

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

User avatar
Dreamer
XnThusiast
Posts: 4605
Joined: Sun Jul 25, 2004 9:08 pm
Location: Slovakia

Re: Cannot mix incompatible Qt libraries

Post by Dreamer » Fri Oct 02, 2009 3:26 pm

Image
Dreamer

XnAti
Posts: 23
Joined: Sat Oct 03, 2009 6:34 pm

Re: Cannot mix incompatible Qt libraries

Post by XnAti » Sat Oct 03, 2009 6:56 pm

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 » Sat Oct 03, 2009 9:09 pm

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 » Sat Oct 03, 2009 10:11 pm

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.

User avatar
Dreamer
XnThusiast
Posts: 4605
Joined: Sun Jul 25, 2004 9:08 pm
Location: Slovakia

Re: Cannot mix incompatible Qt libraries

Post by Dreamer » Sat Oct 03, 2009 10:23 pm

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 » Sun Oct 04, 2009 5:01 am

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 » Sun Oct 04, 2009 7:32 pm

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 » Sun Oct 04, 2009 7:35 pm

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 » Tue Oct 06, 2009 2:35 pm

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: 31356
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Cannot mix incompatible Qt libraries

Post by xnview » Tue Oct 06, 2009 2:42 pm

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

Post Reply