error in qtLockedfile for QSingleApplication
-
-
hi
im getting error in this line(qtLockedFile)foreach(Qt::HANDLE mutex, rmutexes) {
ReleaseMutex(mutex);
CloseHandle(mutex);
}
error: expected primary-expression before 'mutex'
foreach(Qt::HANDLE mutex, rmutexes) {
^please help me to solve this
@Bharth
what Qt version? Did you compile Qt yourself? -
hi
im getting error in this line(qtLockedFile)foreach(Qt::HANDLE mutex, rmutexes) {
ReleaseMutex(mutex);
CloseHandle(mutex);
}
error: expected primary-expression before 'mutex'
foreach(Qt::HANDLE mutex, rmutexes) {
^please help me to solve this
@Bharth said in error in qtLockedfile for QSingleappication:
im getting error
It was working for you before https://forum.qt.io/topic/98417/how-to-create-singleinstance-application/13 ?
Did you modify the code? Can you clean and rebuild?
-
@Bharth said in error in qtLockedfile for QSingleappication:
im getting error
It was working for you before https://forum.qt.io/topic/98417/how-to-create-singleinstance-application/13 ?
Did you modify the code? Can you clean and rebuild?