Telling Qmake How To Produce Makefile?

84 Views Asked by At

I'd like to know if there's any way I could specify to qmake the target architecture I'd like to cross compile to?

Something like:

qmake -qt4 -makefile -target_architecture
1

There are 1 best solutions below

0
On

qmake -spec <spec> where <spec> can be found here: qt-src/mkspecs/ or here $$QT_HOME/mkspecs/.