qtcreator: fix path to qtquickcontrols

This enables build of QML designer plugin.
This commit is contained in:
Nikolay Amiantov 2018-01-04 07:04:03 +03:00 committed by Bjørn Forsman
parent 44901407f0
commit 9c8827322a

View File

@ -31,6 +31,11 @@ stdenv.mkDerivation rec {
installFlags = [ "INSTALL_ROOT=$(out)" ] ++ optional withDocumentation "install_docs";
preConfigure = ''
substituteInPlace src/plugins/plugins.pro \
--replace '$$[QT_INSTALL_QML]/QtQuick/Controls' '${qtquickcontrols}/${qtbase.qtQmlPrefix}/QtQuick/Controls'
'';
preBuild = optional withDocumentation ''
ln -s ${getLib qtbase}/$qtDocPrefix $NIX_QT5_TMP/share
'';