qscintilla6: definitions

This commit is contained in:
mappu 2024-11-06 18:29:56 +13:00
parent 7253798b9b
commit 841a7a2835
4 changed files with 30 additions and 0 deletions

View File

@ -227,4 +227,16 @@ func ProcessLibraries(clangBin, outDir, extraLibsDir string) {
ClangMatchSameHeaderDefinitionOnly, ClangMatchSameHeaderDefinitionOnly,
) )
// Depends on QtCore/Gui/Widgets, QPrintSupport
generate(
"qt-restricted-extras/qscintilla6",
[]string{
"/usr/include/x86_64-linux-gnu/qt6/Qsci",
},
AllowAllHeaders,
clangBin,
"--std=c++17 "+pkgConfigCflags("Qt6PrintSupport"),
outDir,
ClangMatchSameHeaderDefinitionOnly,
)
} }

View File

@ -8,6 +8,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
qt6-base-dev \ qt6-base-dev \
qt6-multimedia-dev \ qt6-multimedia-dev \
libqscintilla2-qt5-dev \ libqscintilla2-qt5-dev \
libqscintilla2-qt6-dev \
clang \ clang \
git \ git \
ca-certificates \ ca-certificates \

View File

@ -0,0 +1,9 @@
includedir=/usr/include/x86_64-linux-gnu/qt6/Qsci/
Name: QScintilla6
Description: Qt6 port of the Scintilla source code editing widget
URL: http://www.riverbankcomputing.co.uk/software/qscintilla
Version: 2.13.3
Requires: Qt6Widgets, Qt6PrintSupport
Libs: -lqscintilla2_qt6
Cflags: -I${includedir}

View File

@ -0,0 +1,8 @@
package qscintilla6
/*
#cgo CFLAGS:
#cgo CXXFLAGS: -std=c++17
#cgo pkg-config: QScintilla6
*/
import "C"