diff options
author | Tobias C. Berner <tcberner@FreeBSD.org> | 2017-02-18 19:48:05 +0000 |
---|---|---|
committer | Tobias C. Berner <tcberner@FreeBSD.org> | 2017-02-18 19:48:05 +0000 |
commit | f3c180c3431372077934f7658922b8a244419bdf (patch) | |
tree | 4d04227f02c7fda007ad74be01e1393168277b0b /CHANGES | |
parent | Upgrade from 2.2 to 2.3. (diff) |
Update Qt5 to 5.7.1, and unify the Qt4 and Qt5 ports some more
* Update Qt5 to 5.7.1
* Move Qt4 binaries to lib/qt4/bin
* Move Qt5 libraries to lib/qt5/lib
By moving the libraries we should finally be able to get rid of the inplace
upgrade bug (see ports bugs 194088, 195105 and 198720): when Qt5's libraries
were lying in /usr/local/lib, which would often get added by pkgconfig to the
linker paths via dependencies, the already installed libraries were linked
against, instead of the ones that were being built. This forced us to make
sure, that -L${WRKSRC}/lib was always coming before -L/usr/local/lib in the
linker flags. With this change this should no longer be the case.
* Rename some ports to match the rest (foo-qtX -> qtX-foo)
* Depend on new port misc/qtchooser [see UPDATING & CHANGES]
There are several new Qt5 ports which all have been created by Marie Loise Nolden
<nolden@kde.org>. Thanks again.
PR: 216797
Exp-Run by: antoine
Reviewed by: rakuco, mat, groot_kde.org
Approved by: rakuco (mentor)
Differential Revision: https://reviews.freebsd.org/D9213
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -10,6 +10,29 @@ in the release notes and/or placed into UPDATING. All ports committers are allowed to commit to this file. +20170218: +AUTHOR: kde@FreeBSD.org + + * Qt 4's binaries have been moved to lib/qt4/bin to match what is already done + to Qt 5's binaries. Since these binaries are no longer in ${LOCALBASE}/bin, + they also do not have the -qt4 suffix in their names any more. + + * Consequently, there are no Qt 4 or Qt 5 binaries in the default $PATH, and + misc/qtchooser is now used to select the actual Qt binaries. In other + words, calling "qmake" or "moc" now goes through qtchooser, which prefers + Qt 5 binaries by default. + + The ports framework handles this automatically. The UPDATING entry covers + this in more detail. + + * Qt 5.7.1 requires a C++11-capable compiler to be used. qmake and CMake pass + the appropriate flags to the compiler (such as -std=c++11) automatically, + but if your port fetches Qt's build flags via pkg-config (which can be the + case for autotools-based ports), you might need to take care of this + manually by setting USE_CXXSTD in your Makefile: + + USE_CXXSTD= c++11 + 20160116: AUTHOR: mat@FreeBSD.org |