Fix build on Ubuntu Trusty.
To define qIsInf and qIsNaN in older versions of Qt we must include qnumeric.h directly. It will become part of QtGlobal later.
This commit is contained in:
parent
8ecd323f43
commit
b179fcf0c5
|
@ -33,6 +33,7 @@
|
||||||
#include <QPolygonF>
|
#include <QPolygonF>
|
||||||
#include <QTransform>
|
#include <QTransform>
|
||||||
#include <QtGlobal>
|
#include <QtGlobal>
|
||||||
|
#include <QtCore/qnumeric.h>
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
VPlaceLabelItem::VPlaceLabelItem()
|
VPlaceLabelItem::VPlaceLabelItem()
|
||||||
|
|
|
@ -37,6 +37,7 @@
|
||||||
|
|
||||||
#include <QPainterPath>
|
#include <QPainterPath>
|
||||||
#include <QtGlobal>
|
#include <QtGlobal>
|
||||||
|
#include <QtCore/qnumeric.h>
|
||||||
|
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user