mirror of https://github.com/qt/qtdoc.git
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:
parent
70af90d85b
commit
79e91c7e49
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue