diff options
author | Baptist BENOIST <return_0@live.com> | 2012-11-27 13:54:44 +0100 |
---|---|---|
committer | Baptist BENOIST <return_0@live.com> | 2012-11-27 23:13:18 +0100 |
commit | 876b1c1cac74f5c247c29e91a012fc8315f604dd (patch) | |
tree | 9c16bfe5398cde1272d5d4a67cd3a9cd5a98044c /pkgs/development/qtcreator | |
parent | a40d115a6235f1928ac31c08cf8c7e35a37b9b66 (diff) |
qtcreator: Build QmlDesigner Plugin
Building of this plugin required qt's private headers.
See http://qt.gitorious.org/qt-creator/qt-creator/blobs/master/README for more.
Diffstat (limited to 'pkgs/development/qtcreator')
-rw-r--r-- | pkgs/development/qtcreator/default.nix | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/development/qtcreator/default.nix b/pkgs/development/qtcreator/default.nix index 2713070ecb4c..60ff5ede75a0 100644 --- a/pkgs/development/qtcreator/default.nix +++ b/pkgs/development/qtcreator/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, qt4 }: +{ stdenv, fetchurl, qt4_for_qtcreator }: let version = "2.6.0"; @@ -12,13 +12,16 @@ stdenv.mkDerivation rec { md5 = "9bf01098f84a0fe930b2718d11124204"; }; - buildInputs = [ qt4 ]; + buildInputs = [ qt4_for_qtcreator ]; doCheck = false; enableParallelBuilding = true; - preConfigure = "qmake"; + preConfigure = '' + qmake -spec linux-g++ "QT_PRIVATE_HEADERS=${qt4_for_qtcreator}/include" qtcreator.pro + ''; + installFlags = "INSTALL_ROOT=$(out)"; meta = { |