From b179fcf0c50e41162f4fab05cf50fdd0c32655af Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Fri, 8 May 2020 21:24:51 +0300 Subject: [PATCH] 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. --- src/libs/vgeometry/vplacelabelitem.cpp | 1 + src/libs/vpatterndb/vpiecepath.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/src/libs/vgeometry/vplacelabelitem.cpp b/src/libs/vgeometry/vplacelabelitem.cpp index 57bc9c048..1fb6af914 100644 --- a/src/libs/vgeometry/vplacelabelitem.cpp +++ b/src/libs/vgeometry/vplacelabelitem.cpp @@ -33,6 +33,7 @@ #include #include #include +#include //--------------------------------------------------------------------------------------------------------------------- VPlaceLabelItem::VPlaceLabelItem() diff --git a/src/libs/vpatterndb/vpiecepath.cpp b/src/libs/vpatterndb/vpiecepath.cpp index 5498bbfaa..3d0e39b72 100644 --- a/src/libs/vpatterndb/vpiecepath.cpp +++ b/src/libs/vpatterndb/vpiecepath.cpp @@ -37,6 +37,7 @@ #include #include +#include namespace {