summaryrefslogtreecommitdiffstats
path: root/examples/demos/photoviewer/photoviewer.pro
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2018-08-23 12:36:28 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2018-08-23 11:27:57 +0000
commit1c9da7439d1d4664a91c0dd43162b47a2203b02c (patch)
treedb7d264165697db4f58481a39b4fa82d5b5ebcc1 /examples/demos/photoviewer/photoviewer.pro
parent25b032a522a993808f9fc17bc767eb54ae3813a2 (diff)
Port photoviewer example to use a ES module for the script code
... instead of the proprietary .pragma library syntax. Change-Id: Ic5add04d6446a3c221eb3be6ec5a2240f0f80691 Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'examples/demos/photoviewer/photoviewer.pro')
-rw-r--r--examples/demos/photoviewer/photoviewer.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/demos/photoviewer/photoviewer.pro b/examples/demos/photoviewer/photoviewer.pro
index aa9bb82d5..234318057 100644
--- a/examples/demos/photoviewer/photoviewer.pro
+++ b/examples/demos/photoviewer/photoviewer.pro
@@ -28,7 +28,7 @@ RESOURCES += main.qml \
PhotoViewerCore/images/box-shadow.png \
PhotoViewerCore/images/busy.png \
PhotoViewerCore/images/cardboard.png \
- PhotoViewerCore/script/script.js \
+ PhotoViewerCore/script/script.mjs \
target.path = $$[QT_INSTALL_EXAMPLES]/demos/photoviewer