1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 05:00:16 +00:00

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.
This commit is contained in:
Baptist BENOIST 2012-11-27 13:54:44 +01:00
parent a40d115a62
commit 876b1c1cac
2 changed files with 10 additions and 3 deletions

View file

@ -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 = {

View file

@ -4795,6 +4795,10 @@ let
gst_plugins_base = null;
};
qt4_for_qtcreator = qt48.override {
developerBuild = true;
};
qtscriptgenerator = callPackage ../development/libraries/qtscriptgenerator { };
quesoglc = callPackage ../development/libraries/quesoglc { };