Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kdevelop5.15541 for 
openSUSE:Leap:15.2:Update checked in at 2021-01-20 10:24:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2:Update/kdevelop5.15541 (Old)
 and      /work/SRC/openSUSE:Leap:15.2:Update/.kdevelop5.15541.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kdevelop5.15541"

Wed Jan 20 10:24:58 2021 rev:1 rq:863643 version:5.5.2

Changes:
--------
New Changes file:

--- /dev/null   2021-01-11 18:20:20.070723563 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2:Update/.kdevelop5.15541.new.28504/kdevelop5.changes
    2021-01-20 10:25:00.729184404 +0100
@@ -0,0 +1,769 @@
+-------------------------------------------------------------------
+Sat Jan  9 16:37:07 UTC 2021 - [email protected]
+
+- Add Fix-version-check-for-GDB-10.x.patch to make debugging work
+  with gdb-10.x (kde#428688)
+
+-------------------------------------------------------------------
+Tue Jun  2 14:13:17 UTC 2020 - [email protected]
+
+- Update to 5.5.2
+  * Remove plugin "kde repo provider" due to defunct service
+  * Fix extra margins around config pages
+
+-------------------------------------------------------------------
+Tue May  5 20:54:00 UTC 2020 - [email protected]
+
+- Update to 5.5.1
+  * Clang-tidy: fix storing of custom checksets per project
+  * Clazy: fix storing of custom checksets per project
+  * Kdev_format_source: eliminate a global QString constant
+  * Reduce the scope of local variables in KDevFormatFile::read()
+  * Move a format_sources comment from unsupported position
+  * Kdev_format_source: don't ignore the root directory
+  * Kdev_format_source: fix typos in usage/error messages
+  * Work around QDir::match() behavior change in Qt 5.12.0
+    (kde#409222, kde#417628)
+  * Add failing kdev_format_source and grepview tests
+  * Handle errors better in KDevFormatFile::executeCommand()
+  * Grepview: search in hidden files and directories
+  * FindClang.cmake: Add 10 to the allowed versions
+  * Disable CSS images workaround for Qt WebEngine build
+  * Disable extra context menu in Documentation tool view
+  * Fix flickering when loading documentation
+  * [Standard Documentation View] Set the correct mime type for job
+    replies
+  * Breakpoint icon: add 32 px sized breakpoint icon (also pixel-
+    align SVG)
+  * IADM: take C++ standard from build system manager into account
+    (kde#417903)
+  * Clear selection when updating cursor position (kde#415644)
+  * Don't crash when we fail to find a screen for the active
+    tooltip (kde#417151)
+  * Kdev-clang: don't skip unexposed declarations from different
+    files (kde#402066)
+
+-------------------------------------------------------------------
+Thu Feb 27 12:13:46 UTC 2020 - Michel Normand <[email protected]>
+
+- Add _constraints disk 4GB PowerPC to avoid build failure ppc64
+
+-------------------------------------------------------------------
+Mon Feb  3 06:47:51 UTC 2020 - [email protected]
+
+- Update to 5.5.0
+  * Improved C++ language support:
+    + Fix missing header guard warning for a standalone header
+      being always present
+    + Don't crash when signatures don't match in
+      AdaptSignatureAssistant
+    + Clazy: add configurable predefined checkset selections
+    + Clang-tidy: add configurable predefined checkset selections
+    + Don't get confused when encountering parse errors in default
+      args
+    + Fix ClangUtils::getDefaultArguments when encountering macros
+      (kde#369546)
+    + Skip clang-provided override items from code completion
+    + Unbreak move-into-source for non-class functions
+    + Lambda init captures are visited starting with clang 9.0.0
+    + Try a bit harder to find types for look-ahead completion
+  * Welcome page: remove background in active window when plugin is
+    disabled
+  * No longer install modeltest.h, not used externally and
+    deprecated
+  * Fix "invalid project name" hint not always showing
+  * Use default scheme option of KColorSchemeManager if available
+  * Read the global color scheme name from its file
+  * Fix qmljs comment parsing 
+  * Fix the comment formatting for some Doxygen variants
+  * Qmakebuilder: remove unused kcfg files
+  * Fix reformat for long strings
+  * Introduce shell-embedded message area, to avoid dialog windows
+  * Clazy, clang-tidy: share code via new private
+    KDevCompileAnalyzerCommon
+  * Make tar archives reproducible by setting Pax headers
+  * Kdevplatform: remove About data feature
+  * Support for rebasing
+  * Add a setting to disable the close buttons on tabs
+  * CMake: Show project name in showConfigureErrorMessage
+  * TemplatePreview: Enable word-wrap for messagebox and Lines
+    Policy Label
+  * Filetemplates: load and show tooltip for custom options
+  * Pass environment variables from process environment and set up
+    with flatpak environment
+  * Remove usage of columns argument in arch detection since old
+    LTS systems may not have that flag
+  * Pass the android toolchain file path to CMake as a local file
+    path not as a URI
+  * Formatter: Hide KTextEditor minimap for the formatter preview
+  * Shell: use KAboutPluginDialog in LoadedPluginsDialog
+  * Mention all fetch project sources in the documentation
+    (kde#392550)
+  * Script launcher: add env profile configure dialog button to
+    config UI (kde#410914)
+  * Cmake: FindClang: Detect llvm-project.git checkout
+
+-------------------------------------------------------------------
+Tue Jan  7 13:55:48 UTC 2020 - [email protected]
+
+- Update to 5.4.6
+  * Filetemplates: update addresses to web ones for GPLv2 & LGPLv2
+  * Filetemplates: fix wrong text of LGPLv2+ (KDE) (was GPLv2+
+    (KDE) one) (kde#414978)
+  * Shell: default to kdevelop icon for plugins in
+    LoadedPluginsDialog list
+  * Shell: use KAboutPluginDialog in LoadedPluginsDialog
+  * Make ForegroundLock::isLockedForThread() also consider the
+    current thread being the main (Qt) thread, and thus add this
+    check in more places
+  * Clang: Fix a case of concurrent access to KTextEditor
+  * Fix wrongly internally duplicated KHelpMenu instance
+  * Only unload plugins after the DUChain shutdown to prevent
+    infinite loop due to non-loaded factories for types
+
+-------------------------------------------------------------------
+Sun Dec 22 08:04:26 UTC 2019 - [email protected]
+
+- Require exact grantlee5 version by kdevplatform with which it was
+  built, the plugin location contains the version so the installed
+  plugin won't be found by different versions
+
+-------------------------------------------------------------------
+Mon Dec  2 17:33:18 UTC 2019 - [email protected]
+
+- Update to 5.4.5
+  * Add missing forward declaration (qt5.14)
+  * Fix compilation error with gcc 7.4.1, ambiguous overload
+  * Remove bad assert
+  * Remove duplicate fuzzy character "/"
+  * Fix reformat for selected code
+  * Qthelp: Unbreak support for zipped/tarred QCH files from KNS
+  * Qthelp: adapt KNewStuff config to move from collect.kde.org to
+    store.kde.org (kde#377183)
+
+-------------------------------------------------------------------
+Tue Nov  5 10:12:18 UTC 2019 - [email protected]
+
+- Update to 5.4.4
+  * Fix copyright date display in About KDevelop/KDevPlatform
+    dialogs (kde#413390)
+  * FindClang.cmake: also search LLVM version 9
+  * Clang: Workaround for empty problem ranges at start of document
+
+-------------------------------------------------------------------
+Tue Oct 22 10:54:49 UTC 2019 - [email protected]
+
+- Update to 5.4.3
+  * ProblemNavigationContext: Fix incorrect link target for
+    file:line links with declarations
+  * ProjectManagerView: Make items with an empty icon have the same
+    indent as items with a valid icon
+  * Welcome page: fix version of QtQuick.XmlListModel import to
+    match Qt 5.7 ff.
+  * Welcome page: fix version of QtQuick.Layouts import to match
+    Qt 5.7 ff.
+  * [Grepview] Use the correct fallback icon for Collapse All
+  * FileManagerListJob: use a semaphore for locking
+  * Fix Infinite Recursion in DUChain
+  * Cache the defines/includes for gcc-like compilers per language
+    type
+  * Only write defines file when needed
+  * Don't set super long name on completely anon structs
+  * Use type name as fallback ID for anon typedef'ed structs/unions
+    etc. (kde#409041)
+  * Fixed crash when filtering class list (kde#406931)
+  * Gcclikecompiler: properly resolve include paths with symbolic
+    links (kde#405221)
+
+-------------------------------------------------------------------
+Tue Sep  3 12:10:35 UTC 2019 - [email protected]
+
+- Update to 5.4.2
+  * All debuggers: fix VariableCollection to unregister as
+    texthinter provider (kde#411371)
+  * Contextbrowser: register as texthint provider to existing views
+    on creation
+  * Fix crash on text hint being triggered after disabling code
+    browser plugin (kde#411371)
+  * Avoid possible dereference of an invalid iterator (kde#411323)
+  * Kdevplatform/shell: fix outdated window title once project of
+    document loaded
+  * Kdevplatform/shell: work-around for Qt 5.9/macOS bug showing
+    modified indicator
+  * Kdevplatform/shell: restore document modified flag in
+    mainwindow title
+  * Kdevplatform/shell: do not repeat query & differently for
+    current document
+  * Indicate appstream the ps desktop file isn't a separate
++++ 572 more lines (skipped)
++++ between /dev/null
++++ and 
/work/SRC/openSUSE:Leap:15.2:Update/.kdevelop5.15541.new.28504/kdevelop5.changes

New:
----
  Fix-version-check-for-GDB-10.x.patch
  _constraints
  kdevelop-5.5.2.tar.xz
  kdevelop5.changes
  kdevelop5.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kdevelop5.spec ++++++
#
# spec file for package kdevelop5
#
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


%define rname   kdevelop
%define libkdev_major 55
Name:           kdevelop5
Version:        5.5.2
Release:        0
Summary:        Plugin-extensible IDE for C/C++ and other programming languages
License:        GPL-2.0-or-later
Group:          Development/Tools/IDE
URL:            https://www.kdevelop.org
Source0:        
https://download.kde.org/stable/%{rname}/%{version}/src/%{rname}-%{version}.tar.xz
# PATCH-FIX-UPSTREAM
Patch:          Fix-version-check-for-GDB-10.x.patch
BuildRequires:  grantlee5-devel
BuildRequires:  karchive-devel
BuildRequires:  kcmutils-devel
BuildRequires:  kconfig-devel
BuildRequires:  kcrash-devel
BuildRequires:  kdeclarative-devel
BuildRequires:  kdevelop5-pg-qt
BuildRequires:  kdoctools-devel
BuildRequires:  kf5-filesystem
BuildRequires:  kguiaddons-devel
BuildRequires:  ki18n-devel
BuildRequires:  kiconthemes-devel
BuildRequires:  kio-devel
BuildRequires:  kitemmodels-devel
BuildRequires:  kitemviews-devel
BuildRequires:  kjobwidgets-devel
BuildRequires:  knewstuff-devel
BuildRequires:  knotifications-devel
BuildRequires:  knotifyconfig-devel
BuildRequires:  kparts-devel
BuildRequires:  krunner-devel
BuildRequires:  kservice-devel
BuildRequires:  ktexteditor-devel
BuildRequires:  kwindowsystem-devel
BuildRequires:  kxmlgui-devel
BuildRequires:  libboost_headers-devel
BuildRequires:  libkomparediff2-devel
BuildRequires:  libksysguard5-devel
BuildRequires:  llvm-clang-devel
BuildRequires:  okteta-devel
BuildRequires:  pkgconfig
BuildRequires:  plasma-framework-devel
BuildRequires:  purpose-devel
BuildRequires:  shared-mime-info
BuildRequires:  subversion-devel
BuildRequires:  threadweaver-devel
BuildRequires:  cmake(Qt5Concurrent)
BuildRequires:  cmake(Qt5Core)
BuildRequires:  cmake(Qt5DBus)
BuildRequires:  cmake(Qt5Help)
BuildRequires:  cmake(Qt5Quick)
BuildRequires:  cmake(Qt5QuickWidgets)
BuildRequires:  cmake(Qt5Script)
BuildRequires:  cmake(Qt5Test)
%ifarch %{ix86} x86_64 %{arm} aarch64 mips mips64
BuildRequires:  cmake(Qt5WebEngineWidgets)
%else
BuildRequires:  cmake(Qt5WebKitWidgets)
%endif
BuildRequires:  cmake(Qt5Widgets)
# contains the headers that are needed for the C++ parser to work (see 
boo#1119186)
Requires:       clang%(rpm -q --qf '%''{version}' clang-devel | cut -d. -f1)
Recommends:     %{name}-lang
Recommends:     clazy
Recommends:     cppcheck
Recommends:     heaptrack-gui
Conflicts:      kdevelop4
Conflicts:      kdevelop4-plugin-clang
# To allow "zypper in kdevelop"
Provides:       kdevelop = %{version}
# The following plugins were provided by the KDE repos providing unstable 
packages
Provides:       kdevelop5-cpp-parser
Provides:       kdevelop5-plugin-qmljs = %{version}
Obsoletes:      kdevelop5-plugin-qmljs < %{version}
Provides:       kdevelop5-plugin-clang = %{version}
Obsoletes:      kdevelop5-plugin-clang < %{version}
Provides:       kdevelop5-plugin-qmake = %{version}
Obsoletes:      kdevelop5-plugin-qmake < %{version}
Provides:       kdevelop5-plugin-cppsupport = %{version}
Obsoletes:      kdevelop5-plugin-cppsupport < %{version}
# Available separately before, now included in kdevelop5 itself
Provides:       kdevelop5-plugin-clang-tidy = %{version}
Obsoletes:      kdevelop5-plugin-clang-tidy < %{version}

%description
KDevelop is an integrated development environment (IDE).
It provides editing, navigation and debugging features for several programming 
languages,
as well as integration with multiple build systems and version-control systems
using a plugin-based architecture.
KDevelop has parser backends for C, C++ and Javascript/QML,
with further external plugins supporting e.g. PHP or Python.

%package -n kdevplatform
Summary:        Base Package for Integrated Development Environments
Group:          Development/Tools/IDE
Requires:       libkdevplatform%{libkdev_major} = %{version}
Recommends:     kdevplatform-lang
Conflicts:      kdevplatform4
Conflicts:      libkdevplatform4-devel
%requires_eq    grantlee5

%description -n kdevplatform
This package contains the common plugins for integrated developments
environment based on the KDevelop framework.

%package -n libkdevplatform%{libkdev_major}
Summary:        Libraries for Integrated Development Environments
Group:          Development/Tools/IDE
Requires:       kdevplatform
Obsoletes:      libkdevplatform10 < %{version}

%description -n libkdevplatform%{libkdev_major}
This package contains the libraries for integrated development
environments based on the KDevelop framework.

%package -n kdevplatform-devel
Summary:        Base Package for Integrated Development Environments: Build 
Environment
Group:          Development/Tools/IDE
Requires:       libkdevplatform%{libkdev_major} = %{version}
Conflicts:      libkdevplatform4-devel
# Not installed automatically
Requires:       ktexteditor-devel
Requires:       threadweaver-devel

%description -n kdevplatform-devel
This package contains the development files for building integrated
developments environments based on the KDevelop framework.

%package lang
Summary:        Translations for package %{name}
Group:          System/Localization
Requires:       %{name} = %{version}
Supplements:    packageand(bundle-lang-other:%{name})
Conflicts:      kdevelop4-lang
Provides:       %{name}-lang-all = %{version}
# Available separately before, now included in kdevelop5 itself
Provides:       kdevelop5-plugin-clang-tidy-lang = %{version}
Obsoletes:      kdevelop5-plugin-clang-tidy-lang < %{version}
BuildArch:      noarch

%description lang
Provides translations to the package %{name}

%package -n kdevplatform-lang
Summary:        Translations for package kdevplatform
Group:          System/Localization
Requires:       kdevplatform = %{version}
Supplements:    packageand(bundle-lang-other:kdevplatform)
Conflicts:      kdevplatform4-lang
Provides:       kdevplatform-lang-all = %{version}
BuildArch:      noarch

%description -n kdevplatform-lang
Provides translations to the package kdevplatform

%prep
%autosetup -p1 -n %{rname}-%{version}

%build
  %cmake_kf5 -d build
  %make_jobs

%install
  %kf5_makeinstall -C build

  names="kdevandroid kdevappwizard kdevastyle kdevbazaar kdevclang 
kdevclassbrowser \
         kdevclangtidy kdevclazy kdevcmake kdevcmakebuilder kdevcodeutils 
kdevcompileanalyzercommon \
         kdevcontextbrowser kdevcppcheck kdevcustombuildsystem 
kdevcustomdefinesandincludes \
         kdevcustommake kdevcustomscript kdevdebuggercommon kdevdocker 
kdevdocumentswitcher \
         kdevdocumentview kdevelop kdevexecute kdevexecuteplasmoid 
kdevexecutescript \
         kdevexternalscript kdevfilemanager kdevfiletemplates kdevflatpak 
kdevgdb \
         kdevghprovider kdevgit kdevgrepview kdevheaptrack kdevkonsole kdevlldb 
\
         kdevmakebuilder kdevmanpage kdevmesonmanager kdevninja kdevokteta 
kdevopenwith
         kdevpatchreview kdevperforce kdevproblemreporter kdevprojectfilter 
kdevprojectmanagerview \
         kdevqmakebuilder kdevqmakemanager kdevqmljs kdevqthelp kdevquickopen 
kdevscratchpad \
         kdevsourceformatter kdevoutlineview kdevstandardoutputview 
kdevsubversion  \
         kdevswitchtobuddy kdevtestview kdevvcsprojectintegration 
kdevwelcomepage \
         plasma_applet_kdevelopsessions plasma_runner_kdevelopsessions"

  for name in $names; do
    %find_lang $name %{name}.lang
  done

  %find_lang kdevplatform kdevplatform.lang

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post -n kdevplatform -p /sbin/ldconfig
%postun -n kdevplatform -p /sbin/ldconfig
%post -n libkdevplatform%{libkdev_major} -p /sbin/ldconfig
%postun -n libkdevplatform%{libkdev_major} -p /sbin/ldconfig

%files -n libkdevplatform%{libkdev_major}
%license kdevplatform/COPYING*
%{_kf5_libdir}/libKDevPlatform*.so.*

%files
%license COPYING*
%doc README.md
%dir %{_kf5_iconsdir}/hicolor/256x256
%dir %{_kf5_iconsdir}/hicolor/256x256/apps
%dir %{_kf5_iconsdir}/hicolor/512x512
%dir %{_kf5_iconsdir}/hicolor/512x512/apps
%dir %{_kf5_iconsdir}/hicolor/1024x1024
%dir %{_kf5_iconsdir}/hicolor/1024x1024/apps
%doc %lang(en) %{_kf5_htmldir}/en/kdevelop
%exclude %{_kf5_iconsdir}/hicolor/*/actions/breakpoint.*
%{_kf5_applicationsdir}/*kdevelop*.desktop
%{_kf5_appstreamdir}/org.kde.kdevelop.appdata.xml
%{_kf5_bindir}/kdev_includepathsconverter
%{_kf5_bindir}/kdevelop*
%{_kf5_debugdir}/kdevelop.categories
%{_kf5_iconsdir}/*/*/*/*
%if %pkg_vcmp knewstuff-devel >= 5.57.0
# It installs .knsrc files when built with knewstuff-devel >= 5.57.0
%{_kf5_knsrcfilesdir}/*.knsrc
%endif
%{_kf5_libdir}/cmake/KDevelop/
%{_kf5_libdir}/libKDevCMakeCommon.so.*
%{_kf5_libdir}/libKDevClangPrivate.so.*
%{_kf5_libdir}/libKDevCompileAnalyzerCommon.so.*
%{_kf5_notifydir}/kdevelop.notifyrc
%{_kf5_plasmadir}/
%{_kf5_plugindir}/kdevplatform/
%{_kf5_plugindir}/krunner_kdevelopsessions.so
%{_kf5_plugindir}/plasma/
%{_kf5_prefix}/include/kdevelop/
%{_kf5_qmldir}/
%{_kf5_servicesdir}/kdevelopsessions.desktop
%{_kf5_servicesdir}/plasma-applet-kdevelopsessions.desktop
%{_kf5_servicesdir}/plasma-dataengine-kdevelopsessions.desktop
%{_kf5_sharedir}/kdevappwizard/
%{_kf5_sharedir}/kdevclangsupport/
%{_kf5_sharedir}/kdevcodegen/
%{_kf5_sharedir}/kdevcodeutils/
%{_kf5_sharedir}/kdevelop/
%{_kf5_sharedir}/kdevfiletemplates/
%{_kf5_sharedir}/kdevgdb/
%{_kf5_sharedir}/kdevlldb/
%{_kf5_sharedir}/kdevmanpage/
%{_kf5_sharedir}/kdevqmljssupport/
%{_kf5_sharedir}/mime/packages/kdevclang.xml
%{_kf5_sharedir}/mime/packages/kdevelop.xml
%{_kf5_sharedir}/mime/packages/kdevgit.xml

%files lang -f %{name}.lang

%files -n kdevplatform-lang -f kdevplatform.lang

%files -n kdevplatform
%license kdevplatform/COPYING*
%doc kdevplatform/README.md
%{_kf5_bindir}/kdev_dbus_socket_transformer
%{_kf5_bindir}/kdev_format_source
%{_kf5_bindir}/kdevplatform_shell_environment.sh
%{_kf5_debugdir}/kdevplatform.categories
%{_kf5_iconsdir}/hicolor/*/actions/breakpoint.*
%{_kf5_plugindir}/grantlee/
%{_kf5_servicetypesdir}/
%{_kf5_sharedir}/kdevplatform/

%files -n kdevplatform-devel
%license kdevplatform/COPYING*
%{_kf5_libdir}/libKDevPlatform*.so
%{_kf5_libdir}/cmake/KDevPlatform/
%{_kf5_prefix}/include/kdevplatform/

%changelog
++++++ Fix-version-check-for-GDB-10.x.patch ++++++
>From 8831937ffe4849258ed282cb0c720fe1cf2705d4 Mon Sep 17 00:00:00 2001
From: Milian Wolff <[email protected]>
Date: Mon, 26 Oct 2020 12:58:16 +0100
Subject: [PATCH] Fix version check for GDB 10.x

Don't try to parse a version via a regex, just QVersionNumber
instead. While at it, port to QRegularExpression and don't
crash if the response list is empty.
---
 plugins/gdb/debugsession.cpp | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/plugins/gdb/debugsession.cpp b/plugins/gdb/debugsession.cpp
index 48a8ebbe95..f52360f17d 100644
--- a/plugins/gdb/debugsession.cpp
+++ b/plugins/gdb/debugsession.cpp
@@ -52,6 +52,8 @@
 #include <QFileInfo>
 #include <QStandardPaths>
 #include <QGuiApplication>
+#include <QRegularExpression>
+#include <QVersionNumber>
 
 using namespace KDevMI::GDB;
 using namespace KDevMI::MI;
@@ -278,20 +280,20 @@ bool 
DebugSession::loadCoreFile(KDevelop::ILaunchConfiguration*,
 
 void DebugSession::handleVersion(const QStringList& s)
 {
-    qCDebug(DEBUGGERGDB) << s.first();
+    const auto response = s.value(0);
+    qCDebug(DEBUGGERGDB) << response;
     // minimal version is 7.0,0
-    QRegExp rx(QStringLiteral("([7-9]+)\\.([0-9]+)(\\.([0-9]+))?"));
-    int idx = rx.indexIn(s.first());
-    if (idx == -1)
-    {
+    QRegularExpression rx(QStringLiteral("([0-9]+)\\.([0-9]+)(\\.([0-9]+))?"));
+    const auto match = rx.match(response);
+    if (!match.hasMatch() || QVersionNumber::fromString(match.capturedRef(0)) 
< QVersionNumber(7, 0, 0)) {
         if (!qobject_cast<QGuiApplication*>(qApp))  {
             //for unittest
             qFatal("You need a graphical application.");
         }
 
-        const QString messageText =
-            i18n("<b>You need gdb 7.0.0 or higher.</b><br />"
-                 "You are using: %1", s.first());
+        const QString messageText = i18n("<b>You need gdb 7.0.0 or 
higher.</b><br />"
+                                         "You are using: %1",
+                                         response);
         auto* message = new Sublime::Message(messageText, 
Sublime::Message::Error);
         ICore::self()->uiController()->postMessage(message);
         stopDebugger();
-- 
GitLab

++++++ _constraints ++++++
<constraints>
  <overwrite>
    <conditions>
      <arch>ppc64</arch>
      <arch>ppc64le</arch>
    </conditions>
    <hardware>
      <disk>
        <size unit="G">4</size>
      </disk>
    </hardware>
  </overwrite>

</constraints>

Reply via email to