move QT_PLUGINS stuff to qt main file, where it belongs
This commit is contained in:
parent
fc8c44e3d5
commit
55f69a4700
2 changed files with 11 additions and 11 deletions
11
src/init.cpp
11
src/init.cpp
|
@ -13,17 +13,6 @@
|
||||||
#include <boost/filesystem/convenience.hpp>
|
#include <boost/filesystem/convenience.hpp>
|
||||||
#include <boost/interprocess/sync/file_lock.hpp>
|
#include <boost/interprocess/sync/file_lock.hpp>
|
||||||
|
|
||||||
#if defined(BITCOIN_NEED_QT_PLUGINS) && !defined(_BITCOIN_QT_PLUGINS_INCLUDED)
|
|
||||||
#define _BITCOIN_QT_PLUGINS_INCLUDED
|
|
||||||
#define __INSURE__
|
|
||||||
#include <QtPlugin>
|
|
||||||
Q_IMPORT_PLUGIN(qcncodecs)
|
|
||||||
Q_IMPORT_PLUGIN(qjpcodecs)
|
|
||||||
Q_IMPORT_PLUGIN(qtwcodecs)
|
|
||||||
Q_IMPORT_PLUGIN(qkrcodecs)
|
|
||||||
Q_IMPORT_PLUGIN(qtaccessiblewidgets)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
#define strncasecmp strnicmp
|
#define strncasecmp strnicmp
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -21,6 +21,17 @@
|
||||||
|
|
||||||
#include <boost/interprocess/ipc/message_queue.hpp>
|
#include <boost/interprocess/ipc/message_queue.hpp>
|
||||||
|
|
||||||
|
#if defined(BITCOIN_NEED_QT_PLUGINS) && !defined(_BITCOIN_QT_PLUGINS_INCLUDED)
|
||||||
|
#define _BITCOIN_QT_PLUGINS_INCLUDED
|
||||||
|
#define __INSURE__
|
||||||
|
#include <QtPlugin>
|
||||||
|
Q_IMPORT_PLUGIN(qcncodecs)
|
||||||
|
Q_IMPORT_PLUGIN(qjpcodecs)
|
||||||
|
Q_IMPORT_PLUGIN(qtwcodecs)
|
||||||
|
Q_IMPORT_PLUGIN(qkrcodecs)
|
||||||
|
Q_IMPORT_PLUGIN(qtaccessiblewidgets)
|
||||||
|
#endif
|
||||||
|
|
||||||
// Need a global reference for the notifications to find the GUI
|
// Need a global reference for the notifications to find the GUI
|
||||||
BitcoinGUI *guiref;
|
BitcoinGUI *guiref;
|
||||||
QSplashScreen *splashref;
|
QSplashScreen *splashref;
|
||||||
|
|
Loading…
Add table
Reference in a new issue