3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/qt-5/5.9
Thomas Tuegel 75d2a7dc4d
qt5: reduce closure size
First, closure size is reduced by including the static libraries in $out instead
of trying to move them to $dev. The Qt build system cannot handle libraries
being split between different prefixes. Previously, the static libraries were
moved into $dev and the shared libraries were symlinked from $out to $dev to
fool the build system. However, this causes $dev to be retained at
runtime. Instead, we now keep the static libraries in $out. Fortunately, the
static libraries are not very large anyway.

Second, we build with QT_NO_DEBUG defined unless debugging is enabled. This
causes some assertions to be removed; when assertions are included, they pull
paths from $dev into the runtime closure by using the __FILE__ macro. We also
now patch qtbase to remove even more assertions when QT_NO_DEBUG is defined.
2018-01-15 18:48:37 -06:00
..
default.nix qt5: Add qtvirtualkeyboard submodule 2017-12-28 21:13:45 +08:00
fetch.sh Revert "Revert "qt5: 5.9.1 -> 5.9.3"" 2017-12-11 11:32:16 -06:00
qtbase.patch qt5: reduce closure size 2018-01-15 18:48:37 -06:00
qtdeclarative.patch qt5: factor out common definitions and remove symlink farm 2017-11-07 07:18:46 -06:00
qtscript.patch qt5: factor out common definitions and remove symlink farm 2017-11-07 07:18:46 -06:00
qtserialport.patch qt5: factor out common definitions and remove symlink farm 2017-11-07 07:18:46 -06:00
qttools.patch qt5: factor out common definitions and remove symlink farm 2017-11-07 07:18:46 -06:00
qtwebengine-paxmark-mksnapshot.patch qt5: factor out common definitions and remove symlink farm 2017-11-07 07:18:46 -06:00
qtwebkit.patch qt5: factor out common definitions and remove symlink farm 2017-11-07 07:18:46 -06:00
srcs.nix Revert "Revert "qt5: 5.9.1 -> 5.9.3"" 2017-12-11 11:32:16 -06:00