Build on Windows in debug mode.
--HG-- branch : develop
This commit is contained in:
parent
890c87e228
commit
9f92c1ca94
|
@ -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(); \
|
||||||
} \
|
} \
|
||||||
} \
|
} \
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user