meta/qt5 5.15.19 OpenBSD
C++ general-purpose toolkit, meta-package
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- Categories
- meta
Description
Qt is a cross-platform toolkit for developing applications, mainly GUI-based.
There are some user documentation files in ${PREFIX}/share/doc/qt5, but the main documentation is in the qt5-html package.
There is also a qt5-examples package, that contains tutorial, demos simple example programs (source + binaries).
There's a debug version of the libraries: qt5-debug.
There are database plugins: qt5-mysql, qt5-postgresql and qt5-tds.
People who want to use Qt5 to compile applications outside the ports tree should note that Qt5's installation conforms to OpenBSD habits, not upstream recommendations. Accordingly:
- libs are separated from includes.
- moc is installed as ${PREFIX}/bin/moc-qt5, in order not to conflict with other Qt versions.
- uic is installed as ${PREFIX}/bin/uic-qt5
Generally, it's just a question of invoking:
env MOC=moc-qt5 UIC=uic-qt5 configure \ --with-qt-includes=${PREFIX}/include/X11/qt5 \ --with-qt-libraries=${PREFIX}/lib/qt5
... or, to force MOC/UIC in your make/gmake invocation:
make MOC=moc-qt5 UIC=uic-qt5
will override the Makefile contents.
In the other systems
Install
Binary package:
pkg_add qt5
From the ports tree:
cd /usr/ports/meta/qt5 && make install
Dependencies
Run dependencies 6
No port depends on this one.