diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2020-10-19 08:38:34 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2020-10-20 00:03:17 +0200 |
commit | 0d31cb11ee1db0c2bf4e1324b966ce3ac29e24e4 (patch) | |
tree | d383b82cf224cf41c53e3be014183e1e5a761911 /src | |
parent | c010364342e3cd749c5ec8e44f1b73e7d8cba99c (diff) |
CMake: Fix singleton declaration in qt6_target_qml_target
The declaration is to be written without the square brackets.
Fixes: QTBUG-87684
Change-Id: I8fb7fb1f9204cb56d2fa1e2c10ec585ff0e2b512
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/qml/Qt6QmlMacros.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/Qt6QmlMacros.cmake b/src/qml/Qt6QmlMacros.cmake index 2d085bcbcf..4d2ee7af9a 100644 --- a/src/qml/Qt6QmlMacros.cmake +++ b/src/qml/Qt6QmlMacros.cmake @@ -554,7 +554,7 @@ function(qt6_target_qml_files target) endif() if (qml_file_singleton) - string(APPEND file_contents "[singleton] ") + string(APPEND file_contents "singleton ") endif() foreach(qml_file_version IN LISTS qml_file_versions) |