Do not build Qbs by default

Compiling Qbs takes time and is not strictly necessary for the Qbs
integration in Qt Creator.
We still want to build it for the release, but let's not build it by
default anymore.

[ChangeLog][Building from Sources] Qbs is not built anymore by default.
Pass -DBUILD_QBS=ON on the CMake command line to enable it.

Change-Id: Ic5793e26c7f6a7ac92931777e5d77cef2c8bf888
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
Eike Ziller
2021-09-07 13:13:30 +02:00
parent 1b723f6fd9
commit 8e652e1586
3 changed files with 14 additions and 14 deletions

View File

@@ -9,13 +9,7 @@ add_subdirectory(registryaccess)
qtc_add_public_header(qtcreator_pch.h)
qtc_add_public_header(qtcreator_gui_pch.h)
if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/qbs/CMakeLists.txt)
set(BUILD_QBS_DEFAULT YES)
else()
set(BUILD_QBS_DEFAULT FALSE)
endif()
option(BUILD_QBS "Build Qbs together with Qt Creator" ${BUILD_QBS_DEFAULT})
option(BUILD_QBS "Build Qbs together with Qt Creator" OFF)
add_feature_info("Build Qbs" BUILD_QBS "")
if (BUILD_QBS)