2020-04-24 23:36:52 +00:00
|
|
|
{ qtModule, lib, python3, qtbase, qtsvg }:
|
|
|
|
|
|
|
|
qtModule {
|
2021-05-28 09:39:13 +00:00
|
|
|
pname = "qtdeclarative";
|
2020-04-24 23:36:52 +00:00
|
|
|
qtInputs = [ qtbase qtsvg ];
|
|
|
|
nativeBuildInputs = [ python3 ];
|
|
|
|
outputs = [ "out" "dev" "bin" ];
|
|
|
|
preConfigure = ''
|
|
|
|
NIX_CFLAGS_COMPILE+=" -DNIXPKGS_QML2_IMPORT_PREFIX=\"$qtQmlPrefix\""
|
|
|
|
'';
|
2023-03-24 00:07:29 +00:00
|
|
|
configureFlags = [ "-qml-debug" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
devTools = [
|
|
|
|
"bin/qml"
|
|
|
|
"bin/qmlcachegen"
|
|
|
|
"bin/qmleasing"
|
|
|
|
"bin/qmlimportscanner"
|
|
|
|
"bin/qmllint"
|
|
|
|
"bin/qmlmin"
|
|
|
|
"bin/qmlplugindump"
|
|
|
|
"bin/qmlprofiler"
|
|
|
|
"bin/qmlscene"
|
|
|
|
"bin/qmltestrunner"
|
|
|
|
];
|
|
|
|
}
|