Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
MinGW: GetTickCount64(): was not declared in this scope
Is anybody know how to fix this error?
How are you using it ? Did you include the corresponding header ?
I using it for time counting.
Yes, of course. headers are included.
GetTickCount() function is enabled, but not GetTickCount64().
With MSVC compiler there are no problems.
Problem solved by adding this flag to *.PRO file:
QMAKE_CXXFLAGS += "-D_WIN32_WINNT=0x0600"