diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pdf/quick/plugin.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pdf/quick/plugin.cpp b/src/pdf/quick/plugin.cpp index bb68a817e..670fe0bf9 100644 --- a/src/pdf/quick/plugin.cpp +++ b/src/pdf/quick/plugin.cpp @@ -71,7 +71,9 @@ public: void initializeEngine(QQmlEngine *engine, const char *uri) override { Q_UNUSED(uri); -#ifndef QT_STATIC +#ifdef QT_STATIC + Q_UNUSED(engine); +#else engine->addImportPath(QStringLiteral("qrc:/")); #endif } |