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

[REG 5.3.1->5.4.0] Windows: Static ANGLE builds no longer work (due to dynamic resolution of EGL functions)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.4.0
    • 5.4.0
    • GUI: Window management
    • None
    • Windows 8.1 MSVC2013
    • 4aec47b1ebd25ead5775767f3e8d6b2e29fd8630 (dev, 15.7.2014, 5.4)

    Description

      It appears that 39e06078 (https://codereview.qt-project.org/83412) broke -static ANGLE builds, as the Windows qpa plugin tries to resolve EGL functions dynamically even though the DLL won't be there. When Qt is built statically, the EGL functions should be statically resolved/linked.

      Output upon starting a statically built Qt:

      Failed to load libEGLd.dll (The specified module could not be found.)
      class QWindowsEGLStaticContext *__cdecl QWindowsEGLStaticContext::create(void): Failed to load and resolve libEGL functions
      Failed to load libEGLd.dll (The specified module could not be found.)
      class QWindowsEGLStaticContext *__cdecl QWindowsEGLStaticContext::create(void): Failed to load and resolve libEGL functions
      Failed to load libEGLd.dll (The specified module could not be found.)
      class QWindowsEGLStaticContext *__cdecl QWindowsEGLStaticContext::create(void): Failed to load and resolve libEGL functions
      Failed to load libEGLd.dll (The specified module could not be found.)
      class QWindowsEGLStaticContext *__cdecl QWindowsEGLStaticContext::create(void): Failed to load and resolve libEGL functions
      

      Attachments

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

        Activity

          People

            andrew.knight Andrew Knight
            andrew.knight Andrew Knight
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes