diff options
author | Kai Köhne <kai.koehne@qt.io> | 2021-12-08 15:59:33 +0100 |
---|---|---|
committer | Kai Koehne <kai.koehne@qt.io> | 2021-12-13 14:16:25 +0000 |
commit | 28a9d116bba00fde5aaa214bb7c929efc66af971 (patch) | |
tree | 8887c2f3f899ee1c2cc3de1bfd54ab47475b000f /examples/widgets/mainwindows | |
parent | 85c5ae2ab89c2671a7030a80ac0629a2eea1be89 (diff) |
CMake: Prefer unversioned commands
Pick-to: 6.3
Change-Id: Ib32700ab82cf6b271c49e25d12fbad8c9c6bc1d1
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'examples/widgets/mainwindows')
5 files changed, 5 insertions, 5 deletions
diff --git a/examples/widgets/mainwindows/application/CMakeLists.txt b/examples/widgets/mainwindows/application/CMakeLists.txt index 8d4622cf82..debd65da83 100644 --- a/examples/widgets/mainwindows/application/CMakeLists.txt +++ b/examples/widgets/mainwindows/application/CMakeLists.txt @@ -42,7 +42,7 @@ set(application_resource_files "images/save.png" ) -qt6_add_resources(application "application" +qt_add_resources(application "application" PREFIX "/" FILES diff --git a/examples/widgets/mainwindows/dockwidgets/CMakeLists.txt b/examples/widgets/mainwindows/dockwidgets/CMakeLists.txt index a18fc211c6..90eec8c509 100644 --- a/examples/widgets/mainwindows/dockwidgets/CMakeLists.txt +++ b/examples/widgets/mainwindows/dockwidgets/CMakeLists.txt @@ -48,7 +48,7 @@ set(dockwidgets_resource_files "images/undo.png" ) -qt6_add_resources(dockwidgets "dockwidgets" +qt_add_resources(dockwidgets "dockwidgets" PREFIX "/" FILES diff --git a/examples/widgets/mainwindows/mainwindow/CMakeLists.txt b/examples/widgets/mainwindows/mainwindow/CMakeLists.txt index eb04152dbf..33d367628a 100644 --- a/examples/widgets/mainwindows/mainwindow/CMakeLists.txt +++ b/examples/widgets/mainwindows/mainwindow/CMakeLists.txt @@ -42,7 +42,7 @@ set(mainwindow_resource_files "titlebarRight.png" ) -qt6_add_resources(mainwindow "mainwindow" +qt_add_resources(mainwindow "mainwindow" PREFIX "/res" FILES diff --git a/examples/widgets/mainwindows/mdi/CMakeLists.txt b/examples/widgets/mainwindows/mdi/CMakeLists.txt index 83057a8c8c..038dabf996 100644 --- a/examples/widgets/mainwindows/mdi/CMakeLists.txt +++ b/examples/widgets/mainwindows/mdi/CMakeLists.txt @@ -43,7 +43,7 @@ set(mdi_resource_files "images/save.png" ) -qt6_add_resources(mdi "mdi" +qt_add_resources(mdi "mdi" PREFIX "/" FILES diff --git a/examples/widgets/mainwindows/sdi/CMakeLists.txt b/examples/widgets/mainwindows/sdi/CMakeLists.txt index 885ba1c5e2..6f62c1e404 100644 --- a/examples/widgets/mainwindows/sdi/CMakeLists.txt +++ b/examples/widgets/mainwindows/sdi/CMakeLists.txt @@ -42,7 +42,7 @@ set(sdi_resource_files "images/save.png" ) -qt6_add_resources(sdi "sdi" +qt_add_resources(sdi "sdi" PREFIX "/" FILES |