summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/qmake/testdata/subdirs/simple_app
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/tools/qmake/testdata/subdirs/simple_app')
-rw-r--r--tests/auto/tools/qmake/testdata/subdirs/simple_app/main.cpp3
-rw-r--r--tests/auto/tools/qmake/testdata/subdirs/simple_app/simple_app.pro7
2 files changed, 7 insertions, 3 deletions
diff --git a/tests/auto/tools/qmake/testdata/subdirs/simple_app/main.cpp b/tests/auto/tools/qmake/testdata/subdirs/simple_app/main.cpp
index 332dde7e2f..3bc36acdb0 100644
--- a/tests/auto/tools/qmake/testdata/subdirs/simple_app/main.cpp
+++ b/tests/auto/tools/qmake/testdata/subdirs/simple_app/main.cpp
@@ -31,7 +31,7 @@
**
****************************************************************************/
-
+#include <simple.h>
#include "test_file.h"
#include <qguiapplication.h>
@@ -39,6 +39,7 @@
int main( int argc, char **argv )
{
QGuiApplication a( argc, argv );
+ Simple s;
SomeObject sc;
return a.exec();
}
diff --git a/tests/auto/tools/qmake/testdata/subdirs/simple_app/simple_app.pro b/tests/auto/tools/qmake/testdata/subdirs/simple_app/simple_app.pro
index d63f1d4362..e882c33b3d 100644
--- a/tests/auto/tools/qmake/testdata/subdirs/simple_app/simple_app.pro
+++ b/tests/auto/tools/qmake/testdata/subdirs/simple_app/simple_app.pro
@@ -2,5 +2,8 @@ TEMPLATE = app
HEADERS = test_file.h
SOURCES = test_file.cpp \
main.cpp
-TARGET = simple_app
-DESTDIR = ./
+TARGET = "simple app"
+DESTDIR = "dest dir"
+
+INCLUDEPATH += ../simple_dll
+LIBS += -L"../simple_dll/dest dir" -l"simple dll"