Move to top and include qt_windows.h.
--HG-- branch : develop
This commit is contained in:
parent
477040c0b2
commit
36e839ed5d
|
@ -29,21 +29,16 @@
|
||||||
#ifndef OPTIONS_H
|
#ifndef OPTIONS_H
|
||||||
#define OPTIONS_H
|
#define OPTIONS_H
|
||||||
|
|
||||||
|
#include <QtGlobal>
|
||||||
|
#ifdef Q_OS_WIN
|
||||||
|
# include <qt_windows.h>
|
||||||
|
#endif /*Q_OS_WIN*/
|
||||||
|
|
||||||
#include "../ifc/ifcdef.h"
|
#include "../ifc/ifcdef.h"
|
||||||
#include "../vgeometry/vgeometrydef.h"
|
#include "../vgeometry/vgeometrydef.h"
|
||||||
#include "../qmuparser/qmudef.h"
|
#include "../qmuparser/qmudef.h"
|
||||||
#include "../vmisc/def.h"
|
#include "../vmisc/def.h"
|
||||||
|
|
||||||
#ifdef Q_OS_WIN32
|
|
||||||
# if defined( Q_CC_MSVC ) // MSVC USED
|
|
||||||
# ifndef NOMINMAX
|
|
||||||
# define NOMINMAX // DISABLE min/max MACROS
|
|
||||||
# endif
|
|
||||||
# endif /*Q_CC_MSVC*/
|
|
||||||
# include <windows.h>
|
|
||||||
|
|
||||||
#endif /*Q_OS_WIN32*/
|
|
||||||
|
|
||||||
enum class Contour : char { OpenContour, CloseContour };
|
enum class Contour : char { OpenContour, CloseContour };
|
||||||
|
|
||||||
#endif // OPTIONS_H
|
#endif // OPTIONS_H
|
||||||
|
|
|
@ -29,9 +29,14 @@
|
||||||
#ifndef IFCDEF_H
|
#ifndef IFCDEF_H
|
||||||
#define IFCDEF_H
|
#define IFCDEF_H
|
||||||
|
|
||||||
|
#include <QtGlobal>
|
||||||
|
#ifdef Q_OS_WIN
|
||||||
|
extern Q_CORE_EXPORT int qt_ntfs_permission_lookup;
|
||||||
|
# include <qt_windows.h>
|
||||||
|
#endif /*Q_OS_WIN*/
|
||||||
|
|
||||||
#include <QString>
|
#include <QString>
|
||||||
#include <QStringList>
|
#include <QStringList>
|
||||||
#include <QtGlobal>
|
|
||||||
|
|
||||||
#include "../vmisc/typedef.h"
|
#include "../vmisc/typedef.h"
|
||||||
#include "../vmisc/def.h"
|
#include "../vmisc/def.h"
|
||||||
|
@ -40,11 +45,6 @@
|
||||||
extern const QString CustomMSign;
|
extern const QString CustomMSign;
|
||||||
extern const QString CustomIncrSign;
|
extern const QString CustomIncrSign;
|
||||||
|
|
||||||
#ifdef Q_OS_WIN32
|
|
||||||
extern Q_CORE_EXPORT int qt_ntfs_permission_lookup;
|
|
||||||
#include <windows.h>
|
|
||||||
#endif /*Q_OS_WIN32*/
|
|
||||||
|
|
||||||
// Detect whether the compiler supports C++11 noexcept exception specifications.
|
// Detect whether the compiler supports C++11 noexcept exception specifications.
|
||||||
# if defined(__clang__)
|
# if defined(__clang__)
|
||||||
# if __has_feature(cxx_noexcept)
|
# if __has_feature(cxx_noexcept)
|
||||||
|
|
|
@ -29,18 +29,19 @@
|
||||||
#ifndef DEF_H
|
#ifndef DEF_H
|
||||||
#define DEF_H
|
#define DEF_H
|
||||||
|
|
||||||
|
#include <QtGlobal>
|
||||||
|
#ifdef Q_OS_WIN
|
||||||
|
# include <qt_windows.h>
|
||||||
|
#endif /*Q_OS_WIN*/
|
||||||
|
|
||||||
#include <qcompilerdetection.h>
|
#include <qcompilerdetection.h>
|
||||||
#include <QPrinter>
|
#include <QPrinter>
|
||||||
#include <QString>
|
#include <QString>
|
||||||
#include <QStringList>
|
#include <QStringList>
|
||||||
#include <Qt>
|
#include <Qt>
|
||||||
#include <QtGlobal>
|
|
||||||
#include <csignal>
|
#include <csignal>
|
||||||
#include <QMargins>
|
#include <QMargins>
|
||||||
#include <QLineF>
|
#include <QLineF>
|
||||||
#ifdef Q_OS_WIN
|
|
||||||
#include <windows.h>
|
|
||||||
#endif /* Q_OS_WIN */
|
|
||||||
|
|
||||||
#include "literals.h"
|
#include "literals.h"
|
||||||
#include "debugbreak.h"
|
#include "debugbreak.h"
|
||||||
|
|
|
@ -30,6 +30,11 @@
|
||||||
#ifndef VLOCKGUARD_H
|
#ifndef VLOCKGUARD_H
|
||||||
#define VLOCKGUARD_H
|
#define VLOCKGUARD_H
|
||||||
|
|
||||||
|
#include <QtGlobal>
|
||||||
|
#ifdef Q_OS_WIN
|
||||||
|
# include <qt_windows.h>
|
||||||
|
#endif /*Q_OS_WIN*/
|
||||||
|
|
||||||
#include <QString>
|
#include <QString>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
@ -38,9 +43,6 @@
|
||||||
#include <QFileInfo>
|
#include <QFileInfo>
|
||||||
#include <QLockFile>
|
#include <QLockFile>
|
||||||
#include <QSharedPointer>
|
#include <QSharedPointer>
|
||||||
#if defined(Q_OS_WIN)
|
|
||||||
#include <windows.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*@brief
|
/*@brief
|
||||||
* This class creates Guarded object if and only if lock file taken. It keeps shared_ptr to object and lock-file.
|
* This class creates Guarded object if and only if lock file taken. It keeps shared_ptr to object and lock-file.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user