Commit f2538849 authored by Shawn Rutledge's avatar Shawn Rutledge
Browse files

PDF quick plugin: fix warning about unused engine arg on static builds


The build for iOS is static.

Change-Id: I3e6c13c920861a2a6bf0079e53e76322bb93935f
Reviewed-by: default avatarShawn Rutledge <shawn.rutledge@qt.io>
Showing with 3 additions and 1 deletion
......@@ -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
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment