Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 May 2018 11:56:39 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r470012 - in head/www/qupzilla-qt5: . files
Message-ID:  <201805151156.w4FBudw0015815@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rakuco
Date: Tue May 15 11:56:39 2018
New Revision: 470012
URL: https://svnweb.freebsd.org/changeset/ports/470012

Log:
  Add an upstream patch to fix the build with Qt 5.10.
  
      In file included from webtab/searchtoolbar.cpp:21:
      ../../build/ui_searchtoolbar.h:76:31: error: no viable conversion from 'QLatin1String' to 'const QKeySequence'
              previous->setShortcut(QLatin1String("Ctrl+Shift+G"));
  
  PR:		228213

Added:
  head/www/qupzilla-qt5/files/patch-git_ca2b5f22b   (contents, props changed)
Modified:
  head/www/qupzilla-qt5/Makefile

Modified: head/www/qupzilla-qt5/Makefile
==============================================================================
--- head/www/qupzilla-qt5/Makefile	Tue May 15 11:18:08 2018	(r470011)
+++ head/www/qupzilla-qt5/Makefile	Tue May 15 11:56:39 2018	(r470012)
@@ -2,7 +2,7 @@
 
 PORTNAME=	qupzilla
 PORTVERSION=	1.8.9
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	www
 MASTER_SITES=	https://github.com/QupZilla/${PORTNAME}/releases/download/v${PORTVERSION}/
 PKGNAMESUFFIX=	-qt5

Added: head/www/qupzilla-qt5/files/patch-git_ca2b5f22b
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/qupzilla-qt5/files/patch-git_ca2b5f22b	Tue May 15 11:56:39 2018	(r470012)
@@ -0,0 +1,44 @@
+commit ca2b5f22bedec6dbfa85863e8611ac6c40f1174c
+Author: David Rosca <nowrep@gmail.com>
+Date:   Sun Dec 3 10:13:10 2017 +0100
+
+    SearchToolbar: Don't set shortcuts from UI file
+
+    Fixes build with Qt 5.10
+
+    Closes #2515
+
+--- src/lib/webtab/searchtoolbar.cpp.orig	2015-11-11 15:13:24 UTC
++++ src/lib/webtab/searchtoolbar.cpp
+@@ -35,7 +35,9 @@ SearchToolBar::SearchToolBar(WebView* view, QWidget* p
+ 
+     ui->closeButton->setIcon(IconProvider::standardIcon(QStyle::SP_DialogCloseButton));
+     ui->next->setIcon(IconProvider::standardIcon(QStyle::SP_ArrowDown));
++    ui->next->setShortcut(QKeySequence("Ctrl+G"));
+     ui->previous->setIcon(IconProvider::standardIcon(QStyle::SP_ArrowUp));
++    ui->previous->setShortcut(QKeySequence("Ctrl+Shift+G"));
+ 
+     connect(ui->closeButton, SIGNAL(clicked()), this, SLOT(hide()));
+     connect(ui->lineEdit, SIGNAL(textChanged(QString)), this, SLOT(findNext()));
+--- src/lib/webtab/searchtoolbar.ui.orig	2015-11-11 15:13:24 UTC
++++ src/lib/webtab/searchtoolbar.ui
+@@ -64,9 +64,6 @@
+        <verstretch>0</verstretch>
+       </sizepolicy>
+      </property>
+-     <property name="shortcut">
+-      <string notr="true">Ctrl+Shift+G</string>
+-     </property>
+      <property name="autoRaise">
+       <bool>true</bool>
+      </property>
+@@ -79,9 +76,6 @@
+        <horstretch>0</horstretch>
+        <verstretch>0</verstretch>
+       </sizepolicy>
+-     </property>
+-     <property name="shortcut">
+-      <string notr="true">Ctrl+G</string>
+      </property>
+      <property name="autoRaise">
+       <bool>true</bool>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805151156.w4FBudw0015815>