Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
4.6.3, 4.7.0, 4.7.1, 4.7.2, 4.7.3
-
None
-
Debian Squeeze (64 bits)
Description
We tried to cross-compile a 32bit Qt application on a 64bit Linux.
Application has plugins. To do so, the -m32 switch was added to g++ (to produce a 32bit binary).
Compile process went fine and everything got linked to the 32bit version of the Qt libraries but the application was unable to load the plugins, complaining about an incorrect target.
The thing is : the plugin header is "fixed" and never evaluated dynamically according to the compile chain. The plugins were pure 32bit but tagged as 64bit by Qt ! This involves the Q_PLUGIN_VERIFICATION_DATA being hardcoded instead of dynamically evaluated on compile time (qplugin.h).
I have tagged the problem for Qt 4.6.3 and up but I bet this has been a problem since the beginning of the QPlugin interface.