From 6b4f0b5bf4541c2c4cab4239ff00526085267c36 Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Thu, 30 Nov 2017 09:36:16 +0000 Subject: [PATCH] qt4: fix parallel building qmake needs uic to extract dependency information from .ui files. In -fast mode qmake generates Makefiles for each subproject after the previous subproject is built, and by the time it encounters subprojects with .ui files, uic is available to provide dependency information. In -no-fast mode qmake builds subprojects in the same order, but generates all Makefiles beforehand, without uic, and they miss dependencies. --- pkgs/development/libraries/qt-4.x/4.8/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/qt-4.x/4.8/default.nix b/pkgs/development/libraries/qt-4.x/4.8/default.nix index 66a58dba32e2..369f328666da 100644 --- a/pkgs/development/libraries/qt-4.x/4.8/default.nix +++ b/pkgs/development/libraries/qt-4.x/4.8/default.nix @@ -130,7 +130,7 @@ stdenv.mkDerivation rec { configureFlags = '' - -v -no-separate-debug-info -release -no-fast -confirm-license -opensource + -v -no-separate-debug-info -release -fast -confirm-license -opensource -${if stdenv.isFreeBSD then "no-" else ""}opengl -xrender -xrandr -xinerama -xcursor -xinput -xfixes -fontconfig -qdbus -${if cups == null then "no-" else ""}cups -glib -dbus-linked -openssl-linked