From a7749077f9c519461284625e94510a31f3b71d1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20Gro=C3=9F?= Date: Sun, 23 Apr 2023 18:29:29 +0200 Subject: [PATCH] Add QML_IMPORT_PATH for KDevelop and Qt Creator code completion and navigation. --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index f49d020c6b..84f3a5a060 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -512,3 +512,6 @@ if (BUILD_INSTALLER) endif() generate_installers() endif() + +# QML import paths for Qt Creator and KDevelop code completion +set(QML_IMPORT_PATH ${CMAKE_SOURCE_DIR}/interface/resources/qml;${CMAKE_SOURCE_DIR}/launchers/qt/resources/qml CACHE PATH "Extra QML import paths for KDevelop and Qt Creator")