aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/tst_qtgraphicaleffects.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/tst_qtgraphicaleffects.cpp b/tests/auto/tst_qtgraphicaleffects.cpp
index a7b7020..7f17ee7 100644
--- a/tests/auto/tst_qtgraphicaleffects.cpp
+++ b/tests/auto/tst_qtgraphicaleffects.cpp
@@ -102,7 +102,7 @@ void tst_qtgraphicaleffects::initTestCase()
QString import;
// Allow the test to work whether or not the module is yet installed.
- if (QFile::exists(QLibraryInfo::location(QLibraryInfo::ImportsPath) + "/QtGraphicalEffects")) {
+ if (QFile::exists(QLibraryInfo::location(QLibraryInfo::Qml2ImportsPath) + "/QtGraphicalEffects")) {
// Module is installed - import it the nice way
import = "QtGraphicalEffects";
}