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:
Roman Telezhynskyi 2020-05-08 21:24:51 +03:00
parent 8ecd323f43
commit b179fcf0c5
2 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,7 @@
#include <QPolygonF>
#include <QTransform>
#include <QtGlobal>
#include <QtCore/qnumeric.h>
//---------------------------------------------------------------------------------------------------------------------
VPlaceLabelItem::VPlaceLabelItem()

View File

@ -37,6 +37,7 @@
#include <QPainterPath>
#include <QtGlobal>
#include <QtCore/qnumeric.h>
namespace
{