aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/window/window.pro
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@digia.com>2013-03-08 16:44:52 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-05-28 10:08:41 +0200
commit1ef4e4b156be8653af64dbccb47abcccc234246a (patch)
tree7cdb3b9ac2ba11b2c723233a9be5f21ef247611d /examples/quick/window/window.pro
parent63f83fbd095415145ad124c7215f07a4c3c6038f (diff)
window and Screen example: new properties; splash screen
Demonstrates the new properties, how to make a splash screen, and how to make a standalone app with an icon. Combined the Screen info into this example too. Change-Id: I5b731539b39c55327f4e5b93860a880a35835896 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
Diffstat (limited to 'examples/quick/window/window.pro')
-rw-r--r--examples/quick/window/window.pro18
1 files changed, 14 insertions, 4 deletions
diff --git a/examples/quick/window/window.pro b/examples/quick/window/window.pro
index 93e43fcd65..be35b24325 100644
--- a/examples/quick/window/window.pro
+++ b/examples/quick/window/window.pro
@@ -1,6 +1,16 @@
-TEMPLATE = subdirs
-SUBDIRS += \
- window
+TEMPLATE = app
+QT += quick qml
+SOURCES += main.cpp
+RESOURCES += \
+ window.qrc \
+ ../shared/shared.qrc
EXAMPLE_FILES = \
- screen
+ window.qml
+
+target.path = $$[QT_INSTALL_EXAMPLES]/quick/window
+INSTALLS += target
+
+ICON = resources/icon64.png
+macx: ICON = resources/icon.icns
+win32: RC_FILE = resources/window.rc