From d28621c9413c54a91dd3342e1c8685a977274b6a Mon Sep 17 00:00:00 2001 From: mappu Date: Tue, 26 Nov 2024 19:55:10 +1300 Subject: [PATCH] qtscript: genbindings configuration --- cmd/genbindings/config-libraries.go | 12 ++++++++++++ docker/genbindings.Dockerfile | 1 + 2 files changed, 13 insertions(+) diff --git a/cmd/genbindings/config-libraries.go b/cmd/genbindings/config-libraries.go index b70a1078..1b579663 100644 --- a/cmd/genbindings/config-libraries.go +++ b/cmd/genbindings/config-libraries.go @@ -102,6 +102,18 @@ func ProcessLibraries(clangBin, outDir, extraLibsDir string) { ClangMatchSameHeaderDefinitionOnly, ) + generate( + "qt/script", + []string{ + "/usr/include/x86_64-linux-gnu/qt5/QtScript", + }, + AllowAllHeaders, + clangBin, + pkgConfigCflags("Qt5Script"), + outDir, + ClangMatchSameHeaderDefinitionOnly, + ) + // Depends on QtCore/Gui/Widgets, QPrintSupport generate( "qt-restricted-extras/qscintilla", diff --git a/docker/genbindings.Dockerfile b/docker/genbindings.Dockerfile index 2bcdd632..6ef89cfc 100644 --- a/docker/genbindings.Dockerfile +++ b/docker/genbindings.Dockerfile @@ -5,6 +5,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && \ golang-go \ qtbase5-dev \ qtmultimedia5-dev \ + qtscript5-dev \ libqt5svg5-dev \ qt6-base-dev \ qt6-multimedia-dev \