mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 08:58:37 +00:00
qt6/qprintsupport: add binding rules
This commit is contained in:
parent
4d29341c71
commit
92b80a4f5b
@ -168,6 +168,18 @@ func main() {
|
||||
*outDir,
|
||||
ClangMatchSameHeaderDefinitionOnly,
|
||||
)
|
||||
|
||||
// Qt 6 QtPrintSupport
|
||||
generate(
|
||||
"qt6/qprintsupport",
|
||||
[]string{
|
||||
"/usr/include/x86_64-linux-gnu/qt6/QtPrintSupport",
|
||||
},
|
||||
*clang,
|
||||
strings.Fields("--std=c++17 "+pkgConfigCflags("Qt6PrintSupport")),
|
||||
*outDir,
|
||||
ClangMatchSameHeaderDefinitionOnly,
|
||||
)
|
||||
}
|
||||
|
||||
func generate(packageName string, srcDirs []string, clangBin string, cflags []string, outDir string, matcher ClangMatcher) {
|
||||
|
9
qt6/qprintsupport/cflags_linux.go
Normal file
9
qt6/qprintsupport/cflags_linux.go
Normal file
@ -0,0 +1,9 @@
|
||||
// +build linux,!android
|
||||
|
||||
package qprintsupport
|
||||
|
||||
/*
|
||||
#cgo CFLAGS: -fPIC
|
||||
#cgo pkg-config: Qt6PrintSupport
|
||||
*/
|
||||
import "C"
|
Loading…
Reference in New Issue
Block a user