Details
Description
qbs and the qbs core library depend on QtGui. This results in many libraries being pulled in on systems where I probably do not want them (usually servers or virtual machines).
It would be awesome if the qbs binaries (apart from the config ui of course) would not depend on QtGui.
The list of linked libraries is pretty long due to this:
linux-vdso.so.1 => (0x00007ffffe1fe000) libqbscore.so.1 => /lib64/libqbscore.so.1 (0x00007f0e4132a000) libQt5Core.so.5 => /lib64/libQt5Core.so.5 (0x000000332da00000) libstdc++.so.6 => /lib64/libstdc++.so.6 (0x0000003e5ce00000) libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000003e5ae00000) libc.so.6 => /lib64/libc.so.6 (0x0000003e59a00000) libQt5Xml.so.5 => /lib64/libQt5Xml.so.5 (0x000000332f800000) libQt5Gui.so.5 => /lib64/libQt5Gui.so.5 (0x0000003331200000) libQt5Script.so.5 => /lib64/libQt5Script.so.5 (0x0000003331a00000) libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003e5a200000) libz.so.1 => /lib64/libz.so.1 (0x0000003e5aa00000) libicui18n.so.50 => /lib64/libicui18n.so.50 (0x0000003e74800000) libicuuc.so.50 => /lib64/libicuuc.so.50 (0x0000003e72200000) libpcre16.so.0 => /lib64/libpcre16.so.0 (0x00000038b5400000) libdl.so.2 => /lib64/libdl.so.2 (0x0000003e59e00000) libgthread-2.0.so.0 => /lib64/libgthread-2.0.so.0 (0x0000003e5e200000) libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x0000003e5b600000) librt.so.1 => /lib64/librt.so.1 (0x0000003e5b200000) libm.so.6 => /lib64/libm.so.6 (0x0000003e5a600000) /lib64/ld-linux-x86-64.so.2 (0x0000003e59600000) libpng16.so.16 => /lib64/libpng16.so.16 (0x0000003e5e600000) libharfbuzz.so.0 => /lib64/libharfbuzz.so.0 (0x000000336ac00000) libEGL.so.1 => /lib64/libEGL.so.1 (0x000000332f000000) libGL.so.1 => /lib64/libGL.so.1 (0x0000003330e00000) libicudata.so.50 => /lib64/libicudata.so.50 (0x0000003e72a00000) libfreetype.so.6 => /lib64/libfreetype.so.6 (0x00000035d9600000) libgraphite2.so.3 => /lib64/libgraphite2.so.3 (0x0000003e61e00000) libX11-xcb.so.1 => /lib64/libX11-xcb.so.1 (0x0000003e66a00000) libX11.so.6 => /lib64/libX11.so.6 (0x0000003e5d600000) libxcb-dri2.so.0 => /lib64/libxcb-dri2.so.0 (0x0000003e67200000) libxcb-xfixes.so.0 => /lib64/libxcb-xfixes.so.0 (0x0000003e68600000) libxcb-render.so.0 => /lib64/libxcb-render.so.0 (0x0000003e68e00000) libxcb-shape.so.0 => /lib64/libxcb-shape.so.0 (0x0000003e69600000) libxcb.so.1 => /lib64/libxcb.so.1 (0x0000003e5d200000) libgbm.so.1 => /lib64/libgbm.so.1 (0x000000332e200000) libudev.so.1 => /lib64/libudev.so.1 (0x0000003369c00000) libwayland-client.so.0 => /lib64/libwayland-client.so.0 (0x0000003e69200000) libwayland-server.so.0 => /lib64/libwayland-server.so.0 (0x0000003e62e00000) libglapi.so.0 => /lib64/libglapi.so.0 (0x0000003330a00000) libdrm.so.2 => /lib64/libdrm.so.2 (0x000000336a400000) libselinux.so.1 => /lib64/libselinux.so.1 (0x00000035d9200000) libXext.so.6 => /lib64/libXext.so.6 (0x0000003e5ea00000) libXdamage.so.1 => /lib64/libXdamage.so.1 (0x0000003e67a00000) libXfixes.so.3 => /lib64/libXfixes.so.3 (0x0000003e60600000) libxcb-glx.so.0 => /lib64/libxcb-glx.so.0 (0x0000003e68200000) libXxf86vm.so.1 => /lib64/libXxf86vm.so.1 (0x0000003e66200000) libXau.so.6 => /lib64/libXau.so.6 (0x0000003e5da00000) libffi.so.6 => /lib64/libffi.so.6 (0x0000003e5be00000) libpcre.so.1 => /lib64/libpcre.so.1 (0x00000038b4c00000) liblzma.so.5 => /lib64/liblzma.so.5 (0x00000035d8e00000)