Unsolved 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? -
@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?
-
@Ratzz no i did't modify , i cleaned and rebuild still im getting error
-
@Bharth
Can you just check by downloading a fresh copy and test https://github.com/qtproject/qt-solutions/tree/master/qtsingleapplication?