-
Suggestion
-
Resolution: Fixed
-
P4: Low
-
6.x, 6.7, 6.9, 6.7.1, 6.8.0, 6.8.1, 6.8.0.2
-
None
-
-
1b6ff56e2 (dev), b7577f699 (dev)
I'm trying to get the QNativeInterface when using wayland so I can get access to the "display" variable:
https://doc.qt.io/qt-6/qnativeinterface-qwaylandapplication.html#display
Without qt6-wayland installed
import sys from PySide6.QtWidgets import QApplication app = QApplication(sys.argv) qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in "" app.nativeInterface() <PySide6.QtGui.QNativeInterface.QX11Application at 0x78cb1982c700>
But with qt6-wayland installed:
import sys from PySide6.QtWidgets import QApplication app = QApplication(sys.argv) app.nativeInterface() <---- None is returned ---->
Could the shiboken generators be updated to expose this Native interface?