From 9c8827322afe50fc3aaa9c441e3ce1e9f639f97c Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Thu, 4 Jan 2018 07:04:03 +0300 Subject: [PATCH] qtcreator: fix path to qtquickcontrols This enables build of QML designer plugin. --- pkgs/development/qtcreator/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/qtcreator/default.nix b/pkgs/development/qtcreator/default.nix index 0b3cf3b53f8..de94b7a8eff 100644 --- a/pkgs/development/qtcreator/default.nix +++ b/pkgs/development/qtcreator/default.nix @@ -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 '';