mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 12:09:48 +00:00
Compile with both Qt4 and Qt5.
This commit is contained in:
parent
066e85893f
commit
717f31a877
@ -348,7 +348,11 @@ void QCMake::interrupt()
|
||||
bool QCMake::interruptCallback(void* cd)
|
||||
{
|
||||
QCMake* self = reinterpret_cast<QCMake*>(cd);
|
||||
#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
|
||||
return self->InterruptFlag;
|
||||
#else
|
||||
return self->InterruptFlag.load();
|
||||
#endif
|
||||
}
|
||||
|
||||
void QCMake::progressCallback(const char* msg, float percent, void* cd)
|
||||
|
Loading…
Reference in New Issue
Block a user