mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 00:48:38 +00:00
svg: add genbindings configuration
This commit is contained in:
parent
25e10f2824
commit
fc47abea0e
@ -62,6 +62,18 @@ func ProcessLibraries(clangBin, outDir, extraLibsDir string) {
|
||||
ClangMatchSameHeaderDefinitionOnly,
|
||||
)
|
||||
|
||||
generate(
|
||||
"qt/svg",
|
||||
[]string{
|
||||
"/usr/include/x86_64-linux-gnu/qt5/QtSvg",
|
||||
},
|
||||
AllowAllHeaders,
|
||||
clangBin,
|
||||
pkgConfigCflags("Qt5Svg"),
|
||||
outDir,
|
||||
ClangMatchSameHeaderDefinitionOnly,
|
||||
)
|
||||
|
||||
generate(
|
||||
"qt/network",
|
||||
[]string{
|
||||
@ -173,6 +185,20 @@ func ProcessLibraries(clangBin, outDir, extraLibsDir string) {
|
||||
ClangMatchSameHeaderDefinitionOnly,
|
||||
)
|
||||
|
||||
// Qt 6 SVG
|
||||
generate(
|
||||
"qt6/svg",
|
||||
[]string{
|
||||
"/usr/include/x86_64-linux-gnu/qt6/QtSvg",
|
||||
"/usr/include/x86_64-linux-gnu/qt6/QtSvgWidgets",
|
||||
},
|
||||
AllowAllHeaders,
|
||||
clangBin,
|
||||
"--std=c++17 "+pkgConfigCflags("Qt6SvgWidgets"),
|
||||
outDir,
|
||||
ClangMatchSameHeaderDefinitionOnly,
|
||||
)
|
||||
|
||||
// Qt 6 QtNetwork
|
||||
generate(
|
||||
"qt6/network",
|
||||
|
@ -5,8 +5,10 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
|
||||
golang-go \
|
||||
qtbase5-dev \
|
||||
qtmultimedia5-dev \
|
||||
libqt5svg5-dev \
|
||||
qt6-base-dev \
|
||||
qt6-multimedia-dev \
|
||||
qt6-svg-dev \
|
||||
libqscintilla2-qt5-dev \
|
||||
libqscintilla2-qt6-dev \
|
||||
clang \
|
||||
|
Loading…
Reference in New Issue
Block a user