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

[ CVSweb ] [ Homepage ] [ RSS feed ]

Version: 5.13.2, Package name: qtbase-5.13.2
Maintained by: The OpenBSD ports mailing-list
Master sites:
Flavors (export FLAVOR=xyz, setenv FLAVOR xyz):
  • debug
Description-examples
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.

Description-global
This package contains global documentation configuration files for Qt5.

Description-main
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

will override the Makefile contents.

Description-mysql
Qt5 database plugin for connecting to MySQL/MariaDB.

Description-psql
Qt5 database plugin for connecting to PostgreSQL.

Description-sqlite2
Qt5 database plugin for connecting to SQLite 2.x.

Description-tds
Qt5 database plugin for connecting to TDS.


Filesize: 47593.461 KB
Version History (View Complete History)
  • (2020-03-14) Updated to version: qtbase-5.13.2
  • (2019-11-05) Updated to version: qtbase-5.9.8
  • (2018-10-30) Updated to version: qtbase-5.9.7
  • (2018-07-05) Updated to version: qtbase-5.9.6
  • (2018-01-25) Updated to version: qtbase-5.9.4
  • (2017-12-27) Updated to version: qtbase-5.9.3
  • (2017-10-24) Updated to version: qtbase-5.9.2
  • (2017-07-17) Updated to version: qtbase-5.9.1
  • (2016-12-25) Package added to openports.se, version qtbase-5.6.2 (created)
[show/hide] View available PLISTS (Can be a lot of data)

CVS Commit History:

   2020-10-20 10:30:27 by Charlene Wendling | Files touched by this commit (1)
Log message:
qt5/qtbase: does not need audio/pulseaudio, reenable on !rust archs
Remove pulseaudio from BUILD_DEPENDS; there is no reference in the source code
and no configure check anymore. This reenables most of x11/qt5/* on !rust archs,
since pulseaudio needs the rust-powered spidermonkey78.
Was already hinted by adr <adr () sdf ! org> on a now closely related issue.
Tested on macppc and amd64.
OK kn@ and rsadowski@ (maintainer)
   2020-03-16 05:26:47 by Christian Weisgerber | Files touched by this commit (1)
Log message:
fix spelling of REVISION
   2020-03-15 13:57:08 by Rafael Sadowski | Files touched by this commit (2)
Log message:
Enable cups and double-conversion support again
cups is necessary to fix ALL Qt5 print dialogs and double-conversion to return
to the status quo. Cause I'm here, some Makefile cleanups.
Tweak by Vadim, 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-01-07 13:22:09 by Vadim Zhukov | Files touched by this commit (47)
Log message:
Start building debug packages for Qt5.
Some tweaks to come later, but this should be enough for real work for now.
okay rsadowski@
   2019-11-05 03:18:54 by Rafael Sadowski | Files touched by this commit (66)
Log message:
Update Qt to latest TLS version 5.9.8
Tested in an amd64 bulk build by naddy@ Thanks!
multimedia/qtav was fixed. Docs is still broken but fixes are comming soon.
Drop maintainer address because nobody controls the google mailing list
openbsd-kde@googlegroups.com.
   2019-10-18 07:14:36 by Stuart Henderson | Files touched by this commit (1)
Log message:
missed bump
   2019-10-17 13:58:16 by Rafael Sadowski | Files touched by this commit (1)
Log message:
enable math/double-conversion in qtbase
While here, refresh WANTLIB and fix mysql WANTLIB
   2019-06-25 14:25:24 by Stuart Henderson | Files touched by this commit (77)
Log message:
bump REVISION in a bunch of ports known or likely to use struct kinfo_proc,
there may be some missing as my unpacked ports source is a little out of date
but this should catch the main things people might run into
the struct was reordered a second time in sysctl.h r1.192 to improve
compatibility but amd64 snapshot packages made it out before that happened
so the bumps are still needed
   2019-06-24 14:50:41 by Stuart Henderson | Files touched by this commit (2)
Log message:
Fix .la files generated by qt5's qmake, there was a missing newline before
a comment resulting in libtool scripts not being able to parse the line
correctly. Problem reported by Vadim Penzin. Use of 'endl' rather than
'\n' requested by rsadowski.
Bumps to follow for other ports using the qt5 module and including .la files.
   2019-05-20 16:15:31 by Christian Weisgerber | Files touched by this commit (488)
Log message:
Update gettext to 0.20.1.
Follow the upstream recommendations for packagers and switch to
multi-packages:
devel/gettext       -> devel/gettext,-runtime
devel/gettext-tools -> devel/gettext,-tools
(new)                  devel/gettext,-textstyle
   2019-03-21 09:59:11 by Jeremie Courreges-Anglas | Files touched by this commit (1)
Log message:
Let this build on sparc64
   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@
   2019-02-04 14:01:47 by Jeremie Courreges-Anglas | Files touched by this commit (1)
Log message:
Make BROKEN-sparc64 marker more visible
   2019-01-13 05:32:15 by Rafael Sadowski | Files touched by this commit (2)
Log message:
zap -O3 in QMAKE_CFLAGS_OPTIMIZE and respect CXXFLAGS
"go for it" sthen@
   2018-11-30 08:24:09 by Jeremy Evans | Files touched by this commit (1)
Log message:
Bump after ASN1_dup prototype added back to LibreSSL
Recommended by jca@ and jsing@
   2018-11-01 16:00:25 by Rafael Sadowski | Files touched by this commit (5)
Log message:
re-add libreSSL patches to unbreak runtime errors and i386 build
TLS connection verified with otter-browser
Spotted by sthen@; Thanks!
   2018-10-30 02:08:41 by Rafael Sadowski | Files touched by this commit (42)
Log message:
Update Qt to the latest 5.9.7 TLS
- remove QTBUG-68939 backport
- remove libressl patches
Feedback from Vadim and bulk build by landry@ (thanks!)
   2018-08-27 05:06:29 by Theo Buehler | Files touched by this commit (4)
Log message:
Unbreak x11/qt5/qt5declarative build by teaching x11/qt5/qtbase how to
resolve X509_getm_not{Before,After}().
"can't make it worse, can it ?" espie
ok sthen
   2018-08-17 02:21:16 by Vadim Zhukov | Files touched by this commit (3)
Log message:
Fix placing widgets top left corner erroneously (QTBUG-68939).
Fixes KDevelop, Trojita, Vym and others.
From upstream via Caspar Schutijser, many thanks!
   2018-07-05 03:49:14 by Rafael Sadowski | Files touched by this commit (41)
Log message:
Update Qt to latest TLS version 5.9.6
Tested in an amd64 and i386 bulk build by landry@ Thanks!
ok landry@
   2018-03-11 01:20:22 by Landry Breuil | Files touched by this commit (1)
Log message:
Mark as BROKEN-sparc64, configure tries to detect a working STL but
since we're using clang from ports this blows, cf
http://build-failures.rhaalovely.net/sparc64/2018-02-14/x11/qt5/qtbase.log
   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:
- s/MODQT5_USE_GCC4_MODULE/MODQT5_USE_CXX11/
- Zap SHARED_LIBS += Qt5EglDeviceIntegration (Lost, long time ago)
- Regen some WANTLIB
- Shared bump in qtdeclarative (New symbols)
- Update Homepage
Changelog:
https://blog.qt.io/blog/2018/01/23/qt-5-9-4-released/
"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-08-24 03:45:24 by Stuart Henderson | Files touched by this commit (42)
Log message:
bump; textproc/icu4c now uses multi-packages for -wwwdata
   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-27 11:25:40 by Stuart Henderson | Files touched by this commit (1)
Log message:
bump more subpackages
   2017-07-26 16:45:35 by Stuart Henderson | Files touched by this commit (937)
Log message:
bump LIBCXX/LIBECXX/COMPILER_LIBCXX ports.
   2017-07-23 15:33:14 by Vadim Zhukov | Files touched by this commit (2)
Log message:
Do not ever try to use [[...]] C++ attributes unless we're in C++17 mode.
Fixes devel/kf5/ki18n at least.
Prodded by espie@
   2017-07-21 09:28:25 by Vadim Zhukov | Files touched by this commit (3)
Log message:
Fix OpenSSL (actually, LibreSSL) run-time detection code.
Original report from Brendan Doyle <doyle.brendan@yandex.com>, thanks.
   2017-07-19 16:30:12 by Vadim Zhukov | Files touched by this commit (2)
Log message:
Return back QMAKE_INCDIR_PREPEND hack for clang until a better solution
is found.
Hardly prodded by espie@
   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-13 05:06:01 by Christian Weisgerber | Files touched by this commit (1)
Log message:
missing bump after addition of the clang files; ok espie@
   2017-05-12 12:23:59 by Marc Espie | Files touched by this commit (1)
Log message:
add the clang files
   2017-05-12 10:05:06 by Marc Espie | Files touched by this commit (1)
Log message:
qmake does really weird things with includes. We have to register
/usr/include/c++/v1  in order for net/transmission and others to build
   2017-05-08 10:14:32 by Marc Espie | Files touched by this commit (3)
Log message:
add glue to detect clang, and basic configuration
   2017-02-01 07:07:30 by Stuart Henderson | Files touched by this commit (1)
Log message:
Record the dependency on libssl/libcrypto in WANTLIB-main. This would
have been missed previously listed because Qt likes to dlopen() things
so check-lib-depends can't find it, which would stop qt5base getting
updated correctly by pkg_add -u when ssl/crypto libs are updated.
   2017-01-27 09:13:08 by Vadim Zhukov | Files touched by this commit (4)
Log message:
Fix after recent LibreSSL changes.
Nowadays we have fake SSL_CTRL_SET_CURVES macro, and SSL_CTX_set1_curves
defined as synonym to SSL_CTX_set1_groups. So use the latter instead
of the former.
The patch should be tweaked furthermore before proposing it upstream,
but for now we can at least build things again.
   2017-01-08 04:51:14 by Stuart Henderson | Files touched by this commit (3)
Log message:
Backport Qt5 commit https://codereview.qt-project.org/#/c/140750/4//ALL,unified
to prevent unloading Qt plugins in various destructors. Fixes a segfault seen
closing otter-browser using WM kill; otter bug report pointing at the Qt bug
was tracked down by awolk@.  OK zhuk@
   2016-12-27 18:41:24 by Vadim Zhukov | Files touched by this commit (101)
Log message:
Rework Qt5 documentation handling:
* Move share/qt5/doc/* in qtbase from -main to a separate subpackage,
-global, which (as a bonus) "owns" share/doc/qt5/ directory;
* Move FOO.index files from -html to a separate subpackage, -docindex,
and make 'em depend on qtbase,-global;
* Make DEP,-docindex automatically added as BDEP for each DEP in
LDEP and BDEP mentioned for -main;
* Make it clear that building -qch without -html is impossible;
While there, fixed a few minor issues.
This make at least qtenginio,-html build correctly, which failed before
due to missing .index files during qdoc run. Initial report from kili@.