summaryrefslogtreecommitdiffstats
path: root/examples/xmlpatterns/xquery
diff options
context:
space:
mode:
Diffstat (limited to 'examples/xmlpatterns/xquery')
-rw-r--r--examples/xmlpatterns/xquery/globalVariables/globalVariables.pro11
-rw-r--r--examples/xmlpatterns/xquery/xquery.pro10
2 files changed, 2 insertions, 19 deletions
diff --git a/examples/xmlpatterns/xquery/globalVariables/globalVariables.pro b/examples/xmlpatterns/xquery/globalVariables/globalVariables.pro
deleted file mode 100644
index c3128b0f..00000000
--- a/examples/xmlpatterns/xquery/globalVariables/globalVariables.pro
+++ /dev/null
@@ -1,11 +0,0 @@
-# We don't have any C++ files to build, so in order to trick qmake which
-# doesn't understand that, we use the subdirs template, but without specifying
-# any subdirs.
-TEMPLATE = subdirs
-
-target.path = $$[QT_INSTALL_EXAMPLES]/qtxmlpatterns/xmlpatterns/xquery/globalVariables
-sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS *.cpp *.pro *.xq *.html globals.gccxml
-sources.path = $$[QT_INSTALL_EXAMPLES]/qtxmlpatterns/xmlpatterns/xquery/globalVariables
-INSTALLS += target sources
-
-maemo5: CONFIG += qt_example
diff --git a/examples/xmlpatterns/xquery/xquery.pro b/examples/xmlpatterns/xquery/xquery.pro
index 0084f1dd..ee1c9c89 100644
--- a/examples/xmlpatterns/xquery/xquery.pro
+++ b/examples/xmlpatterns/xquery/xquery.pro
@@ -1,10 +1,4 @@
-TEMPLATE = subdirs
-SUBDIRS += globalVariables
-
-# install
-target.path = $$[QT_INSTALL_EXAMPLES]/qtxmlpatterns/xmlpatterns/xquery
-sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS xquery.pro
-sources.path = $$[QT_INSTALL_EXAMPLES]/qtxmlpatterns/xmlpatterns/xquery
-INSTALLS += target sources
+TEMPLATE = aux
+EXAMPLE_FILES = globalVariables
maemo5: CONFIG += qt_example