summaryrefslogtreecommitdiffstats
path: root/tests/auto/qhelpindexmodel
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2010-02-16 04:10:51 (GMT)
committerRohan McGovern <rohan.mcgovern@nokia.com>2010-02-17 06:12:06 (GMT)
commitedb3480202b762860913e5a7b9f5eafe8bda5eff (patch)
tree60749d5f9352a253616655e98e409c8ee3a15c54 /tests/auto/qhelpindexmodel
parentb4b2970a75655ef28b3564c031768c767d6fd071 (diff)
downloadQt-edb3480202b762860913e5a7b9f5eafe8bda5eff.zip
Qt-edb3480202b762860913e5a7b9f5eafe8bda5eff.tar.gz
Qt-edb3480202b762860913e5a7b9f5eafe8bda5eff.tar.bz2
Fixed compile of QtHelp tests with vcproj generator.
These tests were doing: SUBDIRS+=../../../tools/assistant/lib ... to ensure that part of Qt was built before building the test. That's a cute hack, but it's a bad idea: it breaks the vcproj generator to process the same subdir multiple times, and it also gives the very unintuitive result that doing `make clean' under tests/auto cleans out a part of the Qt build!
Diffstat (limited to 'tests/auto/qhelpindexmodel')
-rw-r--r--tests/auto/qhelpindexmodel/qhelpindexmodel.pro15
-rw-r--r--tests/auto/qhelpindexmodel/tst_qhelpindexmodel.pro9
2 files changed, 7 insertions, 17 deletions
diff --git a/tests/auto/qhelpindexmodel/qhelpindexmodel.pro b/tests/auto/qhelpindexmodel/qhelpindexmodel.pro
index 1325e09..927c2e1 100644
--- a/tests/auto/qhelpindexmodel/qhelpindexmodel.pro
+++ b/tests/auto/qhelpindexmodel/qhelpindexmodel.pro
@@ -1,10 +1,9 @@
-TEMPLATE = subdirs
-CONFIG += ordered
+load(qttest_p4)
-contains(QT_BUILD_PARTS, tools): {
- SUBDIRS += ../../../tools/assistant/lib/fulltextsearch \
- ../../../tools/assistant/lib
-}
-
-SUBDIRS += tst_qhelpindexmodel.pro
+SOURCES += tst_qhelpindexmodel.cpp
+CONFIG += help
+QT += sql
+DEFINES += SRCDIR=\\\"$$PWD\\\"
+DEFINES += QT_USE_USING_NAMESPACE
+!contains(QT_BUILD_PARTS, tools): DEFINES += QT_NO_BUILD_TOOLS
diff --git a/tests/auto/qhelpindexmodel/tst_qhelpindexmodel.pro b/tests/auto/qhelpindexmodel/tst_qhelpindexmodel.pro
deleted file mode 100644
index 927c2e1..0000000
--- a/tests/auto/qhelpindexmodel/tst_qhelpindexmodel.pro
+++ /dev/null
@@ -1,9 +0,0 @@
-load(qttest_p4)
-
-SOURCES += tst_qhelpindexmodel.cpp
-CONFIG += help
-QT += sql
-
-DEFINES += SRCDIR=\\\"$$PWD\\\"
-DEFINES += QT_USE_USING_NAMESPACE
-!contains(QT_BUILD_PARTS, tools): DEFINES += QT_NO_BUILD_TOOLS