summaryrefslogtreecommitdiffstats
path: root/examples/webengine/quicknanobrowser/quicknanobrowser.pro
diff options
context:
space:
mode:
authorJocelyn Turcotte <jocelyn.turcotte@digia.com>2014-03-10 16:37:18 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-19 11:14:11 +0100
commit482a89fb431da3430bdfd4a1f9a93d66b8254163 (patch)
tree2c0539f2be47a27f63888103c8a593276cd42ac0 /examples/webengine/quicknanobrowser/quicknanobrowser.pro
parentf8d1105adde03a52806e0f19cc652f2dca6bb78f (diff)
Rename example directories to match the source install destination
To match other modules example directory structures we should deploy our examples in a directory matching the module name, webengine and webenginewidgets in our case. qmake uses the relative directory of each example up to the upper "examples" directory to decide where they will be deployed when running the sources install target. Change-Id: I59ce7ff8a30f98fad20064c7eecf72b784f1d275 Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com>
Diffstat (limited to 'examples/webengine/quicknanobrowser/quicknanobrowser.pro')
-rw-r--r--examples/webengine/quicknanobrowser/quicknanobrowser.pro24
1 files changed, 24 insertions, 0 deletions
diff --git a/examples/webengine/quicknanobrowser/quicknanobrowser.pro b/examples/webengine/quicknanobrowser/quicknanobrowser.pro
new file mode 100644
index 000000000..0ea2e60e2
--- /dev/null
+++ b/examples/webengine/quicknanobrowser/quicknanobrowser.pro
@@ -0,0 +1,24 @@
+TEMPLATE = app
+TARGET = quicknanobrowser
+
+macx: CONFIG -= app_bundle
+
+HEADERS = quickwindow.h \
+ util.h
+SOURCES = quickwindow.cpp \
+ main.cpp
+
+OTHER_FILES += ContextMenuExtras.qml \
+ quickwindow.qml
+
+RESOURCES += resources.qrc
+
+QT += qml quick
+QT_PRIVATE += quick-private gui-private core-private
+
+qtHaveModule(widgets) {
+ QT += widgets # QApplication is required to get native styling with QtQuickControls
+}
+
+target.path = $$[QT_INSTALL_EXAMPLES]/webengine/quicknanobrowser
+INSTALLS += target