quick: fix qml import error

Fixes: #288
Fixes: #233
This commit is contained in:
Yuhang Zhao 2023-09-26 12:42:32 +08:00
parent 8c37fa628a
commit 79d5087df5
1 changed files with 3 additions and 3 deletions

View File

@ -155,9 +155,9 @@ if(QT_VERSION VERSION_GREATER_EQUAL "6.3")
#NO_RESOURCE_TARGET_PATH # Can't be used for non-executable targets. #NO_RESOURCE_TARGET_PATH # Can't be used for non-executable targets.
OUTPUT_TARGETS __qml_targets OUTPUT_TARGETS __qml_targets
IMPORTS IMPORTS
QtQml/auto QtQml
QtQuick/auto QtQuick
QtQuick.Controls.Basic/auto QtQuick.Controls.Basic
) )
if(__qml_targets) if(__qml_targets)
list(APPEND __export_targets ${__qml_targets}) list(APPEND __export_targets ${__qml_targets})