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

Angle: libEGL must delay-load dwmapi.dll

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4: Low
    • Resolution: Done
    • Affects Version/s: 5.0.0 Beta 2
    • Fix Version/s: 5.0.0 Beta 2
    • Component/s: GUI: Painting
    • Environment:
      Windows XP SP2, MS VC++ 2010 Express, DirectX SDK June 2010
    • Commits:
      92cd94ed1d468554da9e3378a6ce5920b2cfc3c7

      Description

      Angle/libEGL uses (in Surface.cpp) the following DWM functions that are only available on Windows Vista and later.

      The Windows platform plugin links to libEGL, which in turn currently hard-links to DWMAPI that does not exist on Windows XP. This causes that Qt5 applications currently cannot be run on Windows XP. In order to support Windows XP, dwmapi.dll must be delay loaded.

      The original libEGL.vcxproj does it like this: http://code.google.com/p/angleproject/source/browse/trunk/src/libEGL/libEGL.vcxproj#172.

      References:

        Attachments

        For Gerrit Dashboard: QTBUG-27741
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            kleint Friedemann Kleint
            Reporter:
            jpnurmi J-P Nurmi
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes