diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2015-11-09 18:15:40 +0100 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2015-11-09 21:00:10 +0100 |
commit | ff4d8513b435cbb9858a6e714f5e50e0d9ae069a (patch) | |
tree | 8c3c67e8752a0b18a908dde5bdd615f7b71868ff /pkgs/development/qtcreator | |
parent | 0435fe715c130fc0de81db5d5c0f9912a98ce129 (diff) |
qtcreator: add qtdeclarative to QML2_IMPORT_PATH
When building with Qt 5.4 this is not a problem, but with Qt 5.5 (tested
locally), it is clear that this dependency is missing:
$ ./result/bin/qtcreator
file:///nix/store/zmpf6ydrjdydd85wh6splpywv6aj4782-qtcreator-3.4.2/share/qtcreator/welcomescreen/welcomescreen.qml:31:1:
module "QtQuick" is not installed
import QtQuick 2.1
^
With Qt 5.4 something else is pulling in the qtdeclarative dependency,
it can be seen in the qtcreator wrapper script.
Note to self: "import QtQuick" != qtquickcontrols. QtQuick is
apparently located in the qtdeclarative module.
Diffstat (limited to 'pkgs/development/qtcreator')
-rw-r--r-- | pkgs/development/qtcreator/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/qtcreator/default.nix b/pkgs/development/qtcreator/default.nix index 8dabd3347fc8..b2460c768f2f 100644 --- a/pkgs/development/qtcreator/default.nix +++ b/pkgs/development/qtcreator/default.nix @@ -46,6 +46,7 @@ stdenv.mkDerivation rec { __EOF__ # Wrap the qtcreator binary addToSearchPath QML2_IMPORT_PATH "${qtLib.quickcontrols}/lib/qt5/qml" + addToSearchPath QML2_IMPORT_PATH "${qtLib.declarative}/lib/qt5/qml" wrapProgram $out/bin/qtcreator \ --prefix QT_PLUGIN_PATH : "$QT_PLUGIN_PATH" \ --prefix QML_IMPORT_PATH : "$QML_IMPORT_PATH" \ |