/* Object Viewer Qt Widget Copyright (C) 2010 Adrian Jaekel This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . */ #ifndef NL_STDPCH_H #define NL_STDPCH_H #if defined(_MSC_VER) && defined(_DEBUG) #define _CRTDBG_MAP_ALLOC #include #include #define DEBUG_NEW new(_NORMAL_BLOCK, __FILE__, __LINE__) #undef realloc #undef free #endif #include #ifdef Q_COMPILER_RVALUE_REFS #undef Q_COMPILER_RVALUE_REFS #endif #include #include #if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)) #define USE_QT5 #endif #ifdef USE_QT5 #include #include #endif #include #include #include #include #include #include #include #if defined(NL_OS_WINDOWS) #define NOMINMAX #include #elif defined(NL_OS_MAC) #else #include #endif #endif