iOS: Allow building QML based test cases

In order to be able to build and test a testcase on an iOS device it
needs to be a bundle. So the app_bundle config should only be removed if
the testcase_no_bundle is set. This is already done by testcase.prf.

Task-number: QTBUG-45211
Change-Id: I4f16ea832ccff2a5db5fed0050fa0344b4ac9ad6
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
This commit is contained in:
Andy Shaw 2018-03-22 00:58:10 +01:00
parent 3520329937
commit 8caf9e6b18

View File

@ -1,7 +1,6 @@
!isEmpty(SOURCES) {
QT += qml qmltest
load(testcase)
CONFIG -= app_bundle
DEFINES += QUICK_TEST_SOURCE_DIR=\"\\\"$$_PRO_FILE_PWD_\\\"\"
} else {
# Allow a project to run tests without a CPP stub