Fix compatibility with old compilers.
This commit is contained in:
parent
8d600d8ee2
commit
d704cf9322
|
@ -44,7 +44,6 @@
|
||||||
#include "dialogs/dialogknownmeasurementscsvcolumns.h"
|
#include "dialogs/dialogknownmeasurementscsvcolumns.h"
|
||||||
#include "knownmeasurements/vknownmeasurements.h"
|
#include "knownmeasurements/vknownmeasurements.h"
|
||||||
#include "mapplication.h" // Should be last because of definning qApp
|
#include "mapplication.h" // Should be last because of definning qApp
|
||||||
#include "quuid.h"
|
|
||||||
#include "ui_tkmmainwindow.h"
|
#include "ui_tkmmainwindow.h"
|
||||||
|
|
||||||
#include <QAbstractButton>
|
#include <QAbstractButton>
|
||||||
|
@ -61,6 +60,7 @@
|
||||||
#include <QPlainTextEdit>
|
#include <QPlainTextEdit>
|
||||||
#include <QStringListModel>
|
#include <QStringListModel>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
|
#include <QUuid>
|
||||||
|
|
||||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
|
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
|
||||||
#include "../vmisc/vtextcodec.h"
|
#include "../vmisc/vtextcodec.h"
|
||||||
|
@ -68,6 +68,10 @@
|
||||||
#include <QTextCodec>
|
#include <QTextCodec>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if QT_VERSION < QT_VERSION_CHECK(5, 7, 0)
|
||||||
|
#include "../vmisc/backport/qoverload.h"
|
||||||
|
#endif // QT_VERSION < QT_VERSION_CHECK(5, 7, 0)
|
||||||
|
|
||||||
#if (defined(Q_CC_GNU) && Q_CC_GNU < 409) && !defined(Q_CC_CLANG)
|
#if (defined(Q_CC_GNU) && Q_CC_GNU < 409) && !defined(Q_CC_CLANG)
|
||||||
// DO NOT WORK WITH GCC 4.8
|
// DO NOT WORK WITH GCC 4.8
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user