forked from qt-creator/qt-creator
Use qbs.defaultBuildVariant to inform Qbs of the default build variant
Qt Creator always put its value for qbs.buildVariant in the config when building Qbs projects. That overwrote values applied by the multiplexing mechanism or by the project files, which is undesired. Instead, Qt Creator will now use the qbs.defaultBuildVariant property, which is provided for this reason. Task-number: QTCREATORBUG-19316 Change-Id: I923dfb6e083135b7c3ae6346af3ac639a4f02dbc Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -63,7 +63,7 @@ const char QBS_INSTALLSTEP_ID[] = "Qbs.InstallStep";
|
|||||||
const char QBS_VARIANT_DEBUG[] = "debug";
|
const char QBS_VARIANT_DEBUG[] = "debug";
|
||||||
const char QBS_VARIANT_RELEASE[] = "release";
|
const char QBS_VARIANT_RELEASE[] = "release";
|
||||||
|
|
||||||
const char QBS_CONFIG_VARIANT_KEY[] = "qbs.buildVariant";
|
const char QBS_CONFIG_VARIANT_KEY[] = "qbs.defaultBuildVariant";
|
||||||
const char QBS_CONFIG_PROFILE_KEY[] = "qbs.profile";
|
const char QBS_CONFIG_PROFILE_KEY[] = "qbs.profile";
|
||||||
const char QBS_INSTALL_ROOT_KEY[] = "qbs.installRoot";
|
const char QBS_INSTALL_ROOT_KEY[] = "qbs.installRoot";
|
||||||
const char QBS_CONFIG_DECLARATIVE_DEBUG_KEY[] = "Qt.declarative.qmlDebugging";
|
const char QBS_CONFIG_DECLARATIVE_DEBUG_KEY[] = "Qt.declarative.qmlDebugging";
|
||||||
|
Reference in New Issue
Block a user