9 pname = "qtdeclarative";
10 qtInputs = [ qtbase qtshadertools ];
11 propagatedBuildInputs = [ openssl python3 ];
13 export LD_LIBRARY_PATH="$PWD/build/lib''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"
16 "-DQT6_INSTALL_PREFIX=${placeholder "out"}"
17 "-DQT_INSTALL_PREFIX=${placeholder "out"}"
20 # prevent headaches from stale qmlcache data
21 ../patches/qtdeclarative-default-disable-qmlcache.patch
24 substituteInPlace "$out/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake" \
25 --replace ''\'''${QT6_INSTALL_PREFIX}' "$dev"
31 "bin/qmlimportscanner"
40 NIX_CFLAGS_COMPILE = [
41 "-fmacro-prefix-map=${qtbase.dev}=qtbase.dev"