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 /x11-toolkits/qt5-declarative/files/patch-git_26229cf | |
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 'x11-toolkits/qt5-declarative/files/patch-git_26229cf')
-rw-r--r-- | x11-toolkits/qt5-declarative/files/patch-git_26229cf | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/x11-toolkits/qt5-declarative/files/patch-git_26229cf b/x11-toolkits/qt5-declarative/files/patch-git_26229cf new file mode 100644 index 000000000000..90e273de972f --- /dev/null +++ b/x11-toolkits/qt5-declarative/files/patch-git_26229cf @@ -0,0 +1,38 @@ +QtQuick1 does no longer get released since 5.5.1. + +Pull in a patch from git to make it build against the changed api in newer +Qt versions. + +From 26229cfa0b729313893af5674d604e8692dbb946 Mon Sep 17 00:00:00 2001 +From: Richard Moe Gustavsen <richard.gustavsen@theqtcompany.com> +Date: Tue, 26 Apr 2016 15:08:34 +0200 +Subject: [PATCH] QDeclarativeTextInput: update API to use + setBlinkingCursorEnabled + +QWidgetLineControl::setCursorBlinkPeriod was renamed to +QWidgetLineControl::setBlinkingCursorEnabled in qtbase:1b5bc97. +This patch will update QDeclarativeTextInput to use the new API. + +Change-Id: If88c0d44f2ab29c9bc00f5a0226a28d45976ed43 +Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com> +URL: https://codereview.qt-project.org/#/c/157118 +--- + src/declarative/graphicsitems/qdeclarativetextinput.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/declarative/graphicsitems/qdeclarativetextinput.cpp b/src/declarative/graphicsitems/qdeclarativetextinput.cpp +index 3ff75fd..e39d1af 100644 +--- src/declarative/graphicsitems/qdeclarativetextinput.cpp ++++ src/declarative/graphicsitems/qdeclarativetextinput.cpp +@@ -514,7 +514,7 @@ void QDeclarativeTextInput::setCursorVisible(bool on) + if (d->cursorVisible == on) + return; + d->cursorVisible = on; +- d->control->setCursorBlinkPeriod(on?QApplication::cursorFlashTime():0); ++ d->control->setBlinkingCursorEnabled(on); + QRect r = d->control->cursorRect(); + if (d->control->inputMask().isEmpty()) + updateRect(r); +-- +2.8.1 + |