Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How to give arguments to qmake whether to build or not build some optional packages ?



  • When we are using configure script for creating the make file, we can disable some packages by passing arguments like --with-PACKAGE=no or --without-PACKAGE or something else mentioned in configure help.
    How can we do the same thing while creating a makefile by qmake ?

    Thank you.



  • You could set environment variables before you start qmake.
    see qmake documentation

    regards
    Karl-Heinz


Log in to reply