aboutsummaryrefslogtreecommitdiff
path: root/src/main/main.cpp
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-12-09 22:05:22 -0600
committerluigi1111 <luigi1111w@gmail.com>2019-12-09 22:05:22 -0600
commit46227bdad08e191d54e49813ee2f4c0e3c226f95 (patch)
tree799bdd7ef6e06b43555df3c23f870a84f73a6f13 /src/main/main.cpp
parent1cee81b99604b1a7fa6683f18141709e3a1056ba (diff)
parent2833fdb90790dd0c25c9bb176fa373ff99ebfdff (diff)
downloadmonzero-gui-46227bdad08e191d54e49813ee2f4c0e3c226f95.tar.gz
monzero-gui-46227bdad08e191d54e49813ee2f4c0e3c226f95.tar.xz
monzero-gui-46227bdad08e191d54e49813ee2f4c0e3c226f95.zip
Merge pull request #2531
2833fdb cmake: use appropriate compiler flags (xiphon) 17ea26e build: fix monero-wallet-gui.pro source paths, rm qml.qrc duplicate (xiphon)
Diffstat (limited to 'src/main/main.cpp')
-rw-r--r--src/main/main.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/main.cpp b/src/main/main.cpp
index 3a9eb014..6b0a8744 100644
--- a/src/main/main.cpp
+++ b/src/main/main.cpp
@@ -78,6 +78,8 @@
#include "QR-Code-scanner/QrCodeScanner.h"
#endif
+#ifdef MONERO_GUI_STATIC
+
#include <QtPlugin>
#if defined(Q_OS_OSX)
Q_IMPORT_PLUGIN(QCocoaIntegrationPlugin);
@@ -90,7 +92,6 @@ Q_IMPORT_PLUGIN(QSvgIconPlugin)
Q_IMPORT_PLUGIN(QGifPlugin)
Q_IMPORT_PLUGIN(QICNSPlugin)
Q_IMPORT_PLUGIN(QICOPlugin)
-Q_IMPORT_PLUGIN(QJp2Plugin)
Q_IMPORT_PLUGIN(QJpegPlugin)
Q_IMPORT_PLUGIN(QMngPlugin)
Q_IMPORT_PLUGIN(QSvgPlugin)
@@ -126,6 +127,8 @@ Q_IMPORT_PLUGIN(QtQuickTemplates2Plugin)
Q_IMPORT_PLUGIN(QmlXmlListModelPlugin)
Q_IMPORT_PLUGIN(QMultimediaDeclarativeModule)
+#endif
+
bool isIOS = false;
bool isAndroid = false;
bool isWindows = false;