mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 00:48:38 +00:00
qscintilla6: definitions
This commit is contained in:
parent
7253798b9b
commit
841a7a2835
@ -227,4 +227,16 @@ func ProcessLibraries(clangBin, outDir, extraLibsDir string) {
|
||||
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,
|
||||
)
|
||||
}
|
||||
|
@ -8,6 +8,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
|
||||
qt6-base-dev \
|
||||
qt6-multimedia-dev \
|
||||
libqscintilla2-qt5-dev \
|
||||
libqscintilla2-qt6-dev \
|
||||
clang \
|
||||
git \
|
||||
ca-certificates \
|
||||
|
9
pkg-config/QScintilla6.pc.example
Normal file
9
pkg-config/QScintilla6.pc.example
Normal 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}
|
8
qt-restricted-extras/qscintilla6/cflags.go
Normal file
8
qt-restricted-extras/qscintilla6/cflags.go
Normal file
@ -0,0 +1,8 @@
|
||||
package qscintilla6
|
||||
|
||||
/*
|
||||
#cgo CFLAGS:
|
||||
#cgo CXXFLAGS: -std=c++17
|
||||
#cgo pkg-config: QScintilla6
|
||||
*/
|
||||
import "C"
|
Loading…
Reference in New Issue
Block a user