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

Initialization of QUiLoader hangs on Windows 10 over RDP

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 5.7.0
    • Tools: Designer
    • None
    • Qt 5.7.0 32 bit MSVC SDK
      Win 10 over RDP

    Description

      The following code:

      #include <QApplication>
      #include <QUiLoader>
      #include <QDebug>
      
      int main(int argc, char *argv[])
      {
          QApplication a(argc, argv);
          QUiLoader loader;
      
          qDebug() << "Finished contruction";
      
          return a.exec();
      }
      

      produces this output on Qt 5.7 msvc 2015 32 bit (With a Release build):

      qt.qpa.input.tablet: Tablet support:  "None"
      qt.qpa.windows: QWindowsContext::setProcessDpiAwareness 2
      qt.qpa.windows: QWindowsIntegrationPrivate::QWindowsIntegrationPrivate DpiAwareness= 2 effective process DPI awareness= 2
      qt.qpa.windows: QWindowsContext::registerWindowClass "Qt5ClipboardView" style=0x0 brush=0x0 icon=false atom=49491
      qt.qpa.mime: QWindowsClipboard::registerViewer m_clipboardViewer: 0xe05d4 format listener: true next: 0x0
      qt.qpa.windows: New Monitor:  Screen "\\.\DISPLAY1" 1920x1200+0+0 avail: 1920x1160+0+0 physical: 508x318 DPI: 96x96 Depth: 32 Format: 4 primary virtual desktop
      qt.qpa.fonts: QWindowsFontDatabase::systemDefaultFont QFont( "MS Shell Dlg 2,8.25,-1,5,50,0,0,0,0,0" )
      qt.qpa.gl: Basic wglCreateContext gives version 1.1
      qt.qpa.gl: OpenGL version too low
      qt.qpa.gl: OpenGL 2.0 entry points not found
      qt.qpa.gl: GPU features: QSet()
      qt.qpa.gl: QWindowsOpenGLTester::supportedRenderers GpuDescription(vendorId=0x1414, deviceId=0x8c, subSysId=0x0, revision=0, driver: "d3d10warp.dll", version=10.0.14393.447, "Microsoft Basic Render Driver") renderer:  QFlags(0x2|0x4|0x8|0x20)
      qt.qpa.gl: Qt: Using EGL from libEGL
      qt.qpa.gl: Qt: Using OpenGL ES 2.0 from libGLESv2
      DXGI ERROR: CreateDXGIFactory cannot be called from DllMain. [ MISCELLANEOUS ERROR #76: ]
      DXGI ERROR: CreateDXGIFactory cannot be called from DllMain. [ MISCELLANEOUS ERROR #76: ]
      

      A Debug build is fine:

      qt.qpa.input.tablet: Tablet support:  "None"
      qt.qpa.windows: QWindowsContext::setProcessDpiAwareness 2
      qt.qpa.windows: QWindowsIntegrationPrivate::QWindowsIntegrationPrivate DpiAwareness= 2 effective process DPI awareness= 2
      qt.qpa.windows: QWindowsContext::registerWindowClass "Qt5ClipboardView" style=0x0 brush=0x0 icon=false atom=49491
      qt.qpa.mime: QWindowsClipboard::registerViewer m_clipboardViewer: 0x11051c format listener: true next: 0x0
      qt.qpa.windows: New Monitor:  Screen "\\.\DISPLAY1" 1920x1200+0+0 avail: 1920x1160+0+0 physical: 508x318 DPI: 96x96 Depth: 32 Format: 4 primary virtual desktop
      qt.qpa.fonts: QWindowsFontDatabase::systemDefaultFont QFont( "MS Shell Dlg 2,8.25,-1,5,50,0,0,0,0,0" )
      Finished contruction
      

      at which point the program just hangs.

      Attachments

        Issue Links

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

          Activity

            People

              kkohne Kai Köhne
              apollo13 Florian Apolloner
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes