diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2020-07-03 15:45:41 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2020-07-05 18:00:46 +0200 |
commit | 36b253eebdf5169709475a8e9b4726f3d19a771b (patch) | |
tree | 3b3ee2f62e5b1b34e3f64ed56e3c9508db9b76c5 /tools/qmlcachegen/Qt6QuickCompilerConfig.cmake.in | |
parent | a056cb9595ea4a41c93f4c912719f9523b943d3b (diff) |
Prepare Qt5QuickCompiler.cmake.in for Qt6
Increment all the version numbers. Replace
qtquick_compiler_add_resources with a warning and a call to
qt6_add_resources.
Task-number: QTBUG-85190
Change-Id: Ifed5449ab4d6312a57add870eee13175872146db
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tools/qmlcachegen/Qt6QuickCompilerConfig.cmake.in')
-rw-r--r-- | tools/qmlcachegen/Qt6QuickCompilerConfig.cmake.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/qmlcachegen/Qt6QuickCompilerConfig.cmake.in b/tools/qmlcachegen/Qt6QuickCompilerConfig.cmake.in new file mode 100644 index 0000000000..fe19af78cb --- /dev/null +++ b/tools/qmlcachegen/Qt6QuickCompilerConfig.cmake.in @@ -0,0 +1,4 @@ +function(QTQUICK_COMPILER_ADD_RESOURCES) + message(WARNING "Use qt6_add_resources instead of qtquick_compiler_add_resources." + "QML and JavaScript files are automatically compiled then.") +endfunction() |