mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 17:08:38 +00:00
genbindings: exclude Qt 6 QGuiApplication::platform that does not build on Win32
This commit is contained in:
parent
0fe8b2b30f
commit
6d487dfec9
@ -87,6 +87,7 @@ func AllowHeader(fullpath string) bool {
|
|||||||
"q20functional.h", // Qt 6 unstable header
|
"q20functional.h", // Qt 6 unstable header
|
||||||
"q20iterator.h", // Qt 6 unstable header
|
"q20iterator.h", // Qt 6 unstable header
|
||||||
"q23functional.h", // Qt 6 unstable header
|
"q23functional.h", // Qt 6 unstable header
|
||||||
|
"qguiapplication_platform.h", // Qt 6 - can be built for X11 but then platform-specific code fails to build on Windows
|
||||||
"____last____":
|
"____last____":
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
@ -385,8 +386,6 @@ func AllowType(p CppParameter, isReturnType bool) error {
|
|||||||
"QPlatformWindow", // e.g. qwindow.h, as below
|
"QPlatformWindow", // e.g. qwindow.h, as below
|
||||||
"QPlatformSurface", // e.g. qsurface.h. as below
|
"QPlatformSurface", // e.g. qsurface.h. as below
|
||||||
"QPlatformMenu", // e.g. QMenu_PlatformMenu. Defined in the QPA, could probably expose as uintptr
|
"QPlatformMenu", // e.g. QMenu_PlatformMenu. Defined in the QPA, could probably expose as uintptr
|
||||||
"struct _XDisplay", // Qt 6 QGuiApplication_platform
|
|
||||||
"xcb_connection_t", // Qt 6 QGuiApplication_platform
|
|
||||||
"QTextDocument::ResourceProvider", // Qt 6 typedef for unsupported std::function<QVariant(const QUrl&)>
|
"QTextDocument::ResourceProvider", // Qt 6 typedef for unsupported std::function<QVariant(const QUrl&)>
|
||||||
"QTransform::Affine", // Qt 6 qtransform.h - public method returning private type
|
"QTransform::Affine", // Qt 6 qtransform.h - public method returning private type
|
||||||
"____last____":
|
"____last____":
|
||||||
|
Loading…
Reference in New Issue
Block a user