[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#803937: marked as done (qtcreator: Qt Creator adds a new configuration on each start)



Your message dated Wed, 27 Jan 2016 00:20:05 +0000
with message-id <E1aODq9-0000ZT-63@franck.debian.org>
and subject line Bug#803937: fixed in qtcreator 3.6.0-2
has caused the Debian Bug report #803937,
regarding qtcreator: Qt Creator adds a new configuration on each start
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
803937: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803937
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: qtcreator
Version: 3.5.1+dfsg-2
Severity: normal
Tags: patch

Dear Maintainer,

Qt Creator in Debian currently has a patch "always_autotect_qt_version". 
This is the other half of detection related patches, the other half was 
upstreamed for Qt Creator 3.5.

The remaining Debian patch however causes a new configuration to be 
added to Options -> Build & Run -> Qt Versions tab every time Qt Creator 
is started.

The attached further patch from Ubuntu resolves the problem.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (450, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 4.2.0-1-686-pae (SMP w/1 CPU core)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages qtcreator depends on:
ii  libbotan-1.10-1                       1.10.10-6+b1
ii  libc6                                 2.19-22
ii  libclang1-3.6                         1:3.6.2-3
ii  libgcc1                               1:5.2.1-23
ii  libqbscore1                           1.4.3+dfsg-2
ii  libqbsqtprofilesetup1                 1.4.3+dfsg-2
ii  libqt5concurrent5                     5.5.1+dfsg-6
ii  libqt5core5a [qtbase-abi-5-5-1]       5.5.1+dfsg-6
ii  libqt5designer5                       5.5.1-3
ii  libqt5designercomponents5             5.5.1-3
ii  libqt5gui5                            5.5.1+dfsg-6
ii  libqt5help5                           5.5.1-3
ii  libqt5network5                        5.5.1+dfsg-6
ii  libqt5printsupport5                   5.5.1+dfsg-6
ii  libqt5qml5 [qtdeclarative-abi-5-5-0]  5.5.1-3
ii  libqt5quick5                          5.5.1-3
ii  libqt5quickwidgets5                   5.5.1-3
ii  libqt5sql5                            5.5.1+dfsg-6
ii  libqt5sql5-sqlite                     5.5.1+dfsg-6
ii  libqt5webkit5                         5.5.1+dfsg-2
ii  libqt5widgets5                        5.5.1+dfsg-6
ii  libqt5xml5                            5.5.1+dfsg-6
ii  libstdc++6                            5.2.1-23
ii  qml-module-qtquick-controls           5.5.1-2
ii  qml-module-qtquick2                   5.5.1-3
ii  qtchooser                             52-gae5eeef-2
ii  qtcreator-data                        3.5.1+dfsg-2

Versions of packages qtcreator recommends:
ii  gdb                                   7.10-1
ii  gnome-terminal [x-terminal-emulator]  3.18.1-1
ii  lxterminal [x-terminal-emulator]      0.2.0-1
ii  make                                  4.0-8.2
ii  qt5-doc                               5.5.1-1
ii  qtbase5-dev-tools                     5.5.1+dfsg-6
ii  qtcreator-doc                         3.5.1+dfsg-2
ii  qtdeclarative5-dev-tools              5.5.1-3
ii  qttools5-dev-tools                    5.5.1-3
ii  qttranslations5-l10n                  5.5.1-2
ii  qtxmlpatterns5-dev-tools              5.5.1-2
ii  xterm [x-terminal-emulator]           320-1

Versions of packages qtcreator suggests:
pn  cmake          <none>
ii  g++            4:5.2.1-4
ii  git            1:2.6.2-1
pn  kdelibs5-data  <none>
ii  subversion     1.9.2-2

-- no debconf information
Author: Benjamin Zeller <benjamin.zeller@canonical.com>
Description: Fix piling up of Qt configurations.
 The current Debian Qt autodetection patch registers a "new" Qt version 
 on each Qt Creator startup. This fixes it.
Last-Update: 2015-11-02
Forwarded: no

--- qtcreator/src/plugins/qtsupport/qtversionmanager.cpp	2015-10-21 17:53:48.000000000 +0200
+++ qtcreator/src/plugins/qtsupport/qtversionmanager.cpp	2015-10-22 11:50:21.323455563 +0200
@@ -458,7 +458,7 @@

     QMap<QString, int> currentAutoVersions;
     for (QMap<int, BaseQtVersion *>::const_iterator i = m_versions.begin(); i != m_versions.end(); ++i) {
-        if (i.value()->isAutodetected()) {
+        if (i.value()->isAutodetected() && !i.value()->autodetectionSource().startsWith(QLatin1String("SDK."))) {
             currentAutoVersions.insert(i.value()->qmakeCommand().toString(), i.key());
         }
     }

--- qtcreator/src/libs/utils/buildablehelperlibrary.cpp	2015-08-18 12:02:51.000000000 +0200
+++ qtcreator/src/libs/utils/buildablehelperlibrary.cpp	2015-11-02 12:36:14.974481823 +0100
@@ -88,8 +88,15 @@
 
         if (dir.exists(qmake)) {
             const QString qmakePath = dir.absoluteFilePath(qmake);
-            if (isQmake(qmakePath))
+            if (isQmake(qmakePath)) {
+                QFileInfo fi(qmakePath);
+                if (BuildableHelperLibrary::isQtChooser(fi)) {
+                    const QString qtChooserPath = BuildableHelperLibrary::qtChooserToQmakePath(fi.symLinkTarget());
+                    if (!qtChooserPath.isEmpty())
+                        return FileName::fromString(qtChooserPath);
+                }
                 return FileName::fromString(qmakePath);
+            }
         }

         // Prefer qmake-qt5 to qmake-qt4 by sorting the filenames in reverse order.


--- End Message ---
--- Begin Message ---
Source: qtcreator
Source-Version: 3.6.0-2

We believe that the bug you reported is fixed in the latest version of
qtcreator, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 803937@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adam Majer <adamm@zombino.com> (supplier of updated qtcreator package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 26 Jan 2016 16:03:52 -0600
Source: qtcreator
Binary: qtcreator qtcreator-data qtcreator-dbg qtcreator-doc
Architecture: source
Version: 3.6.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Adam Majer <adamm@zombino.com>
Description:
 qtcreator  - lightweight integrated development environment (IDE) for Qt
 qtcreator-data - application data for Qt Creator IDE
 qtcreator-dbg - debugging symbols for Qt Creator IDE
 qtcreator-doc - documentation for Qt Creator IDE
Closes: 803937 812531
Changes:
 qtcreator (3.6.0-2) unstable; urgency=medium
 .
   * Move libexec executables out from under /usr/bin to under /usr/lib and
     point QtCreator's internal libexec path to the new location. This
     allows plugins like Clangbackend to function once more. (closes: #812531)
   * debian/rules:
       + remove obsolete jQuery-related link and cleanup, since we no longer
         ship +fdsg version.
       + remove unnecessary dh_auto_clean_override
   * debian/qtcreator.install:
       + no longer install unnecessary qtcreator.sh
   * debian/patches/fix_qt_version_autodetection.diff
       + in certain situations it was possible for a Qt version to be
         autodetected as a new installation even it was already found and
         previosuly saved. Add a patch by Benjamin Zeller to fix this issue.
         Thanks to Timo Jyrinki for report (closes: #803937)
Checksums-Sha1:
 1d7950b645f24e75693f2908294b8aaab6383b3e 2839 qtcreator_3.6.0-2.dsc
 cf309ecf6d6c1178ae7562608b9674329c4c4738 18732 qtcreator_3.6.0-2.debian.tar.xz
Checksums-Sha256:
 14a4b21947673959176aa3b733021f4b4d63e1d8770544d51e875f6cf341b6b7 2839 qtcreator_3.6.0-2.dsc
 285755e59767a2eabf0fe8b2b3711ea3d66e593893b221ff68a48432987188ef 18732 qtcreator_3.6.0-2.debian.tar.xz
Files:
 d91587126715b0824cb039f14b90fe85 2839 devel optional qtcreator_3.6.0-2.dsc
 d334d0f68caf60b9ff8ce34a46812a51 18732 devel optional qtcreator_3.6.0-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJWqAdPAAoJEOUj8iCsjfvQe5IP/0sGupD+ve5KZnV53kR0wI3t
yxh5rGEJVpbEInhG7khZw8zvl3Ug1VoRRU/WUp67nluBPjMacBq8kvsgfoC1vl5O
l9krowbrO6Z+3MT2FxYogQPfRLf6fJwEUs4ihZVZeHDN5fNRRIdmURGwaHY3lIqw
s0CQlZdz0/X2r6otLqsrS3fVTJIFhYbdfK9xsr9fghdNmIWLzy2+ENgRYQrt7qcg
yYCZnCQWYmXucx48YvcHpCCcHKpUPzKHAVivGw0KUjjumo6o4lPfA/4PWc2MmJnC
FRgKcnvI0LHuCgOMoqo8Hjb4ubmf/FyLF53eUgqmt1NP5YhfGhLAGGWGKLyzBr42
fmGzi/BL9WIkrAHHk9Jv2mXj21aacTwUKNIrHCdMQaQZs4/Tf9eWw1hCCilqGthQ
mvKfeXh9XY5fEqMxVPk2OnEbQWTc1XSpNnjIpNRml8QPcDmQwwtZf+6Xefbe7Lnl
8hYTzQRSZkiUaiEWt5sDz+a3uQVaT63vt1opbyeLqVXBqo/zigTIwUmzmt2awREx
SoIOXsFwDD5RlAtdRZRnFc1b1AnME2WQ5Wn+HoB4JbIKQaLIHK0FSzAk3+qJLQpc
pCAIUIOhcCyGs4U02MWytcrhSrYwpP3JIsJTKA1FbT0PJFdJ5QOJzF5/VxJP/h3o
Y4ffK29Zvzq8fNZRyTYe
=Famy
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: