Merge pull request #239781 from wineee/qttools

qttools: disable clang-based c++ parser by default
This commit is contained in:
Nick Cao
2023-06-27 09:18:33 +08:00
committed by GitHub
3 changed files with 6 additions and 4 deletions
@@ -13,7 +13,7 @@ qtModule {
--replace '$QT_INSTALL_DOCS' "${qtbase}/share/doc"
done
'';
nativeBuildInputs = [ qttools ];
nativeBuildInputs = [ (qttools.override { withClang = true; }) ];
qtInputs = [ qtdeclarative ];
cmakeFlags = [
"-DCMAKE_MESSAGE_LOG_LEVEL=STATUS"
@@ -3,13 +3,15 @@
, lib
, qtbase
, qtdeclarative
, llvmPackages
, cups
, llvmPackages
# clang-based c++ parser for qdoc and lupdate
, withClang ? false
}:
qtModule {
pname = "qttools";
buildInputs = [
buildInputs = lib.optionals withClang [
llvmPackages.libclang
llvmPackages.llvm
];
+1 -1
View File
@@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
cmake
pkg-config
qttools
(qttools.override { withClang = true; })
wrapQtAppsHook
python3
ninja