Files
nixpkgs/pkgs/development/libraries/qt-5/modules/qtdeclarative.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
589 B
Nix
Raw Normal View History

2025-10-09 14:15:47 +02:00
{
qtModule,
python3,
qtbase,
qtsvg,
}:
qtModule {
pname = "qtdeclarative";
propagatedBuildInputs = [
qtbase
qtsvg
];
nativeBuildInputs = [ python3 ];
outputs = [
"out"
"dev"
"bin"
];
preConfigure = ''
NIX_CFLAGS_COMPILE+=" -DNIXPKGS_QML2_IMPORT_PREFIX=\"$qtQmlPrefix\""
'';
configureFlags = [ "-qml-debug" ];
devTools = [
"bin/qml"
"bin/qmlcachegen"
"bin/qmleasing"
"bin/qmlimportscanner"
"bin/qmllint"
"bin/qmlmin"
"bin/qmlplugindump"
"bin/qmlprofiler"
"bin/qmlscene"
"bin/qmltestrunner"
];
}