From 9e9c85cb4f1f815113887add4911966496eff19344b2f9645290621e2fa1b563 Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Wed, 14 Nov 2018 10:45:36 +0000 Subject: [PATCH 1/8] OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/gammaray?expand=0&rev=36 --- gammaray.changes | 5 +++++ gammaray.spec | 54 +++++++++++++++++++++--------------------------- 2 files changed, 29 insertions(+), 30 deletions(-) diff --git a/gammaray.changes b/gammaray.changes index 60d02a6..fedfca9 100644 --- a/gammaray.changes +++ b/gammaray.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 14 10:37:36 UTC 2018 - Christophe Giboudeaux + +- Remove unneeded build dependencies. + ------------------------------------------------------------------- Fri Oct 5 08:01:34 UTC 2018 - fabian@ritter-vogt.de diff --git a/gammaray.spec b/gammaray.spec index 6dd8b95..8a75688 100644 --- a/gammaray.spec +++ b/gammaray.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -23,7 +23,7 @@ Release: 0 Summary: Introspection/Debugging Tool for Qt Applications License: GPL-2.0-or-later Group: Development/Tools/Debuggers -Url: http://www.kdab.com/gammaray +URL: http://www.kdab.com/gammaray Source: https://github.com/KDAB/GammaRay/releases/download/v%{version}/%{name}-%{version}.tar.gz # PATCH-FIX-UPSTREAM Fix_icons_installation.patch -- Don't try to install multiple copies in exotic subdirs Patch0: Fix_icons_installation.patch @@ -31,14 +31,10 @@ Patch0: Fix_icons_installation.patch Patch1: fix-build-qt-5.12.patch Patch2: fix-build-qt-5.12-again.patch BuildRequires: binutils-devel -BuildRequires: cmake >= 2.8.11 -BuildRequires: fdupes -BuildRequires: kcoreaddons-devel +BuildRequires: cmake >= 3.0 # include this so the icon folders don't need to be owned by the package BuildRequires: doxygen -%if 0%{?suse_version} > 1320 || 0%{?leap_version} >= 420200 -BuildRequires: glslang-devel -%endif +BuildRequires: fdupes BuildRequires: graphviz-devel BuildRequires: graphviz-gnome BuildRequires: hicolor-icon-theme @@ -46,27 +42,16 @@ BuildRequires: kdstatemachineeditor-devel BuildRequires: libQt5Core-private-headers-devel >= 5.3.0 BuildRequires: libQt5Gui-private-headers-devel >= 5.3.0 BuildRequires: libQt5Network-private-headers-devel >= 5.3.0 -BuildRequires: libdw-devel BuildRequires: libqt5-qt3d-devel >= 5.3.0 -BuildRequires: libqt5-qtbase-doc >= 5.3.0 BuildRequires: libqt5-qtdeclarative-private-headers-devel >= 5.3.0 -BuildRequires: libqt5-qtdoc >= 5.3.0 -%if 0%{?suse_version} > 1320 -BuildRequires: libqt5-qtscxml-private-headers-devel >= 5.8.0 -%endif BuildRequires: libqt5-qttools >= 5.3.0 -BuildRequires: libqt5-qtwayland-devel >= 5.3.0 -BuildRequires: libxml2-devel -BuildRequires: python-devel BuildRequires: update-desktop-files BuildRequires: vtk-devel BuildRequires: vtk-java BuildRequires: vtk-qt BuildRequires: vtk-tcl BuildRequires: wayland-devel -%if 0%{?suse_version} > 1320 -BuildRequires: cmake(KF5SyntaxHighlighting) >= 5.28.0 -%endif +BuildRequires: cmake(KF5CoreAddons) BuildRequires: cmake(Qt5Bluetooth) >= 5.3.0 BuildRequires: cmake(Qt5Concurrent) >= 5.3.0 BuildRequires: cmake(Qt5Core) >= 5.3.0 @@ -79,17 +64,26 @@ BuildRequires: cmake(Qt5Qml) >= 5.3.0 BuildRequires: cmake(Qt5Quick) >= 5.3.0 BuildRequires: cmake(Qt5Script) >= 5.3.0 BuildRequires: cmake(Qt5ScriptTools) >= 5.3.0 +BuildRequires: cmake(Qt5Svg) >= 5.3.0 +BuildRequires: cmake(Qt5Test) >= 5.3.0 +BuildRequires: cmake(Qt5WaylandCompositor) >= 5.3.0 +BuildRequires: cmake(Qt5Widgets) >= 5.3.0 +%if 0%{?suse_version} > 1320 || 0%{?leap_version} >= 420200 +BuildRequires: glslang-devel +%endif +%if 0%{?suse_version} > 1320 +BuildRequires: libqt5-qtscxml-private-headers-devel >= 5.8.0 +%endif +%if 0%{?suse_version} > 1320 +BuildRequires: cmake(KF5SyntaxHighlighting) >= 5.28.0 +%endif %if 0%{?suse_version} > 1320 BuildRequires: cmake(Qt5Scxml) >= 5.8.0 %endif -BuildRequires: cmake(Qt5Svg) >= 5.3.0 -BuildRequires: cmake(Qt5Test) >= 5.3.0 -BuildRequires: cmake(Qt5WebKitWidgets) >= 5.3.0 -BuildRequires: cmake(Qt5Widgets) >= 5.3.0 %description -Gamma Ray is a comprehensive collection of high level introspection -and debugging utilities specifically tailored for the various +Gamma Ray is a comprehensive collection of high level introspection +and debugging utilities specifically tailored for the various frameworks in Qt. %package devel @@ -98,12 +92,12 @@ Group: Development/Libraries/C and C++ Requires: %{name} = %{version} %description devel -Gamma Ray is a comprehensive collection of high level introspection -and debugging utilities specifically tailored for the various +Gamma Ray is a comprehensive collection of high level introspection +and debugging utilities specifically tailored for the various frameworks in Qt. Development files. %prep -%setup -q -n %{name}-%{version} +%setup -q %autopatch -p1 %build @@ -123,7 +117,7 @@ cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} \ make VERBOSE=1 %{?_smp_mflags} %install -make DESTDIR=%{buildroot} install +%make_install install -d -m 755 %{buildroot}%{_docdir}/%{name} mv %{buildroot}%{_datadir}/doc/%{name} %{buildroot}%{_docdir} From 3c91ff6a10c07049c51e54273af09682fdacb1a6f4e351f6095546a9a9dac4cb Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Wed, 14 Nov 2018 10:51:37 +0000 Subject: [PATCH 2/8] OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/gammaray?expand=0&rev=37 --- gammaray.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gammaray.spec b/gammaray.spec index 8a75688..89c884a 100644 --- a/gammaray.spec +++ b/gammaray.spec @@ -42,6 +42,7 @@ BuildRequires: kdstatemachineeditor-devel BuildRequires: libQt5Core-private-headers-devel >= 5.3.0 BuildRequires: libQt5Gui-private-headers-devel >= 5.3.0 BuildRequires: libQt5Network-private-headers-devel >= 5.3.0 +BuildRequires: libdw-devel BuildRequires: libqt5-qt3d-devel >= 5.3.0 BuildRequires: libqt5-qtdeclarative-private-headers-devel >= 5.3.0 BuildRequires: libqt5-qttools >= 5.3.0 @@ -67,6 +68,7 @@ BuildRequires: cmake(Qt5ScriptTools) >= 5.3.0 BuildRequires: cmake(Qt5Svg) >= 5.3.0 BuildRequires: cmake(Qt5Test) >= 5.3.0 BuildRequires: cmake(Qt5WaylandCompositor) >= 5.3.0 +BuildRequires: cmake(Qt5WebEngineWidgets) >= 5.3.0 BuildRequires: cmake(Qt5Widgets) >= 5.3.0 %if 0%{?suse_version} > 1320 || 0%{?leap_version} >= 420200 BuildRequires: glslang-devel From be51dafb42a272ed235110179c5c58a35e1ea7750a9226e19df0263ed23d9f30 Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Wed, 14 Nov 2018 11:43:10 +0000 Subject: [PATCH 3/8] OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/gammaray?expand=0&rev=38 --- gammaray.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gammaray.spec b/gammaray.spec index 89c884a..1836b93 100644 --- a/gammaray.spec +++ b/gammaray.spec @@ -44,7 +44,10 @@ BuildRequires: libQt5Gui-private-headers-devel >= 5.3.0 BuildRequires: libQt5Network-private-headers-devel >= 5.3.0 BuildRequires: libdw-devel BuildRequires: libqt5-qt3d-devel >= 5.3.0 +BuildRequires: libqt5-qtbase-doc >= 5.3.0 BuildRequires: libqt5-qtdeclarative-private-headers-devel >= 5.3.0 +# Needed to build the user manual +BuildRequires: libqt5-qtdoc-devel BuildRequires: libqt5-qttools >= 5.3.0 BuildRequires: update-desktop-files BuildRequires: vtk-devel From 077e1eceeee225b86b1a2513c3b8e3f7eac1a94f715723c7caa42a99ad3ea6c9 Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Wed, 14 Nov 2018 11:45:08 +0000 Subject: [PATCH 4/8] OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/gammaray?expand=0&rev=39 --- gammaray.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gammaray.spec b/gammaray.spec index 1836b93..cd8fb3c 100644 --- a/gammaray.spec +++ b/gammaray.spec @@ -70,9 +70,11 @@ BuildRequires: cmake(Qt5Script) >= 5.3.0 BuildRequires: cmake(Qt5ScriptTools) >= 5.3.0 BuildRequires: cmake(Qt5Svg) >= 5.3.0 BuildRequires: cmake(Qt5Test) >= 5.3.0 -BuildRequires: cmake(Qt5WaylandCompositor) >= 5.3.0 BuildRequires: cmake(Qt5WebEngineWidgets) >= 5.3.0 BuildRequires: cmake(Qt5Widgets) >= 5.3.0 +%if 0%{?suse_version} > 1315 +BuildRequires: cmake(Qt5WaylandCompositor) >= 5.3.0 +%endif %if 0%{?suse_version} > 1320 || 0%{?leap_version} >= 420200 BuildRequires: glslang-devel %endif From 9bac68c50490364af17b0acdd507266b0d761272ca7b9a86eb0ea102dfda31cd Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Wed, 14 Nov 2018 11:56:52 +0000 Subject: [PATCH 5/8] OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/gammaray?expand=0&rev=40 --- gammaray.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gammaray.spec b/gammaray.spec index cd8fb3c..ad1ceb6 100644 --- a/gammaray.spec +++ b/gammaray.spec @@ -46,8 +46,6 @@ BuildRequires: libdw-devel BuildRequires: libqt5-qt3d-devel >= 5.3.0 BuildRequires: libqt5-qtbase-doc >= 5.3.0 BuildRequires: libqt5-qtdeclarative-private-headers-devel >= 5.3.0 -# Needed to build the user manual -BuildRequires: libqt5-qtdoc-devel BuildRequires: libqt5-qttools >= 5.3.0 BuildRequires: update-desktop-files BuildRequires: vtk-devel @@ -73,7 +71,13 @@ BuildRequires: cmake(Qt5Test) >= 5.3.0 BuildRequires: cmake(Qt5WebEngineWidgets) >= 5.3.0 BuildRequires: cmake(Qt5Widgets) >= 5.3.0 %if 0%{?suse_version} > 1315 +# Needed to build the user manual +BuildRequires: libqt5-qtdoc-devel +# BuildRequires: cmake(Qt5WaylandCompositor) >= 5.3.0 +%else +# libqt5-qtdoc-devel doesn't exist in leap 42.3 +BuildRequires: libqt5-qtdoc %endif %if 0%{?suse_version} > 1320 || 0%{?leap_version} >= 420200 BuildRequires: glslang-devel From 36666b6354a8b04e3a5d7e4ce772bfb8768638d5a103e132857e47f9729d48aa Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Fri, 1 Mar 2019 07:30:59 +0000 Subject: [PATCH 6/8] Accepting request 680358 from home:wolfi323:branches:KDE:Extra - Update to 2.10.0: * Increase CMake requirement to version 3.1 on all platforms. * Add object navigation to the paint analyzer. * Reduce network load by moving more property model features to the client side. * Port object hierarchy visualizer plugin to Qt 5. * Add new system information plugin, which supersedes the standard paths plugin. * Use application palette rather than style palette in the style inspector. * Improve gdb injector performance. * Reduce performance impact of the widget paint analyzer in Windows debug builds. * Improve Qt Quick item picking in case of zero-sized parent elements. * Provide access to QAbstractItemModel role name mapping. * Add QtPositioning plugin allowing to monitor and simulate geo localization. * Add NMEA geo localization playback. * Add support for generic functor property accessors. * Add property access for mime data and clipboard types. * Add infrastructure to override generic property access, such as Qt Quick anchor properties. * Add custom property access for Qt Quick anchors properties to no longer trigger their on-demand creation. * Add generic problem reporter infrastructure, and port some existing checks to it. - Drop patches merged upstream: * fix-build-qt-5.12.patch * fix-build-qt-5.12-again.patch OBS-URL: https://build.opensuse.org/request/show/680358 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/gammaray?expand=0&rev=41 --- fix-build-qt-5.12-again.patch | 27 --------------------------- fix-build-qt-5.12.patch | 21 --------------------- gammaray-2.10.0.tar.gz | 3 +++ gammaray-2.9.1.tar.gz | 3 --- gammaray.changes | 34 ++++++++++++++++++++++++++++++++++ gammaray.spec | 11 ++++------- 6 files changed, 41 insertions(+), 58 deletions(-) delete mode 100644 fix-build-qt-5.12-again.patch delete mode 100644 fix-build-qt-5.12.patch create mode 100644 gammaray-2.10.0.tar.gz delete mode 100644 gammaray-2.9.1.tar.gz diff --git a/fix-build-qt-5.12-again.patch b/fix-build-qt-5.12-again.patch deleted file mode 100644 index 17a98a2..0000000 --- a/fix-build-qt-5.12-again.patch +++ /dev/null @@ -1,27 +0,0 @@ -From d0c9f9c8a0c62c53812c25e5bd77119f214cd1f8 Mon Sep 17 00:00:00 2001 -From: Volker Krause -Date: Mon, 20 Aug 2018 13:47:35 +0200 -Subject: [PATCH] Adapt to Qt 5.12 V4 identifier changes - ---- - plugins/qmlsupport/qmlcontextpropertyadaptor.cpp | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/plugins/qmlsupport/qmlcontextpropertyadaptor.cpp b/plugins/qmlsupport/qmlcontextpropertyadaptor.cpp -index 2c183f083..1c24eaa44 100644 ---- a/plugins/qmlsupport/qmlcontextpropertyadaptor.cpp -+++ b/plugins/qmlsupport/qmlcontextpropertyadaptor.cpp -@@ -100,8 +100,13 @@ void QmlContextPropertyAdaptor::doSetObject(const ObjectInstance &oi) - QV4::IdentifierHashEntry *e = propNames.d->entries; - QV4::IdentifierHashEntry *end = e + propNames.d->alloc; - while (e < end) { -+#if QT_VERSION < QT_VERSION_CHECK(5, 12, 0) - if (e->identifier) - m_contextPropertyNames.push_back(e->identifier->string); -+#else -+ if (e->identifier.isValid()) -+ m_contextPropertyNames.push_back(e->identifier.toQString()); -+#endif - ++e; - } - #else diff --git a/fix-build-qt-5.12.patch b/fix-build-qt-5.12.patch deleted file mode 100644 index 08718d4..0000000 --- a/fix-build-qt-5.12.patch +++ /dev/null @@ -1,21 +0,0 @@ -From 2cd4585e287a2bcf80572505537e5e75d020c5f5 Mon Sep 17 00:00:00 2001 -From: Volker Krause -Date: Wed, 22 Aug 2018 09:59:42 +0200 -Subject: [PATCH] Compile with Qt 5.12 - ---- - plugins/qmlsupport/qmlbindingprovider.cpp | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/plugins/qmlsupport/qmlbindingprovider.cpp b/plugins/qmlsupport/qmlbindingprovider.cpp -index efc6f2b4d..0d210aa4c 100644 ---- a/plugins/qmlsupport/qmlbindingprovider.cpp -+++ b/plugins/qmlsupport/qmlbindingprovider.cpp -@@ -35,6 +35,7 @@ - // Qt - #include - #include -+#include - #include - #include - #include diff --git a/gammaray-2.10.0.tar.gz b/gammaray-2.10.0.tar.gz new file mode 100644 index 0000000..a2d35bd --- /dev/null +++ b/gammaray-2.10.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0554e43067c2eba3517cf746a921385cf15675db79f879e1c3a7851c4951ffbe +size 9961137 diff --git a/gammaray-2.9.1.tar.gz b/gammaray-2.9.1.tar.gz deleted file mode 100644 index ca1f44d..0000000 --- a/gammaray-2.9.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ba1f6f2b777c550511a17f704b9c340df139de8ba8fa0d72782ea51d0086fa47 -size 9666109 diff --git a/gammaray.changes b/gammaray.changes index fedfca9..211cc7d 100644 --- a/gammaray.changes +++ b/gammaray.changes @@ -1,3 +1,37 @@ +------------------------------------------------------------------- +Thu Feb 28 21:01:00 UTC 2019 - wbauer@tmo.at + +- Update to 2.10.0: + * Increase CMake requirement to version 3.1 on all platforms. + * Add object navigation to the paint analyzer. + * Reduce network load by moving more property model features to + the client side. + * Port object hierarchy visualizer plugin to Qt 5. + * Add new system information plugin, which supersedes the + standard paths plugin. + * Use application palette rather than style palette in the style + inspector. + * Improve gdb injector performance. + * Reduce performance impact of the widget paint analyzer in + Windows debug builds. + * Improve Qt Quick item picking in case of zero-sized parent + elements. + * Provide access to QAbstractItemModel role name mapping. + * Add QtPositioning plugin allowing to monitor and simulate geo + localization. + * Add NMEA geo localization playback. + * Add support for generic functor property accessors. + * Add property access for mime data and clipboard types. + * Add infrastructure to override generic property access, such as + Qt Quick anchor properties. + * Add custom property access for Qt Quick anchors properties to + no longer trigger their on-demand creation. + * Add generic problem reporter infrastructure, and port some + existing checks to it. +- Drop patches merged upstream: + * fix-build-qt-5.12.patch + * fix-build-qt-5.12-again.patch + ------------------------------------------------------------------- Wed Nov 14 10:37:36 UTC 2018 - Christophe Giboudeaux diff --git a/gammaray.spec b/gammaray.spec index ad1ceb6..b8dee13 100644 --- a/gammaray.spec +++ b/gammaray.spec @@ -1,7 +1,7 @@ # # spec file for package gammaray # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -18,7 +18,7 @@ %define tarname GammaRay Name: gammaray -Version: 2.9.1 +Version: 2.10.0 Release: 0 Summary: Introspection/Debugging Tool for Qt Applications License: GPL-2.0-or-later @@ -27,16 +27,13 @@ URL: http://www.kdab.com/gammaray Source: https://github.com/KDAB/GammaRay/releases/download/v%{version}/%{name}-%{version}.tar.gz # PATCH-FIX-UPSTREAM Fix_icons_installation.patch -- Don't try to install multiple copies in exotic subdirs Patch0: Fix_icons_installation.patch -# PATCH-FIX-UPSTREAM -Patch1: fix-build-qt-5.12.patch -Patch2: fix-build-qt-5.12-again.patch BuildRequires: binutils-devel -BuildRequires: cmake >= 3.0 -# include this so the icon folders don't need to be owned by the package +BuildRequires: cmake >= 3.1 BuildRequires: doxygen BuildRequires: fdupes BuildRequires: graphviz-devel BuildRequires: graphviz-gnome +# include this so the icon folders don't need to be owned by the package BuildRequires: hicolor-icon-theme BuildRequires: kdstatemachineeditor-devel BuildRequires: libQt5Core-private-headers-devel >= 5.3.0 From f27962f487d4ad9ae9e52791f19231ab3aff0b0f338af4c88512ed2a2052ab72 Mon Sep 17 00:00:00 2001 From: Wolfgang Bauer Date: Fri, 1 Mar 2019 07:57:34 +0000 Subject: [PATCH 7/8] OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/gammaray?expand=0&rev=42 --- Fix_icons_installation.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Fix_icons_installation.patch b/Fix_icons_installation.patch index f29949f..8862140 100644 --- a/Fix_icons_installation.patch +++ b/Fix_icons_installation.patch @@ -31,3 +31,15 @@ Index: gammaray-2.9.0/ui/resources/CMakeLists.txt endforeach() endif() +Index: gammaray-2.9.0/ui/qhelpcontroller.cpp +=================================================================== +--- gammaray-2.9.0.orig/ui/qhelpcontroller.cpp ++++ gammaray-2.9.0/ui/qhelpcontroller.cpp +@@ -126,6 +126,7 @@ + } + + const QString qhcPath = Paths::documentationPath() + QLatin1String("/gammaray.qhc"); ++ qDebug() << "Wolfi, assistant:" << d->assistantPath << ", qhcPath:" << qhcPath; + if (QFileInfo::exists(qhcPath)) { + d->qhcPath = qhcPath; + return true; From 2db2cc4683cfde3e2d996b79fe1970171e87313598b48361c30d0653b420ad58 Mon Sep 17 00:00:00 2001 From: Wolfgang Bauer Date: Fri, 1 Mar 2019 07:57:58 +0000 Subject: [PATCH 8/8] OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/gammaray?expand=0&rev=43 --- Fix_icons_installation.patch | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Fix_icons_installation.patch b/Fix_icons_installation.patch index 8862140..f29949f 100644 --- a/Fix_icons_installation.patch +++ b/Fix_icons_installation.patch @@ -31,15 +31,3 @@ Index: gammaray-2.9.0/ui/resources/CMakeLists.txt endforeach() endif() -Index: gammaray-2.9.0/ui/qhelpcontroller.cpp -=================================================================== ---- gammaray-2.9.0.orig/ui/qhelpcontroller.cpp -+++ gammaray-2.9.0/ui/qhelpcontroller.cpp -@@ -126,6 +126,7 @@ - } - - const QString qhcPath = Paths::documentationPath() + QLatin1String("/gammaray.qhc"); -+ qDebug() << "Wolfi, assistant:" << d->assistantPath << ", qhcPath:" << qhcPath; - if (QFileInfo::exists(qhcPath)) { - d->qhcPath = qhcPath; - return true;