Solved MinGW: GetTickCount64(): was not declared in this scope
-
Hi!
Is anybody know how to fix this error?Thank you!
-
Hi,
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"