Page 1 of 1

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

Posted: Tue Sep 29, 2009 5:15 pm
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?

Re: Cannot mix incompatible Qt libraries

Posted: Wed Sep 30, 2009 1:11 pm
by xnview
In the xnview.sh add:
QT_PLUGIN_PATH=./
export QT_PLUGIN_PATH

Re: Cannot mix incompatible Qt libraries

Posted: Wed Sep 30, 2009 8:38 pm
by Elias
Hi Pierre.
I'm sorry to say it didn't work.
Maybe some other path?
Merci

Re: Cannot mix incompatible Qt libraries

Posted: Thu Oct 01, 2009 11:30 am
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

Re: Cannot mix incompatible Qt libraries

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

Re: Cannot mix incompatible Qt libraries

Posted: Fri Oct 02, 2009 3:26 pm
by Dreamer
Image

Re: Cannot mix incompatible Qt libraries

Posted: Sat Oct 03, 2009 6:56 pm
by XnAti
Same problem with version 0.20 on Ubuntu 9.04! Version 0.12 works fine.

Re: Cannot mix incompatible Qt libraries

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

Re: Cannot mix incompatible Qt libraries

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

Re: Cannot mix incompatible Qt libraries

Posted: Sat Oct 03, 2009 10:23 pm
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).

Re: Cannot mix incompatible Qt libraries

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

Re: Cannot mix incompatible Qt libraries

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

Re: Cannot mix incompatible Qt libraries

Posted: Sun Oct 04, 2009 7:35 pm
by Elias
Hi Pierre
Can I help in some way?
Maybe I can help in a Brazilian Portuguese translation.

Re: Cannot mix incompatible Qt libraries

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

Re: Cannot mix incompatible Qt libraries

Posted: Tue Oct 06, 2009 2:42 pm
by xnview
I found the problem, i'll update the package soon...