[APG-2.6-b4] Cannot mix incompatible Qt library (version 0x40702)  

This forum is dedicated to Autopano Pro / Giga bug reports and features discussion.
Please read the posting rules before starting a topic!
User avatar
DrSlony
Member
 
Posts: 1880
Joined: Sat Nov 03, 2007 6:30 pm
Location: Sweden

[APG-2.6-b4] Cannot mix incompatible Qt library (version 0x40702)

by DrSlony » Thu Oct 13, 2011 11:21 pm

I get this error when trying to start APG-2.6-beta4:
Code: Select all
drslony@overkill ~ $ cd AutopanoGiga/
drslony@overkill ~/AutopanoGiga $ sh AutopanoGiga.sh
drslony@overkill ~/AutopanoGiga $ Cannot mix incompatible Qt library (version 0x40702) with this library (version 0x40704)

Obviously this is a bug, but I would like to work around it to use APG in the meantime. What QT version do I need? I have 4.7.2 installed on my system.

User avatar
gkaefer
Member
 
Posts: 3387
Joined: Tue Jun 09, 2009 1:01 pm
Location: Salzburg

by gkaefer » Thu Oct 13, 2011 11:26 pm

DrSlony wrote:I get this error when trying to start APG-2.6-beta4:
Code: Select all
drslony@overkill ~ $ cd AutopanoGiga/
drslony@overkill ~/AutopanoGiga $ sh AutopanoGiga.sh
drslony@overkill ~/AutopanoGiga $ Cannot mix incompatible Qt library (version 0x40702) with this library (version 0x40704)

Obviously this is a bug, but I would like to work around it to use APG in the meantime. What QT version do I need? I have 4.7.2 installed on my system.

studying your error line ;-))

"(version 0x40702)" = "I have 4.7.2 installed"
"(version 0x40704)" = "I should install 4.7.x"

;-))

Georg
Last edited by gkaefer on Thu Oct 13, 2011 11:27 pm, edited 1 time in total.

User avatar
DrSlony
Member
 
Posts: 1880
Joined: Sat Nov 03, 2007 6:30 pm
Location: Sweden

by DrSlony » Thu Oct 13, 2011 11:29 pm

I solved it.
Code: Select all
drslony@overkill ~ $ cd AutopanoGiga/
drslony@overkill ~/AutopanoGiga $ export QT_PLUGIN_PATH=""
drslony@overkill ~/AutopanoGiga $ ./AutopanoGiga.sh

This is what QT_PLUGIN_PATH was before I blanked it:
Code: Select all
drslony@overkill ~ $ echo $QT_PLUGIN_PATH
/usr/lib64/kde4/plugins:/home/drslony/.kde4/lib64/kde4/plugins/:/usr/lib64/kde4/plugins/

User avatar
DrSlony
Member
 
Posts: 1880
Joined: Sat Nov 03, 2007 6:30 pm
Location: Sweden

by DrSlony » Thu Oct 13, 2011 11:31 pm

gkaefer the problem was that APG ships with the required QT libs, so it shouldn't really make a difference what I have installed, I just didn't expect I'd find the fault so quickly ;]

User avatar
gkaefer
Member
 
Posts: 3387
Joined: Tue Jun 09, 2009 1:01 pm
Location: Salzburg

by gkaefer » Thu Oct 13, 2011 11:36 pm

DrSlony wrote:gkaefer the problem was that APG ships with the required QT libs, so it shouldn't really make a difference what I have installed, I just didn't expect I'd find the fault so quickly ;]

yes... but your solution to blank the system wide qt library path may help running autopano... but other software on your system is not aware of autopanos qt library coming with the package... so you now can expect that those packages do no longer find your qt library 4.7.2 ...
Georg

User avatar
DrSlony
Member
 
Posts: 1880
Joined: Sat Nov 03, 2007 6:30 pm
Location: Sweden

by DrSlony » Thu Oct 13, 2011 11:36 pm

So the fix for everyone is to add this line to AutopanoGiga.sh:
export QT_PLUGIN_PATH="$dirname"

User avatar
AlexandreJ
Kolor Team
 
Posts: 5918
Joined: Mon Nov 14, 2005 4:56 pm
Location: Francin, France

by AlexandreJ » Fri Oct 14, 2011 8:07 am

Confirmed : Issue 932 opened

no avatar
l_archi
Member
 
Posts: 162
Joined: Fri Dec 02, 2005 9:05 pm

by l_archi » Wed Nov 09, 2011 6:26 pm

Same problem with

ii autopanogiga 260RC1 Meta package for Kolor Autopano image stitching software.

$ AutopanoGiga
Cannot mix incompatible Qt library (version 0x40703) with this library (version 0x40704)
/usr/bin/AutopanoGiga: line 4: 25392 Abandon /usr/lib/AutopanoGiga/AutopanoGiga


With tar.gz package :

$ sh AutopanoGiga.sh
Cannot mix incompatible Qt library (version 0x40703) with this library (version 0x40704)


Ubuntu is version 4.7.4

http://packages.ubuntu.com/fr/oneiric/libqt4-core

And debian unstable version 4.7.3

http://packages.debian.org/sid/libqt4-core

I still can not run the software ..
Last edited by l_archi on Fri Nov 11, 2011 3:07 pm, edited 1 time in total.

User avatar
DrSlony
Member
 
Posts: 1880
Joined: Sat Nov 03, 2007 6:30 pm
Location: Sweden

by DrSlony » Thu Dec 22, 2011 4:51 am

Works out of the box now (and iirc in RC2).

no avatar
l_archi
Member
 
Posts: 162
Joined: Fri Dec 02, 2005 9:05 pm

by l_archi » Sat Dec 31, 2011 4:45 pm

J'ai toujours le problème..


$ AutopanoGiga
Cannot mix incompatible Qt library (version 0x40703) with this library (version 0x40704)
/usr/bin/AutopanoGiga : ligne 4 : 20082 Abandon /usr/lib/AutopanoGiga/AutopanoGiga


$ dpkg -l |grep Auto
ii autopanogiga 260 Meta package for Kolor Autopano image stitching software.

Mes libs qt :

$ dpkg -l |grep libqt
ii libqt3-compat-headers 3:3.3.8b-8 Qt 1.x and 2.x compatibility includes
ii libqt3-headers 3:3.3.8b-8 Qt3 header files
ii libqt3-mt 3:3.3.8b-8 Qt GUI Library (Threaded runtime version), Version 3
ii libqt3-mt-dev 3:3.3.8b-8 Qt development files (Threaded)
ii libqt4-dbus 4:4.7.3-8 Qt 4 D-Bus module
ii libqt4-declarative 4:4.7.3-8 Qt 4 Declarative module
ii libqt4-designer 4:4.7.3-8 Qt 4 designer module
ii libqt4-help 4:4.7.3-8 Qt 4 help module
ii libqt4-network 4:4.7.3-8 Qt 4 network module
ii libqt4-opengl 4:4.7.3-8 Qt 4 OpenGL module
ii libqt4-qt3support 4:4.7.3-8 Qt 3 compatibility library for Qt 4
ii libqt4-ruby1.8 4:4.4.5-7 Qt 4 bindings for Ruby
ii libqt4-script 4:4.7.3-8 Qt 4 script module
ii libqt4-scripttools 4:4.7.3-8 Qt 4 script tools module
ii libqt4-sql 4:4.7.3-8 Qt 4 SQL module
ii libqt4-sql-mysql 4:4.7.3-8 Qt 4 MySQL database driver
ii libqt4-sql-sqlite 4:4.7.3-8 Qt 4 SQLite 3 database driver
ii libqt4-svg 4:4.7.3-8 Qt 4 SVG module
ii libqt4-test 4:4.7.3-8 Qt 4 test module
ii libqt4-webkit 4:4.7.4-1 transitional package for Qt 4 WebKit module
ii libqt4-xml 4:4.7.3-8 Qt 4 XML module
ii libqt4-xmlpatterns 4:4.7.3-8 Qt 4 XML patterns module
ii libqtassistantclient4 4.6.3-3 Qt Assistant client library (runtime)
ii libqtcore4 4:4.7.3-8 Qt 4 core module
ii libqtgui4 4:4.7.3-8 Qt 4 GUI module
rc libqtlocation1 1.2.0-1 Qt Mobility Location module
rc libqtmultimediakit1 1.2.0-1 Qt Mobility MultimediaKit module
ii libqtruby4shared2 4:4.4.5-7 internal library for Qt Ruby bindings
ii libqtwebkit4 2.2.0-3 Web content engine library for Qt

User avatar
fma38
Member
 
Posts: 5827
Joined: Wed Dec 07, 2005 6:21 pm
Location: Grenoble, France

by fma38 » Sat Dec 31, 2011 6:08 pm

Même problème chez moi (debian sid 64bits, APG 2.6.0)
Frédéric

Canon 20D + 17-40/f4 L USM + 70-200/f4 L USM + 50/f1.4 USM
Merlin/Orion panohead + Papywizard on Nokia N800 and HP TC-1100

no avatar
l_archi
Member
 
Posts: 162
Joined: Fri Dec 02, 2005 9:05 pm

by l_archi » Sat Jan 07, 2012 10:59 am

debian sid amd64 aussi

no avatar
l_archi
Member
 
Posts: 162
Joined: Fri Dec 02, 2005 9:05 pm

by l_archi » Sat Jan 21, 2012 2:44 pm

J'ai toujours le problème

une idée ?

no avatar
dcc
Member
 
Posts: 28
Joined: Fri Jun 29, 2007 10:28 am

by dcc » Mon Jan 23, 2012 6:44 pm

Même problème sur debian testing 64 bits mais fontionne sur Fedora 16.
Workaround possible sur debian:
lancer Autopano en étant root, oui je sais c'est mal mais ça marche.


Return to Autopano bug & discussion

Who is online

Users browsing this forum: No registered users and 2 guests