Fixed build problem on Windows
--HG-- branch : develop
This commit is contained in:
parent
643b84e159
commit
4423d6b937
|
@ -688,7 +688,7 @@ void VApplication::GatherLogs() const
|
||||||
*out <<"--------------------------" << endl;
|
*out <<"--------------------------" << endl;
|
||||||
if (tmp.GetProtected()->open(QIODevice::ReadOnly | QIODevice::Text))
|
if (tmp.GetProtected()->open(QIODevice::ReadOnly | QIODevice::Text))
|
||||||
{
|
{
|
||||||
QTextStream in(&tmp.GetProtected());
|
QTextStream in(tmp.GetProtected().get());
|
||||||
while (!in.atEnd())
|
while (!in.atEnd())
|
||||||
{
|
{
|
||||||
*out << in.readLine() << endl;
|
*out << in.readLine() << endl;
|
||||||
|
@ -697,7 +697,7 @@ void VApplication::GatherLogs() const
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
*out << "Log file error:" + logFile.errorString() << endl;
|
*out << "Log file error:" + log->errorString() << endl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
@ -115,7 +115,11 @@ static void __inline__ debug_break(void)
|
||||||
* */
|
* */
|
||||||
__builtin_trap();
|
__builtin_trap();
|
||||||
} else {
|
} else {
|
||||||
|
#ifdef _WIN32
|
||||||
|
__builtin_trap();
|
||||||
|
#else
|
||||||
raise(SIGTRAP);
|
raise(SIGTRAP);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -51,6 +51,8 @@ $$enable_ccache()
|
||||||
# Set precompiled headers. Function set_PCH() defined in common.pri.
|
# Set precompiled headers. Function set_PCH() defined in common.pri.
|
||||||
$$set_PCH()
|
$$set_PCH()
|
||||||
|
|
||||||
|
INCLUDEPATH += $$PWD/../vpatterndb
|
||||||
|
|
||||||
CONFIG(debug, debug|release){
|
CONFIG(debug, debug|release){
|
||||||
# Debug mode
|
# Debug mode
|
||||||
unix {
|
unix {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user