Forcing a release build
Unsolved
General and Desktop
-
My .pro files are both supporting release and debug builds - everythings works fine when using Qt-Creator.
I am using continuous delivery on my Gitlab server to produce the deployable folder each time changes are pushed to the source code repository. Problem is that this is always producing the debug build while I would rather need the release build.
Question: Is there a setting in the .pro file I could use to force the release build as the default build to be made?
-
http://doc.qt.io/qt-5/qmake-variable-reference.html#config
CONFIG += debug_and_release build_all
-
Hi,
Since it's on your CI you should have something like
qmake "CONFIG+=release"
.