aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/shapes/shapes.pro
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2021-08-31 12:43:05 +0200
committerUlf Hermann <ulf.hermann@qt.io>2021-09-01 11:49:06 +0200
commit66c011c5582de0565d85a77b282118a84aba51ad (patch)
tree163f918543dcbcd57ee3e7d2a9de1406c5951861 /examples/quick/shapes/shapes.pro
parent31a36fc39245b460489d03bac3d89d240a1e6575 (diff)
Clean up shapes example
Drop the confusing alias mangling on all the QML files. Instead move them into the base "shapes" directory. Also, use a QML module in CMake and use the "shared" module as intended. Pick-to: 6.2 Change-Id: I6a8fc3f2b2f86f58a54e188cf83ec7e2d4e8f468 Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io> Reviewed-by: Andrei Golubev <andrei.golubev@qt.io> Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'examples/quick/shapes/shapes.pro')
-rw-r--r--examples/quick/shapes/shapes.pro27
1 files changed, 3 insertions, 24 deletions
diff --git a/examples/quick/shapes/shapes.pro b/examples/quick/shapes/shapes.pro
index f99d941804..eb2baae0b4 100644
--- a/examples/quick/shapes/shapes.pro
+++ b/examples/quick/shapes/shapes.pro
@@ -2,30 +2,9 @@ TEMPLATE = app
QT += quick qml
SOURCES += main.cpp
-RESOURCES += shapes.qrc
-OTHER_FILES += content/main.qml \
- content/shapegallery.qml \
- content/interactive.qml \
- content/sampling.qml \
- content/clippedtigers.qml \
- content/tiger.qml \
- content/tapableTriangle.qml \
- content/item2.qml \
- content/item3.qml \
- content/item4.qml \
- content/item5.qml \
- content/item6.qml \
- content/item7.qml \
- content/item8.qml \
- content/item9.qml \
- content/item10.qml \
- content/item11.qml \
- content/item12.qml \
- content/item13.qml \
- content/item14.qml \
- content/item15.qml \
- content/item17.qml \
- content/item18.qml
+RESOURCES += \
+ shapes.qrc \
+ ../shared/shared.qrc
target.path = $$[QT_INSTALL_EXAMPLES]/quick/shapes
INSTALLS += target