From 0ca049097669c801fa1ea211d520040996173d70f2a040d2588a44cf6454b49f Mon Sep 17 00:00:00 2001 From: Wojciech Kazubski Date: Fri, 20 Sep 2019 12:04:00 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/gnuradio?expand=0&rev=69 --- qt5-maint-0023-gr-qtgui-util.patch | 39 ++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 qt5-maint-0023-gr-qtgui-util.patch diff --git a/qt5-maint-0023-gr-qtgui-util.patch b/qt5-maint-0023-gr-qtgui-util.patch new file mode 100644 index 0000000..e929eb1 --- /dev/null +++ b/qt5-maint-0023-gr-qtgui-util.patch @@ -0,0 +1,39 @@ +From af4ab4e0f745ef3d61effc71824b09d0c15d8b86 Mon Sep 17 00:00:00 2001 +From: "A. Maitland Bottoms" +Date: Mon, 26 Feb 2018 21:36:29 -0500 +Subject: [PATCH] gr qtgui util + +--- + gr-qtgui/python/qtgui/util.py | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) + +diff --git a/gr-qtgui/python/qtgui/util.py b/gr-qtgui/python/qtgui/util.py +index fffc482615..ca9f6f5035 100644 +--- a/gr-qtgui/python/qtgui/util.py ++++ b/gr-qtgui/python/qtgui/util.py +@@ -1,7 +1,7 @@ + #!/usr/bin/env python + # -*- coding: utf-8 -*- + # +-# Copyright 2016 Free Software Foundation, Inc. ++# Copyright 2016,2018 Free Software Foundation, Inc. + # + # This file is part of GNU Radio + # +@@ -21,7 +21,7 @@ + # Boston, MA 02110-1301, USA. + # + +-from PyQt4 import Qt, QtCore, QtGui ++from PyQt5 import Qt, QtCore, QtGui, QtWidgets + from gnuradio import gr + + def check_set_qss(): +@@ -32,4 +32,3 @@ def check_set_qss(): + app.setStyleSheet(open(qssfile).read()) + except: + print "WARNING: bad QSS file, %s"%(qssfile) +- +-- +2.11.0 +