diff options
author | Oliver Eftevaag <oliver.eftevaag@qt.io> | 2021-09-01 15:40:28 +0200 |
---|---|---|
committer | Oliver Eftevaag <oliver.eftevaag@qt.io> | 2021-09-03 10:39:22 +0200 |
commit | b0e567e7e3927945c904e9a613af4b9064d70bc1 (patch) | |
tree | dd705bae2d74a62e0c1c309b2ade233e8d145989 /examples/quick/localstorage/localstorage.pro | |
parent | 5e6777be1d793740c184b4f49536b12fd83735b1 (diff) |
Fix localstorage example to use a QML module
Removing the directory 'localstorage' that is inside the top-level
'localstorage' directory, and moving the content one level up in the
file hierarchy.
Pick-to: 6.2
Change-Id: I97cf1ff92be9860d9a92bce66c88af927618e2b0
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'examples/quick/localstorage/localstorage.pro')
-rw-r--r-- | examples/quick/localstorage/localstorage.pro | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/examples/quick/localstorage/localstorage.pro b/examples/quick/localstorage/localstorage.pro index dd2eb80250..9709733c13 100644 --- a/examples/quick/localstorage/localstorage.pro +++ b/examples/quick/localstorage/localstorage.pro @@ -1,2 +1,9 @@ -TEMPLATE = subdirs -SUBDIRS += localstorage +TEMPLATE = app + +QT += quick qml +SOURCES += main.cpp +RESOURCES += \ + localstorage.qrc + +target.path = $$[QT_INSTALL_EXAMPLES]/quick/localstorage +INSTALLS += target |