summaryrefslogtreecommitdiff
path: root/examples/quick/controls/tableview/tableview.pro
diff options
context:
space:
mode:
authorJens Bache-Wiig <jens.bache-wiig@digia.com>2013-05-13 11:19:04 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-05-13 13:16:47 +0200
commit89de921c2f6928a691f6aaa2165b5c1739f156cd (patch)
tree76e296d52eb48515bf96eb3e1f76733850bee829 /examples/quick/controls/tableview/tableview.pro
parent130f8d92aa330b8e34d77343072e7df651af2d9d (diff)
downloadqtquickcontrols-89de921c2f6928a691f6aaa2165b5c1739f156cd.tar.gz
qtquickcontrols-89de921c2f6928a691f6aaa2165b5c1739f156cd.tar.bz2
qtquickcontrols-89de921c2f6928a691f6aaa2165b5c1739f156cd.zip
Examples: Make example projects work with Qt Creator
It seems pure qml projects don't really work in our examples architecture at the moment. This change adds a simple main file and resource bundle to each of the example folders. Change-Id: I4758242e71a2cb053252cbb09bf5c4439415691d Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'examples/quick/controls/tableview/tableview.pro')
-rw-r--r--examples/quick/controls/tableview/tableview.pro16
1 files changed, 15 insertions, 1 deletions
diff --git a/examples/quick/controls/tableview/tableview.pro b/examples/quick/controls/tableview/tableview.pro
index 8b88e385..fa6f3453 100644
--- a/examples/quick/controls/tableview/tableview.pro
+++ b/examples/quick/controls/tableview/tableview.pro
@@ -1,4 +1,18 @@
-TEMPLATE = aux
+QT += qml quick
+TARGET = tableview
+qtHaveModule(widgets) {
+ QT += widgets
+}
+
+include(src/src.pri)
OTHER_FILES += \
main.qml
+
+RESOURCES += \
+ resources.qrc
+
+MOC_DIR = ./.moc
+OBJECTS_DIR = ./.obj
+UI_DIR = ./.ui
+RCC_DIR = ./.rcc