Important: Please read the Qt Code of Conduct -

How to control the instruction set for the target when compiling Qt app?

  • I am developing on a desktop with Ubutun 12.0 and Pentium 4 CPU, my target is a i586 compatible CPU with open embedded linux.

    I downloaded qt-everywhere-opensource-src-4.6.4.tar.gz and run "configure -embedded" to build a target lib, there is option telling configure architecture used, such as x86, arm, but not for instruction set. when building Qtlib with "make", which instructin set is it going to use, i486 or i686?

    after Qt library is ready, where is the control of the instruction set used to build the Qt application? Thanks for help

  • You are probably looking for mkspecs (set when running for configure).

Log in to reply