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.
This commit is contained in:
Orivej Desh 2017-11-30 09:36:16 +00:00
parent c8d822252b
commit 6b4f0b5bf4

View File

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