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

Windows/Docker: From source compiled Qt Designer doesn't work

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 6.5.3, 6.6.0
    • Tools: Designer
    • None
    • Windows

    Description

      I've compiled Qt6 from source on Windows 11 with Visual Studio 2019. The build was done in a Windows Docker Container. When I try to start designer.exe it exits after a few milliseconds with exit code 127. If I set QT_WIN_DEBUG_CONSOLE=new I can see the appended screenshot for a very shot moment.

      Other GUI Tools like Linguist or Assistent work without problems.

      With Git Bash I can use ldd:

      ldd ../../usr/bin/designer.exe
              ntdll.dll => /c/Windows/SYSTEM32/ntdll.dll (0x7ffd9aef0000)
              hmpalert.dll => /c/Windows/system32/hmpalert.dll (0x7ffd98060000)
              KERNEL32.dll => /c/Windows/System32/KERNEL32.dll (0x7ffd98cd0000)
              KERNELBASE.dll => /c/Windows/System32/KERNELBASE.dll (0x7ffd98440000)
              ucrtbase.dll => /c/Windows/System32/ucrtbase.dll (0x7ffd98af0000)
              SHELL32.dll => /c/Windows/System32/SHELL32.dll (0x7ffd99800000)
              msvcp_win.dll => /c/Windows/System32/msvcp_win.dll (0x7ffd98a50000)
              USER32.dll => /c/Windows/System32/USER32.dll (0x7ffd9a060000)
              win32u.dll => /c/Windows/System32/win32u.dll (0x7ffd98c10000)
              GDI32.dll => /c/Windows/System32/GDI32.dll (0x7ffd993f0000)
              gdi32full.dll => /c/Windows/System32/gdi32full.dll (0x7ffd98320000)
              Qt6DesignerComponents.dll => /c/TechnoTeam/develop/usr/bin/Qt6DesignerComponents.dll (0x7ffd1fcb0000)
              Qt6Network.dll => /c/TechnoTeam/develop/usr/bin/Qt6Network.dll (0x7ffd1fb30000)
              ADVAPI32.dll => /c/Windows/System32/ADVAPI32.dll (0x7ffd9a310000)
              msvcrt.dll => /c/Windows/System32/msvcrt.dll (0x7ffd99300000)
              sechost.dll => /c/Windows/System32/sechost.dll (0x7ffd99580000)
              RPCRT4.dll => /c/Windows/System32/RPCRT4.dll (0x7ffd98e50000)
              WS2_32.dll => /c/Windows/System32/WS2_32.dll (0x7ffd99730000)
              ole32.dll => /c/Windows/System32/ole32.dll (0x7ffd9a810000)
              combase.dll => /c/Windows/System32/combase.dll (0x7ffd98f70000)
              Qt6PrintSupport.dll => /c/TechnoTeam/develop/usr/bin/Qt6PrintSupport.dll (0x7ffd933b0000)
              COMDLG32.dll => /c/Windows/System32/COMDLG32.dll (0x7ffd9a210000)
              shcore.dll => /c/Windows/System32/shcore.dll (0x7ffd99480000)
              SHLWAPI.dll => /c/Windows/System32/SHLWAPI.dll (0x7ffd99420000)
              Qt6Designer.dll => /c/TechnoTeam/develop/usr/bin/Qt6Designer.dll (0x7ffd1f610000)
              Qt6Xml.dll => /c/TechnoTeam/develop/usr/bin/Qt6Xml.dll (0x7ffd93300000)
              Qt6Widgets.dll => /c/TechnoTeam/develop/usr/bin/Qt6Widgets.dll (0x7ffd1efe0000)
              Qt6Gui.dll => /c/TechnoTeam/develop/usr/bin/Qt6Gui.dll (0x7ffd1e7c0000)
              Qt6Core.dll => /c/TechnoTeam/develop/usr/bin/Qt6Core.dll (0x7ffd1e1d0000)
              OLEAUT32.dll => /c/Windows/System32/OLEAUT32.dll (0x7ffd9a730000)
              MSVCP140.dll => /c/Windows/SYSTEM32/MSVCP140.dll (0x7ffd80180000)
              VCRUNTIME140.dll => /c/Windows/SYSTEM32/VCRUNTIME140.dll (0x7ffd80160000)
              VCRUNTIME140_1.dll => /c/Windows/SYSTEM32/VCRUNTIME140_1.dll (0x7ffd80150000)
              DNSAPI.dll => /c/Windows/SYSTEM32/DNSAPI.dll (0x7ffd96990000)
              IPHLPAPI.DLL => /c/Windows/SYSTEM32/IPHLPAPI.DLL (0x7ffd96960000)
              Secur32.dll => /c/Windows/SYSTEM32/Secur32.dll (0x7ffd96eb0000)
              WINHTTP.dll => /c/Windows/SYSTEM32/WINHTTP.dll (0x7ffd91ca0000)
              zstd.dll => /c/TechnoTeam/develop/usr/bin/zstd.dll (0x7ffd83a30000)
              zlib1.dll => /c/TechnoTeam/develop/usr/bin/zlib1.dll (0x7ffd92a50000)
              COMCTL32.dll => /c/Windows/WinSxS/amd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.22621.2506_none_b43bab19638c9595/COMCTL32.dll (0x7ffd73780000)
              WINSPOOL.DRV => /c/Windows/SYSTEM32/WINSPOOL.DRV (0x7ffd6d910000)
              Qt6OpenGLWidgets.dll => /c/TechnoTeam/develop/usr/bin/Qt6OpenGLWidgets.dll (0x7ffd93390000)
              MSVCP140_1.dll => /c/Windows/SYSTEM32/MSVCP140_1.dll (0x7ffd932f0000)
              dwmapi.dll => /c/Windows/SYSTEM32/dwmapi.dll (0x7ffd95690000)
              UxTheme.dll => /c/Windows/SYSTEM32/UxTheme.dll (0x7ffd95430000)
              d3d11.dll => /c/Windows/SYSTEM32/d3d11.dll (0x7ffd93d60000)
              dxgi.dll => /c/Windows/SYSTEM32/dxgi.dll (0x7ffd95570000)
              d3d12.dll => /c/Windows/SYSTEM32/d3d12.dll (0x7ffd82670000)
              DWrite.dll => /c/Windows/SYSTEM32/DWrite.dll (0x7ffd93aa0000)
              libpng.dll => /c/TechnoTeam/develop/usr/bin/libpng.dll (0x7ffd83ba0000)
              MSVCP140_2.dll => /c/Windows/SYSTEM32/MSVCP140_2.dll (0x7ffd839e0000)
              MPR.dll => /c/Windows/SYSTEM32/MPR.dll (0x7ffd88bb0000)
              USERENV.dll => /c/Windows/SYSTEM32/USERENV.dll (0x7ffd975f0000)
              AUTHZ.dll => /c/Windows/SYSTEM32/AUTHZ.dll (0x7ffd96cc0000)
              NETAPI32.dll => /c/Windows/SYSTEM32/NETAPI32.dll (0x7ffd80080000)
              VERSION.dll => /c/Windows/SYSTEM32/VERSION.dll (0x7ffd90d30000)
              WINMM.dll => /c/Windows/SYSTEM32/WINMM.dll (0x7ffd890f0000)
              Qt6OpenGL.dll => /c/TechnoTeam/develop/usr/bin/Qt6OpenGL.dll (0x7ffd1dfe0000)
              SSPICLI.DLL => /c/Windows/SYSTEM32/SSPICLI.DLL (0x7ffd97340000)
              CRYPTBASE.DLL => /c/Windows/SYSTEM32/CRYPTBASE.DLL (0x7ffd97880000)
              NETUTILS.DLL => /c/Windows/SYSTEM32/NETUTILS.DLL (0x7ffd96c50000)
              SRVCLI.DLL => /c/Windows/SYSTEM32/SRVCLI.DLL (0x7ffd96c20000) 

      Any ideas what the problem is or how I can futher debug?

      Attachments

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

        Activity

          People

            kleint Friedemann Kleint
            bebuch Benjamin Buch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes