summaryrefslogtreecommitdiff
path: root/tests/shared/qt_quick_controls_quicktest.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shared/qt_quick_controls_quicktest.h')
-rw-r--r--tests/shared/qt_quick_controls_quicktest.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/shared/qt_quick_controls_quicktest.h b/tests/shared/qt_quick_controls_quicktest.h
index bf6c6559..b12cfc76 100644
--- a/tests/shared/qt_quick_controls_quicktest.h
+++ b/tests/shared/qt_quick_controls_quicktest.h
@@ -43,6 +43,7 @@ QT_BEGIN_NAMESPACE
#define QT_QUICK_CONTROLS_TEST_MAIN(name) \
int main(int argc, char **argv) \
{ \
+ QTEST_SET_MAIN_SOURCE_PATH \
QtQuickControlsTestApp* app = 0; \
if (!QCoreApplication::instance()) \
app = new QtQuickControlsTestApp(argc, argv); \