Build on Windows in debug mode.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2015-02-18 18:26:28 +02:00
parent 890c87e228
commit 9f92c1ca94

View File

@ -34,6 +34,7 @@
#ifdef Q_OS_WIN32 #ifdef Q_OS_WIN32
extern Q_CORE_EXPORT int qt_ntfs_permission_lookup; extern Q_CORE_EXPORT int qt_ntfs_permission_lookup;
#include <windows.h>
#endif /*Q_OS_WIN32*/ #endif /*Q_OS_WIN32*/
enum class Unit : char { Mm, Cm, Inch, Px }; enum class Unit : char { Mm, Cm, Inch, Px };
@ -80,7 +81,7 @@ static const quint32 null_id = 0;
{ \ { \
qDebug("ASSERT: %s in %s (%s:%u)", \ qDebug("ASSERT: %s in %s (%s:%u)", \
#cond, __PRETTY_FUNCTION__, __FILE__, __LINE__);\ #cond, __PRETTY_FUNCTION__, __FILE__, __LINE__);\
std::raise(SIGTRAP); \ DebugBreak(); \
} \ } \
} \ } \