summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-02-26 03:23:08 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-02-26 03:24:40 (GMT)
commit8a3eef027ffaeb69eeee89b7868c17c1f246edc8 (patch)
tree3473fd95020ca92aa3ea9c69719c8dfe863dfd69
parenta0278d4330e4aac8413055b5a34feb54ab74404d (diff)
downloadQt-8a3eef027ffaeb69eeee89b7868c17c1f246edc8.zip
Qt-8a3eef027ffaeb69eeee89b7868c17c1f246edc8.tar.gz
Qt-8a3eef027ffaeb69eeee89b7868c17c1f246edc8.tar.bz2
Work around requires() bug in qmake
when running `qmake -r -tp vc', if any project is encountered which is disabled with requires(), the generated .sln file ends up missing many unrelated projects.
-rw-r--r--tests/auto/auto.pro5
-rw-r--r--tests/auto/qdeclarativeaudio/qdeclarativeaudio.pro2
-rw-r--r--tests/auto/qdeclarativevideo/qdeclarativevideo.pro2
3 files changed, 3 insertions, 6 deletions
diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro
index e625c69..95c168a 100644
--- a/tests/auto/auto.pro
+++ b/tests/auto/auto.pro
@@ -313,8 +313,6 @@ SUBDIRS += \
qmediaserviceprovider \
qmediatimerange \
qvideowidget \
- qdeclarativeaudio \
- qdeclarativevideo \
qspinbox \
qsplitter \
qsql \
@@ -485,6 +483,9 @@ contains(QT_CONFIG,opengl):SUBDIRS += qgl qglbuffer qgl_threads
contains(QT_CONFIG,qt3support):!wince*:SUBDIRS += $$Q3SUBDIRS
+contains(QT_CONFIG,multimedia):contains(QT_CONFIG,declarative):SUBDIRS += qdeclarativeaudio \
+ qdeclarativevideo
+
contains(QT_CONFIG, OdfWriter):SUBDIRS += qzip qtextodfwriter
mac: {
SUBDIRS += macgui \
diff --git a/tests/auto/qdeclarativeaudio/qdeclarativeaudio.pro b/tests/auto/qdeclarativeaudio/qdeclarativeaudio.pro
index f3262ee..13bf606 100644
--- a/tests/auto/qdeclarativeaudio/qdeclarativeaudio.pro
+++ b/tests/auto/qdeclarativeaudio/qdeclarativeaudio.pro
@@ -2,5 +2,3 @@ load(qttest_p4)
SOURCES += tst_qdeclarativeaudio.cpp
QT += multimedia declarative
-requires(contains(QT_CONFIG, multimedia))
-requires(contains(QT_CONFIG, declarative))
diff --git a/tests/auto/qdeclarativevideo/qdeclarativevideo.pro b/tests/auto/qdeclarativevideo/qdeclarativevideo.pro
index 0cd7879..d946bb0 100644
--- a/tests/auto/qdeclarativevideo/qdeclarativevideo.pro
+++ b/tests/auto/qdeclarativevideo/qdeclarativevideo.pro
@@ -2,5 +2,3 @@ load(qttest_p4)
SOURCES += tst_qdeclarativevideo.cpp
QT += multimedia declarative
-requires(contains(QT_CONFIG, multimedia))
-requires(contains(QT_CONFIG, declarative))