Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-18537

Compiling Qt on Windows XP x64 using MinGW-w64 fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 4.7.4
    • 4.7.2
    • Build tools: qmake
    • 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

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            buddenha Oswald Buddenhagen
            net147 Jonathan Liu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes