[packages/qt-creator] - updated to 3.6.1 - libexec.patch fixed. Design mode works for qml files.

bszx bszx at pld-linux.org
Wed Sep 28 11:08:01 CEST 2016


commit d1e3fef646ab0496f2775d38b73a97e2e682b079
Author: Bartek Szady <bszx at bszx.eu>
Date:   Wed Sep 28 11:06:12 2016 +0200

    - updated to 3.6.1
    - libexec.patch fixed. Design mode works for qml files.

 qt-creator-libexec.patch | 25 +++++++++++++++++++++++++
 qt-creator.spec          |  4 ++--
 2 files changed, 27 insertions(+), 2 deletions(-)
---
diff --git a/qt-creator.spec b/qt-creator.spec
index 002a5f5..b804264 100644
--- a/qt-creator.spec
+++ b/qt-creator.spec
@@ -1,13 +1,13 @@
 Summary:	An IDE tailored to the needs of Qt developers
 Summary(pl.UTF-8):	IDE dostosowane do potrzeb developerow Qt
 Name:		qt-creator
-Version:	3.6.0
+Version:	3.6.1
 Release:	1
 Epoch:		1
 License:	LGPL v2.1
 Group:		X11/Development/Tools
 Source0:	http://download.qt.io/official_releases/qtcreator/3.6/%{version}/%{name}-opensource-src-%{version}.tar.gz
-# Source0-md5:	6b0052a6d671318fca540a190cacd97d
+# Source0-md5:	3b6631cf6ff00bb2a2146553ea6864bf
 Source1:	%{name}.desktop
 Patch0:		%{name}-libexec.patch
 URL:		http://qt.digia.com/Product/Developer-Tools
diff --git a/qt-creator-libexec.patch b/qt-creator-libexec.patch
index 25ded8e..d06f2e4 100644
--- a/qt-creator-libexec.patch
+++ b/qt-creator-libexec.patch
@@ -18,3 +18,28 @@
      INSTALL_DATA_PATH    = $$QTC_PREFIX/share/qtcreator
      INSTALL_DOC_PATH     = $$QTC_PREFIX/share/doc/qtcreator
      INSTALL_BIN_PATH     = $$QTC_PREFIX/bin
+--- qt-creator-opensource-src-3.6.1/src/plugins/coreplugin/icore.cpp.orig	2016-03-08 12:30:19.000000000 +0100
++++ qt-creator-opensource-src-3.6.1/src/plugins/coreplugin/icore.cpp	2016-09-27 22:33:01.376312984 +0200
+@@ -435,21 +435,7 @@
+  */
+ QString ICore::libexecPath()
+ {
+-    QString path;
+-    switch (Utils::HostOsInfo::hostOs()) {
+-    case Utils::OsTypeWindows:
+-        path = QCoreApplication::applicationDirPath();
+-        break;
+-    case Utils::OsTypeMac:
+-        path = QCoreApplication::applicationDirPath() + QLatin1String("/../Resources");
+-        break;
+-    case Utils::OsTypeLinux:
+-    case Utils::OsTypeOtherUnix:
+-    case Utils::OsTypeOther:
+-        path = QCoreApplication::applicationDirPath() + QLatin1String("/../libexec/qtcreator");
+-        break;
+-    }
+-    return QDir::cleanPath(path);
++    return QDir::cleanPath(QLatin1String("/usr/" IDE_LIBRARY_BASENAME "/qtcreator"));
+ }
+ 
+ static QString compilerString()
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/qt-creator.git/commitdiff/d1e3fef646ab0496f2775d38b73a97e2e682b079



More information about the pld-cvs-commit mailing list