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

Unable to run on Gitlab CI / Windows Server Core docker image

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.5.3
    • 6.5.0, 6.5.1
    • Qt RHI
    • None
    • gitlab.com CI (Windows Server Core docker image)
    • Windows
    • 63402812c (6.5), e7405dc14 (dev), 3ae6c1a30 (6.6)

    Description

      This issue comes as the result of investigations in https://bugreports.qt.io/browse/PYSIDE-2289. TLDR: Qt 6.5.0/1 depends on dcomp.dll which is missing on Windows Server Core. Qt 6.4.3 works fine. I believe https://bugreports.qt.io/browse/QTBUG-105271 is to blame.

      I am unable to run from PySide6.QtWidgets import QApplication; QApplication() on gitlab.com's CI when using PySide6 6.5.0/1, while 6.4.3 works fine. With help from kleint, I was able to identify a few missing DLLs (d3d11.dll, dxgi.dll, dcomp.dll). Installing DirectX should help with the first two (even though installation fails, but environment variables seem to do the trick), while dcomp.dll is not part of the DirectX SDK or any other official installer.

      Therefore, I see no way of instantiating a QApplication without having said dll: I have tried a number of things (https://gitlab.com/bers/pyside-issues/-/blob/main/.gitlab-ci.yml) with no luck.

      The latest pipeline output is here: https://gitlab.com/bers/pyside-issues/-/jobs/4386763327

       

      Attachments

        Issue Links

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

          Activity

            People

              lagocs Laszlo Agocs
              bers bers bers
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes