Details
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
- depends on
-
QTBUG-114775 Investigate if loading dcomp.dll (for DirectComposition) dynamically is feasible in the D3D11 and D3D12 backends of QRhi
- Closed
- relates to
-
QTBUG-117845 Unable to run on Gitlab CI / Windows Server Core docker image due to Windows(.UI(.ViewManagement)).dll
- Reported