./meta/qt5 [C++ general-purpose toolkit, meta-package]
[+] Add this package to your ports tracker

[ CVSweb ] [ Homepage ] [ RSS feed ]

Version: 5.13.2, Package name: qt5-5.13.2
Maintained by: The OpenBSD ports mailing-list
This is a set of simple examples and a tutorial to Qt5.
This package includes source and binaries.

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

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 \

... or, to force MOC/UIC in your make/gmake invocation:

make MOC=moc-qt5 UIC=uic-qt5

will override the Makefile contents.

Version History (View Complete History)
  • (2020-03-14) Updated to version: qt5-5.13.2
  • (2020-01-13) Updated to version: qt5-5.9.8
  • (2018-01-25) Updated to version: qt5-5.9.4
  • (2017-12-27) Updated to version: qt5-5.9.3
  • (2017-07-17) Updated to version: qt5-5.9.1
  • (2016-12-25) Package added to openports.se, version qt5-5.6.2 (created)
[show/hide] View available PLISTS (Can be a lot of data)

CVS Commit History:

   2020-06-09 16:43:16 by Stuart Henderson | Files touched by this commit (5)
Log message:
move from setting qtwebkit version in a variable in Makefile.version and
passing it around via qt5.port.mk to setting it directly in the qtwebkit
port and setting PKGSPEC so that it's passed automatically.
test/ok rsadowski@
   2020-04-05 09:43:06 by Rafael Sadowski | Files touched by this commit (9)
Log message:
Update qtwebkit to 5.212.0alpha4v0
- https://github.com/qtwebkit/qtwebkit/releases/tag/qtwebkit-5.212.0-alpha4
Port changelog:
- Switch QT5_WEBKIT_VERSION from 5.212.0 to 5.212.0alpha4v0 which includes
an EPOCH bump.
- upstream: "QtWebKit does not require Python 2 anymore for building and can
use Python 3 instead"
sparc64 build by jca@ Thanks!
   2020-03-13 10:53:53 by Rafael Sadowski | Files touched by this commit (165)
Log message:
Update Qt to 5.13.2 and meta/qt5
Notable changes:
The good:
- Most of the work was done in qtbase
- The qtbase port comes with zstd support by default enabled
- Switched from c++11 to c++17
- Option "-openssl-linked" works now, no more ssl,crypto dlopen()d
- All shred lib bumped to be safe
- Many cleaning jobs in the Makefiles
- Add a new Qt submodule: QtLottie
- qtcanvas3d submodule is gone
The bad:
- The docs package is broken for now and unhooked
- vulkan is disabled until arm64 is vulkanready.
- Still no qtwebengine. (That would be a full time job)
- system double-conversion is no longer found by the configure step.
- Be my guest to fix it.
The ugly:
- patch-qmake_generators_unix_unixmake_cpp
-- That was the biggest problem, at the p2k19 I decided to solve by:
"Transform /usr/ports/pobj/xxx/lib/libQt5Core.so into
-L/usr/ports/pobj/xxx/build-amd64/lib -lQt5Core" ... works!
Many thanks to all who made this possible and all the test hours!
Special thanks to  sthen@, landry@, jca@ and cwen@
OK sthen@, landry@
   2020-03-08 05:58:24 by Rafael Sadowski | Files touched by this commit (1)
Log message:
Prepare for upcoming Qt5 update
Unhook qtcanvas3d in meta/qt5, it's gone upstream
OK sthen@
   2020-02-19 09:09:03 by Rafael Sadowski | Files touched by this commit (1)
Log message:
x11/qt5/qtwebkit-examples is gone
   2019-03-08 13:00:57 by Charlene Wendling | Files touched by this commit (344)
Log message:
qt5.port.mk: change COMPILER
Move it to "base-clang ports-gcc" and bump REVISION accordingly.
This unbreaks Qt5-related binaries runtime on macppc.
OK sthen@
   2018-01-25 08:02:26 by Rafael Sadowski | Files touched by this commit (50)
Log message:
Update Qt to 5.9.4
Notable port changes:
- Zap SHARED_LIBS += Qt5EglDeviceIntegration (Lost, long time ago)
- Regen some WANTLIB
- Shared bump in qtdeclarative (New symbols)
- Update Homepage
"commitski" landry@
   2017-12-27 09:27:07 by Rafael Sadowski | Files touched by this commit (42)
Log message:
Update Qt5 to 5.9.3
Only one notable port change:
Fix missing private includes(https://bugreports.qt.io/browse/QTBUG-37417)
bulk by kili@ Thanks!
   2017-07-29 05:40:15 by Vadim Zhukov | Files touched by this commit (1)
Log message:
Unbreak meta/qt5,-main after reorganization under x11/qt5.
Found hard way by naddy@
   2017-07-28 18:07:16 by Vadim Zhukov | Files touched by this commit (260)
Log message:
Rework the process of building Qt5 documentation:
Now all documentation is built using a separate port using
the --single-exec option of qdoc. This gaves significant speedup
as well as fixing quiet a few interlinking problems.
All -qch, -html and -docindex subpackages of Qt modules ports are
removed. The qt5-html and qt5-qch are now provided by x11/qt5/docs
instead of meta/qt5, thus REVISION set from the start.
This commit should fix problems with building Qt5 documentation
that people started seeing after switching to Clang. We also could
zap some interdependencies between Qt5 modules as well, but that's
a different story.
   2017-07-17 02:34:39 by Vadim Zhukov | Files touched by this commit (247)
Log message:
Update from Qt 5.6.2 (LTS) to Qt 5.9.1 (LTS).
Tested with both GCC and CLang (less through).
This forces updating x11/py-qt5, which forces update of devel/py-sip,
which forces update of x11/py-qt4, but, thankfully, no breakage detected.
   2017-05-31 01:55:05 by Marc Espie | Files touched by this commit (2)
Log message:
replace dependencies by stuff that actually exists, as the bootstrap
requires pseudo flavors, which are actually default, and do NOT contain
those subpackages. Somehow no-one noticed those packages haven't been
in snapshots for a while