Important: Please read the Qt Code of Conduct -

[SOLVED] qmake: how to select different android build flags depending on host

  • Hey,

    I have a qmake project which I compile from a win32 machine and from a linux machine.
    The include files of a library I use for android are different on the machines.

    I can select by target using:

    android { ...}


    win32 { ...}

    but can I also select configurations depending on the host?


  • Lifetime Qt Champion


    You could use to differentiate both computers

    Hope it helps

Log in to reply