diff options
author | Jake Petroules <jake.petroules@qt.io> | 2017-09-28 11:06:02 -0700 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2017-09-29 13:37:02 +0000 |
commit | 7bcf013b4ec51722e68fec8ec8bb430cd2230a45 (patch) | |
tree | 1085d858beaf10d59d9cf3641c34c67fc0528892 | |
parent | ad18484063a41328d0e72c75cda151128977e0d8 (diff) | |
download | qttools-7bcf013b4ec51722e68fec8ec8bb430cd2230a45.tar.gz |
Fix build with -no-feature-library
Change-Id: I733ea7dbcb8850766079c014e0d74bee533b5f19
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
-rw-r--r-- | src/assistant/assistant/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/assistant/assistant/main.cpp b/src/assistant/assistant/main.cpp index 3011bd4c5..1782aee5a 100644 --- a/src/assistant/assistant/main.cpp +++ b/src/assistant/assistant/main.cpp @@ -272,7 +272,9 @@ int main(int argc, char *argv[]) #endif TRACE_OBJ QScopedPointer<QCoreApplication> a(createApplication(argc, argv)); +#if QT_CONFIG(library) a->addLibraryPath(a->applicationDirPath() + QLatin1String("/plugins")); +#endif setupTranslations(); #if defined(BROWSER_QTWEBKIT) |