From 330a6f793c5a06c00fec39c8057bd1ff22692ae5 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Wed, 15 Feb 2023 17:10:26 +0100 Subject: [PATCH 1/3] Link with Qt: Remove now harmful check The check was trying to find out if the Qt Creator installation is part of the online installer or a Qt installer, by checking if there are install settings without the key "Settings/InstallSettings". Since we made Qt Creator optional in the installer, the install settings contain that redirection key anyway, so it is no longer an indicator for Qt Creator being part of the online or an Qt installer anymore. Actually the check now _disables_ the Link with Qt button for the commercial Qt Creator offline installer on macOS, because that ships install settings that add the plugin path to the commercial plugins outside the Qt Creator app bundle, but does not contain "Settings/ InstallSettings". Just remove the check. Change-Id: I88c3ef007a728dff0f4214e5a5683ffcede23796 Reviewed-by: Reviewed-by: David Schulz --- src/plugins/qtsupport/qtoptionspage.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/plugins/qtsupport/qtoptionspage.cpp b/src/plugins/qtsupport/qtoptionspage.cpp index 56bd6d47224..8ae0e5d639e 100644 --- a/src/plugins/qtsupport/qtoptionspage.cpp +++ b/src/plugins/qtsupport/qtoptionspage.cpp @@ -852,14 +852,6 @@ static bool canLinkWithQt(QString *toolTip) tip << Tr::tr("%1's resource directory is not writable.") .arg(Core::Constants::IDE_DISPLAY_NAME); } - // guard against redirecting Qt Creator that is part of a Qt installations - // TODO this fails for pre-releases in the online installer - // TODO this will fail when make Qt Creator non-required in the Qt installers - if (installSettingsExist && !installSettingsValue) { - canLink = false; - tip << Tr::tr("%1 is part of a Qt installation.") - .arg(Core::Constants::IDE_DISPLAY_NAME); - } const FilePath link = installSettingsValue ? *installSettingsValue : FilePath(); if (!link.isEmpty()) tip << Tr::tr("%1 is currently linked to \"%2\".") From 78218cd601ed64407b43eb30f19eac944f65a826 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Fri, 17 Feb 2023 13:37:42 +0100 Subject: [PATCH 2/3] Add change log for 9.0.2 Change-Id: Ie94ae6ffab82fcc9eb86275d57c5990f5f1d8ae3 Reviewed-by: Leena Miettinen --- dist/changelog/changes-9.0.2.md | 102 ++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 dist/changelog/changes-9.0.2.md diff --git a/dist/changelog/changes-9.0.2.md b/dist/changelog/changes-9.0.2.md new file mode 100644 index 00000000000..70b50534dea --- /dev/null +++ b/dist/changelog/changes-9.0.2.md @@ -0,0 +1,102 @@ +Qt Creator 9.0.2 +================ + +Qt Creator version 9.0.2 contains bug fixes. + +The most important changes are listed in this document. For a complete list of +changes, see the Git log for the Qt Creator sources that you can check out from +the public Git repository. For example: + + git clone git://code.qt.io/qt-creator/qt-creator.git + git log --cherry-pick --pretty=oneline origin/v9.0.1..v9.0.2 + +General +------- + +* Fixed that the UI language selection dropdown could be empty + (QTCREATORBUG-28591) + +Editing +------- + +* Fixed that the `delete` key on number blocks did not work with multiple + cursors (QTCREATORBUG-28584) +* Fixed a crash with snippets (QTCREATORBUG-28631) +* Fixed a freeze when pressing `Ctrl+D` (QTCREATORBUG-28709) + +### C++ + +* Fixed the update of the code style preview (QTCREATORBUG-28621) +* Fixed some selection rendering issues in code that is not recognized by the + code model (QTCREATORBUG-28637, QTCREATORBUG-28639) +* ClangFormat + * Fixed a crash when indenting (QTCREATORBUG-28600) + +### Language Server Protocol + +* Fixed a wrong response that can crash language servers (QTCREATORBUG-27856, + QTCREATORBUG-28598) + +Projects +-------- + +### CMake + +* Fixed that the path to Ninja from the online installer was not passed to CMake + when using a MSVC toolchain (QTCREATORBUG-28685) +* Fixed the editing of `CMAKE_PREFIX_PATH` in the `Initial Configuration` + (QTCREATORBUG-28779) +* Presets + * Fixed that relative compiler paths in presets were not resolved correctly + (QTCREATORBUG-28602) + * Fixed that changes were not reflected in the kit (QTCREATORBUG-28609) + +### Qmake + +* Fixed a crash when connecting or disconnecting Android devices + (QTCREATORBUG-28370) + +Test Integration +---------------- + +### QtTest + +* Fixed the checked state in the tree +* Fixed the handling of data tags with spaces + +Platforms +--------- + +### macOS + +* Fixed that macOS could ask over and over again for permissions + (QTCREATORBUG-26705) +* Fixed that opening terminals failed on macOS 13 (QTCREATORBUG-28683) +* Fixed the detection of CMake from Homebrew on ARM Macs + +### Android + +* Fixed that `ANDROID_PLATFORM` was missing for NDK 23b and later + (QTCREATORBUG-28624) + +### Remote Linux + +* Fixed that opening a file dialog unnecessarily asked for passwords for + remote devices + +Credits for these changes go to: +-------------------------------- +Alexey Edelev +André Pönitz +Artem Sokolovskii +Christian Kandeler +Christian Stenger +Cristian Adam +David Schulz +Eike Ziller +Leena Miettinen +Marco Bubke +Marcus Tillmanns +Patrik Teivonen +Robert Löhning +Tim Jenssen From 78d17390b8b922efa7681e1ebab7d8c626a1f66d Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Mon, 27 Feb 2023 13:49:12 +0100 Subject: [PATCH 3/3] macOS: Allow Squish to attach itself for RTA https://kb.froglogic.com/squish/mac/troubleshoot/hardened-runtime/#which-entitlements-squish-needs Fixes: SQUISH-15904 Change-Id: Ib3a07ce2cb33d8fef63b21b19af3b7aabbab88ea Reviewed-by: Christian Stenger --- dist/installer/mac/entitlements.plist | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dist/installer/mac/entitlements.plist b/dist/installer/mac/entitlements.plist index 4bf9fbeb0a4..8500f2f703f 100644 --- a/dist/installer/mac/entitlements.plist +++ b/dist/installer/mac/entitlements.plist @@ -12,5 +12,8 @@ com.apple.security.automation.apple-events + + com.apple.security.cs.allow-dyld-environment-variables +