OpenBSD Handbook

OpenBSD 7.9 release · amd64 · Generated 2026-09-09

qtbase-examples-5.15.18pl109

QtBase development examples

Back to search · Project homepage

Description

Qt is a cross-platform toolkit for developing applications, mainly GUI-based. There are some user documentation files in ${QT_DOC}, 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, qt5-sqlite2 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 TrollTech's 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 This package contains sources for Qt5 core usage examples.

Package information

Ports path
x11/qt5/qtbase,-examples
Package architecture
*
Maintainer
Rafael Sadowski <rsadowski@openbsd.org>
Categories
x11, x11/qt5, devel
Available flavors
debug
Only for architectures
alpha, hppa, m88k, sh, sparc64, aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

Runtime

Build

Used by (1 dependency relationships)

Includes library, runtime, build and test relationships. Results load 100 at a time.

Installing and updating packages · Package details as JSON