mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 08:58:37 +00:00
qt6: rebuild (delete QGuiApplication::platform)
This commit is contained in:
parent
6d487dfec9
commit
815d5bcc8b
@ -1,5 +0,0 @@
|
||||
#define WORKAROUND_INNER_CLASS_DEFINITION_QNativeInterface__QX11Application
|
||||
#include <qguiapplication_platform.h>
|
||||
#include "gen_qguiapplication_platform.h"
|
||||
#include "_cgo_export.h"
|
||||
|
@ -1,42 +0,0 @@
|
||||
package qt6
|
||||
|
||||
/*
|
||||
|
||||
#include "gen_qguiapplication_platform.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
*/
|
||||
import "C"
|
||||
|
||||
import (
|
||||
"unsafe"
|
||||
)
|
||||
|
||||
type QNativeInterface__QX11Application struct {
|
||||
h *C.QNativeInterface__QX11Application
|
||||
}
|
||||
|
||||
func (this *QNativeInterface__QX11Application) cPointer() *C.QNativeInterface__QX11Application {
|
||||
if this == nil {
|
||||
return nil
|
||||
}
|
||||
return this.h
|
||||
}
|
||||
|
||||
func (this *QNativeInterface__QX11Application) UnsafePointer() unsafe.Pointer {
|
||||
if this == nil {
|
||||
return nil
|
||||
}
|
||||
return unsafe.Pointer(this.h)
|
||||
}
|
||||
|
||||
func newQNativeInterface__QX11Application(h *C.QNativeInterface__QX11Application) *QNativeInterface__QX11Application {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QNativeInterface__QX11Application{h: h}
|
||||
}
|
||||
|
||||
func UnsafeNewQNativeInterface__QX11Application(h unsafe.Pointer) *QNativeInterface__QX11Application {
|
||||
return newQNativeInterface__QX11Application((*C.QNativeInterface__QX11Application)(h))
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
#ifndef GEN_QGUIAPPLICATION_PLATFORM_H
|
||||
#define GEN_QGUIAPPLICATION_PLATFORM_H
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
|
||||
#include "../libmiqt/libmiqt.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(WORKAROUND_INNER_CLASS_DEFINITION_QNativeInterface__QX11Application)
|
||||
typedef QNativeInterface::QX11Application QNativeInterface__QX11Application;
|
||||
#else
|
||||
class QNativeInterface__QX11Application;
|
||||
#endif
|
||||
#else
|
||||
typedef struct QNativeInterface__QX11Application QNativeInterface__QX11Application;
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern C */
|
||||
#endif
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user