mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 00:48:38 +00:00
Modify qt6/cbor for proper builds
Tested with Debian 12 and Qt 6.4
This commit is contained in:
parent
4f57b3bd5e
commit
92208545df
@ -147,7 +147,7 @@ func ProcessLibraries(clangBin, outDir, extraLibsDir string) {
|
||||
generate(
|
||||
"qt6/cbor",
|
||||
[]string{
|
||||
"/usr/include/x86_64-linux-gnu/qt5/QtCore",
|
||||
"/usr/include/x86_64-linux-gnu/qt6/QtCore",
|
||||
},
|
||||
func(fullpath string) bool {
|
||||
// Only include the same json, xml, cbor files excluded above
|
||||
@ -155,7 +155,7 @@ func ProcessLibraries(clangBin, outDir, extraLibsDir string) {
|
||||
return strings.HasPrefix(fname, "qcbor")
|
||||
},
|
||||
clangBin,
|
||||
pkgConfigCflags("Qt6Core"),
|
||||
"--std=c++20 "+pkgConfigCflags("Qt6Core"),
|
||||
outDir,
|
||||
ClangMatchSameHeaderDefinitionOnly,
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user