stockqt find packages before standard project setup

Fixes: QTBUG-122258
Pick-to: 6.7 6.6
Change-Id: I976cdc3623f975d3d3dc15ffdf3526791ecc34d7
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
Sakaria Pouke 2024-02-22 14:01:26 +02:00
parent 70af90d85b
commit 79e91c7e49
1 changed files with 2 additions and 1 deletions

View File

@ -14,6 +14,8 @@ endif()
set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/demos/stocqt")
find_package(Qt6 ${PROJECT_VERSION} REQUIRED COMPONENTS Core Gui Qml Quick Graphs)
qt_standard_project_setup(REQUIRES 6.5)
qt_add_executable(appStocQt
@ -40,7 +42,6 @@ if (ANDROID)
endif()
endif()
find_package(Qt6 ${PROJECT_VERSION} REQUIRED COMPONENTS Core Gui Qml Quick Graphs)
qt_add_qml_module(appStocQt
URI StocQt