Fix compilation with Qt5.

This commit is contained in:
sledgehammer999
2014-05-01 22:53:29 +03:00
parent ba1f4a9b7f
commit ef3f7d18c9
4 changed files with 29 additions and 2 deletions

View File

@@ -36,8 +36,12 @@
#ifndef DISABLE_GUI
#if defined(QBT_STATIC_QT)
#include <QtPlugin>
#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
Q_IMPORT_PLUGIN(QICOPlugin)
#else
Q_IMPORT_PLUGIN(qico)
#endif
#endif
#include <QMessageBox>
#include <QStyleFactory>
#include <QStyle>