summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@digia.com>2012-11-21 16:08:12 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-21 16:20:42 +0100
commit89c39769e3102d6c3a2231787155a490894b8ff1 (patch)
treebb1d5400533006f0b06e720c953cb7db64581f5e /examples
parent4c770694381d3ba67d1932b437b163fd66347ad2 (diff)
downloadqtxmlpatterns-89c39769e3102d6c3a2231787155a490894b8ff1.tar.gz
Fix building of installed examples.
- Install xmlpatterns.pro and its shared folder - Add missing resources. Task-number: QTBUG-27977 Change-Id: Ib7db1d23595cd52bd32d68a9962a7d49dfe7f02d Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/xmlpatterns/filetree/filetree.pro2
-rw-r--r--examples/xmlpatterns/xmlpatterns.pro6
2 files changed, 7 insertions, 1 deletions
diff --git a/examples/xmlpatterns/filetree/filetree.pro b/examples/xmlpatterns/filetree/filetree.pro
index bae24ec..43ffcb9 100644
--- a/examples/xmlpatterns/filetree/filetree.pro
+++ b/examples/xmlpatterns/filetree/filetree.pro
@@ -7,7 +7,7 @@ INCLUDEPATH += ../shared/
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtxmlpatterns/xmlpatterns/filetree
-sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS *.pro *.xq *.html
+sources.files = $$SOURCES $$HEADERS $$RESOURCES forms queries *.pro *.xq *.html
sources.path = $$[QT_INSTALL_EXAMPLES]/qtxmlpatterns/xmlpatterns/filetree
INSTALLS += target sources
diff --git a/examples/xmlpatterns/xmlpatterns.pro b/examples/xmlpatterns/xmlpatterns.pro
index 756c4f1..ea9c719 100644
--- a/examples/xmlpatterns/xmlpatterns.pro
+++ b/examples/xmlpatterns/xmlpatterns.pro
@@ -1,3 +1,9 @@
TEMPLATE = subdirs
SUBDIRS += xquery
!contains(QT_CONFIG, no-widgets): SUBDIRS += filetree trafficinfo schema recipes
+
+# install
+target.path = $$[QT_INSTALL_EXAMPLES]/qtxmlpatterns/xmlpatterns
+sources.files = xmlpatterns.pro shared
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtxmlpatterns/xmlpatterns
+INSTALLS += target sources