Fixed compile (for certain configurations)
authorRohan McGovern <rohan.mcgovern@nokia.com>
Tue, 19 Jul 2011 06:06:52 +0000 (16:06 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 20 Jul 2011 01:27:00 +0000 (03:27 +0200)
This project tried to use libQtTest, but omitted `QT+=testlib'.

In most configurations, this didn't matter, because:

  - for includes, QtQuickTest has copied the content of some QtTest
    headers, instead of #including them, so the bad INCLUDEPATH went
    unnoticed

  - for libraries, libQtTest would be pulled in implicitly either via
    .prl files or via the system's linker, so the bad LIBS went
    unnoticed

Change-Id: Ie3286718789758bfb80f6832aac7c08bdd85212a
Reviewed-on: http://codereview.qt.nokia.com/1812
Reviewed-by: Jonni Rainisto <jonni.rainisto@nokia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
src/imports/testlib/testlib.pro

index 92c5a09..9980a75 100644 (file)
@@ -21,7 +21,7 @@ symbian {
 
 }
 
-QT += declarative script qmltest qmltest-private declarative-private script-private core-private
+QT += declarative script qmltest qmltest-private declarative-private script-private core-private testlib
 
 SOURCES += main.cpp
 HEADERS +=