Fix compatibility issue with Qt 5.2.
--HG-- branch : develop
This commit is contained in:
parent
d15e507aeb
commit
cc66a2ccbb
|
@ -25,7 +25,13 @@
|
||||||
#include <QKeyEvent>
|
#include <QKeyEvent>
|
||||||
#include <QLayout>
|
#include <QLayout>
|
||||||
#include <QLayoutItem>
|
#include <QLayoutItem>
|
||||||
#include <QMargins>
|
|
||||||
|
#if QT_VERSION < QT_VERSION_CHECK(5, 3, 0)
|
||||||
|
# include "../vmisc/backport/qmarginsf.h"
|
||||||
|
#else
|
||||||
|
# include <QMargins>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <QStyleOptionViewItem>
|
#include <QStyleOptionViewItem>
|
||||||
#include <QVariant>
|
#include <QVariant>
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user