These libraries of yours are not built as part of the same project with the same settings?
Are you cross compiling?
I think on Windows you can use QMAKE_TARGET.arch to tell "x86" from "x86_64" but that does not exist on Linux.
On Linux something like this might get you there:
Lifted from : http://qt-project.org/faq/answer/how...bit_or_a_64_biQt Code:
linux-g++:QMAKE_TARGET.arch = $$QMAKE_HOST.arch linux-g++-32:QMAKE_TARGET.arch = x86 linux-g++-64:QMAKE_TARGET.arch = x86_64To copy to clipboard, switch view to plain text mode




Reply With Quote
Bookmarks