Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
4.7.2
-
None
-
Microsoft Windows XP Professional x64 Edition SP2
Qt 4.7.2
MinGW-w64 GCC 4.5.2 TDM64-1
-
a6d48ca57403539ab8e00d16f80bd4cd334e1b5c, 63ea4ba0ceb8f625da48ddbe31f96b2148f62146
Description
Compiling Qt gives the following error when running qmake: "The procedure entry point OpenProcessToken could not be located in the dynamic link library KERNEL32.dll". This is because qmake.conf specifies -lkernel32 before -ladvapi32. To fix this, -ladvapi32 needs to be specified first in mkspecs/win32-g++/qmake.conf.
Reference: http://sourceforge.net/apps/trac/mingw-w64/wiki/Procedure%20entry%20point