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:
Tim Jenssen
2024-02-29 13:36:22 +01:00
parent 942b5b62bb
commit 4ef5338229

View File

@@ -1,7 +1,11 @@
cmake_minimum_required(VERSION 3.16)
# standalone build
if (NOT QT_CREATOR_API_DEFINED)
# standalone build
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")
project(qml2puppet)