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


Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.