1 { qtModule, stdenv, lib, qtbase, qtdeclarative }:
7 qtInputs = [ qtbase qtdeclarative ];
8 outputs = [ "out" "dev" "bin" ];
10 # fixQtBuiltinPaths overwrites a builtin path we should keep
12 sed -i "src/linguist/linguist.pro" \
13 -e '/^cmake_linguist_config_version_file.input =/ s|$$\[QT_HOST_DATA.*\]|${getDev qtbase}|'
14 sed -i "src/qtattributionsscanner/qtattributionsscanner.pro" \
15 -e '/^cmake_qattributionsscanner_config_version_file.input =/ s|$$\[QT_HOST_DATA.*\]|${getDev qtbase}|'
19 "bin/qcollectiongenerator"
25 "bin/qtattributionsscanner"
36 "bin/qdistancefieldgenerator"
37 ] ++ optionals stdenv.isDarwin [
42 lib.optional stdenv.isDarwin ''-DNIXPKGS_QMLIMPORTSCANNER="${qtdeclarative.dev}/bin/qmlimportscanner"'';
44 setupHook = ../hooks/qttools-setup-hook.sh;