diff options
| author | Matt Corallo <[email protected]> | 2011-10-07 10:46:56 -0400 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2011-10-25 11:51:34 -0400 |
| commit | 5f2e76b8c777785a80f171d825cfddb213320f9a (patch) | |
| tree | 43e5f28b893d55e8d6fcb3b1ec932eaa1c9664b2 /src/init.cpp | |
| parent | Add BOOST_THREAD_USE_LIB define. (diff) | |
| download | discoin-5f2e76b8c777785a80f171d825cfddb213320f9a.tar.xz discoin-5f2e76b8c777785a80f171d825cfddb213320f9a.zip | |
Optionally include additional QT plugins when required to build.
Diffstat (limited to 'src/init.cpp')
| -rw-r--r-- | src/init.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp index 28be7ef7c..d6e153285 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -12,6 +12,16 @@ #include <boost/filesystem/fstream.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) +#endif + using namespace std; using namespace boost; |