User:Nolden
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: libxkbcommon, harfbuzz, png, jpeg, libproxy
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.