Fix QML2_IMPORT_PATH

main
Ben Niemann 1 year ago
parent 324b4ee3f3
commit 724f8bf3d8

@ -172,6 +172,6 @@ in stdenv.mkDerivation {
# https://discourse.nixos.org/t/how-can-i-build-a-python-package-that-uses-qt/7657
QT_QPA_PLATFORM_PLUGIN_PATH="${qt5.qtbase.bin}/lib/qt-${qt5.qtbase.version}/plugins";
QT_PLUGIN_PATH="${qt5.qtsvg.bin}/lib/qt-${qt5.qtsvg.version}/plugins";
QML2_IMPORT_PATH="${qt5.qtquickcontrols2.bin}/lib/qt-${qt5.qtquickcontrols2.version}/qml:${qt5.qtgraphicaleffects}/lib/qt-${qt5.qtgraphicaleffects.version}/qml";
QML2_IMPORT_PATH="${qt5.qtdeclarative.bin}/lib/qt-${qt5.qtdeclarative.version}/qml:${qt5.qtquickcontrols2.bin}/lib/qt-${qt5.qtquickcontrols2.version}/qml:${qt5.qtgraphicaleffects}/lib/qt-${qt5.qtgraphicaleffects.version}/qml";
QT5_LIBDIR="${qt5.qtbase.out}/lib/";
}

Loading…
Cancel
Save