From 2163f05942a9e13264fcfc52666c451e9c77f5f0 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Wed, 14 Dec 2011 09:27:33 +0100 Subject: Application-test: Fix location of sub-executables. Use QFINDTESTDATA to set the working directory and change the profiles accordingly (as in the qprocess-test). Change-Id: I332038728c64214f73ced448e1466ad96c11b3b3 Reviewed-by: Rohan McGovern --- tests/auto/widgets/kernel/qapplication/modal/modal.pro | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests/auto/widgets/kernel/qapplication/modal/modal.pro') diff --git a/tests/auto/widgets/kernel/qapplication/modal/modal.pro b/tests/auto/widgets/kernel/qapplication/modal/modal.pro index 9ed69769bb..b13165bcda 100644 --- a/tests/auto/widgets/kernel/qapplication/modal/modal.pro +++ b/tests/auto/widgets/kernel/qapplication/modal/modal.pro @@ -1,9 +1,13 @@ TEMPLATE = app QT += widgets -TARGET = DEPENDPATH += . INCLUDEPATH += . SOURCES += main.cpp \ base.cpp DESTDIR = ./ +CONFIG -= app_bundle HEADERS += base.h + +# This app is testdata for tst_qapplication +target.path = $$[QT_INSTALL_TESTS]/tst_qapplication/$$TARGET +INSTALLS += target -- cgit v1.2.3