User:Nolden: Difference between revisions
No edit summary |
No edit summary |
||
Line 19: | Line 19: | ||
Qt Base: | Qt Base: | ||
libiconv gettext-lib glib2 pcre zlib fontconfig harfbuzz freetype2 png openssl dbus icu MesaLib jpeg libproxy | libiconv gettext-lib glib2 pcre zlib fontconfig harfbuzz freetype2 png openssl dbus icu MesaLib jpeg libproxy | ||
libxcb xcb-util xcb-util-image xcb-util-keysyms xcb-util-wm | libxcb xcb-util xcb-util-image xcb-util-keysyms xcb-util-wm | ||
libX11 libXext libXcursor libXft libXmu libXrandr libXrender libxkbcommon libXi libXfixes | |||
libX11 libXext libXcursor libXft libXmu libXrandr libXrender libxkbcommon libXi libXfixes libXdmcp libXau libXcomposite | |||
xproto renderproto randrproto xcb-proto xextproto inputproto fixesproto | xproto renderproto randrproto xcb-proto xextproto inputproto fixesproto | ||
Latest revision as of 06:21, 29 June 2016
Building Qt on FreeBSD, NetBSD and OpenBSD
FreeBSD
On FreeBSD 10.3, Qt 5.6 branch builds using the system compiler clang 3.4 with:
./configure -system-harfbuzz -developer-build
NetBSD
On NetBSD 7.0, Qt 5.6 branch builds using the system compiler gcc 4.8.4 on a full installation (with X11) using:
./configure -system-harfbuzz -system-sqlite
Required packages from pkgsrc or NetBSD packages via pkgin install <package>:
gmake
Qt Base: libiconv gettext-lib glib2 pcre zlib fontconfig harfbuzz freetype2 png openssl dbus icu MesaLib jpeg libproxy
libxcb xcb-util xcb-util-image xcb-util-keysyms xcb-util-wm
libX11 libXext libXcursor libXft libXmu libXrandr libXrender libxkbcommon libXi libXfixes libXdmcp libXau libXcomposite
xproto renderproto randrproto xcb-proto xextproto inputproto fixesproto
Database drivers: postgresql93-client, mysql-client, unixodbc, sqlite, sqlite3, freetds,
Multimedia:
gstreamer1, gst-plugins1-base, alsa-lib
OpenBSD
On OpenBSD 5.9, Qt 5.6 branch builds using the system compiler gcc 4.2.1 with:
./configure -rpath -R /usr/X11R6/lib -no-harfbuzz -no-pch -developer-build -nomake tests
As gcc 4.2.1 doesn't have c++11 features, compile errors are currently in some tests and in the qt3d module. Everything else compiles also in release and debug mode.
For using openssl, install openssl-1.0.2 from packages with pkg_add openssl. It will install libs to /usr/local/lib/eopenssl and includes to /usr/local/include/eopenssl. Those path have to be passed to configure using -I and -L for using openssl. The libressl shipped with OpenBSD is not supported by Qt.