forked from qt-creator/qt-creator
qml2puppet: use branding from qtcreator repository
To build a correct puppet with the correct version number do: cmake -DBUILD_DESIGNSTUDIO=ON no branding argument necessary anymore Change-Id: I74b25e3da296fe77d83892d0596f5da3c38ed6cf Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
This commit is contained in:
@@ -1,7 +1,11 @@
|
|||||||
cmake_minimum_required(VERSION 3.16)
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
|
||||||
if (NOT QT_CREATOR_API_DEFINED)
|
|
||||||
# standalone build
|
# standalone build
|
||||||
|
if (NOT QT_CREATOR_API_DEFINED)
|
||||||
|
option(BUILD_DESIGNSTUDIO "Build puppet with Qt Design Studio version in the binary name." OFF)
|
||||||
|
if (BUILD_DESIGNSTUDIO)
|
||||||
|
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../../dist/branding/qtdesignstudio")
|
||||||
|
endif()
|
||||||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../../cmake")
|
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../../cmake")
|
||||||
|
|
||||||
project(qml2puppet)
|
project(qml2puppet)
|
||||||
|
|||||||
Reference in New Issue
Block a user