From bbc31823103a2b3b78d5bfebee87a41b97fee271 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Wed, 8 Jan 2020 08:50:07 +0100 Subject: [PATCH 1/8] Add change log for 4.12 Change-Id: I8c7c713d6b1c81cf6b3f4d944fece12b736cf82d Reviewed-by: Leena Miettinen --- dist/changes-4.12.0.md | 251 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 251 insertions(+) create mode 100644 dist/changes-4.12.0.md diff --git a/dist/changes-4.12.0.md b/dist/changes-4.12.0.md new file mode 100644 index 00000000000..3ff61f12893 --- /dev/null +++ b/dist/changes-4.12.0.md @@ -0,0 +1,251 @@ +Qt Creator 4.12 +=============== + +Qt Creator version 4.12 contains bug fixes and new features. + +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/4.11..v4.12.0 + +General +------- + +* Added `Restart Now` option when changing settings that require restart +* Added option for linking Qt Creator to a Qt installation, sharing + auto-detected Qt versions and kits +* Added guard against crashing plugins at startup, providing the option + to temporarily disable the offending plugin +* Added locator filter for searching in Qt Project bug tracker +* Added option to create custom URL template locator filters +* Added browser for Marketplace items to Welcome mode (QTCREATORBUG-23452) +* Fixed various theming issues + +Help +---- + +* Added tool button for changing target for context help (QTCREATORBUG-17667) +* Added option to register documentation only for highest Qt version, and made that default + (QTCREATORBUG-21482, QTCREATORBUG-22799, QTCREATORBUG-10004) + +Editing +------- + +* Added `Go to Last Edit` +* Added option for default line terminator style (QTCREATORBUG-3590) +* Improved performance of syntax highlighting (QTCREATORBUG-23281) +* Fixed that wizards ignored default file encoding +* Fixed that only restricted number of sizes were allowed for font size (QTCREATORBUG-22536) + +### Language Client + +* Added support for Markdown in tooltips +* Added support for auto-formatting +* Added outline dropdown (QTCREATORBUG-21916) +* Fixed `Ctrl-click` for `Follow Symbol Under Cursor` (QTCREATORBUG-21848) + +### QML + +* Improved support for multiple imports into same namespace (QTCREATORBUG-15684) +* Added scanning of `app.qmltypes` and `lib.qmltypes` for type information + +### Python + +* Added wizards for Qt Quick Application and Qt Widgets Application with `.ui` file + (QTCREATORBUG-21824) + +### Diff Viewer + +* Added support for staging only selected lines (QTCREATORBUG-19071) + +Projects +-------- + +* Added option to hide "disabled" files in Projects tree (QTCREATORBUG-22821) +* Added option to filter output panes for lines that do not match expression (QTCREATORBUG-19596) +* Added option for default build configuration settings (debug information, QML debugging, Qt Quick + Compiler) (QTCREATORBUG-16458) +* Added option to only build target for active run configuration (qmake & Qbs) +* Added option to only stop the target of active run configuration on build (QTCREATORBUG-16470) +* Added option for project specific environment (QTCREATORBUG-21862) +* Added option to remove items from `Recent Projects` list in Welcome mode +* Added option to start run configurations directly from target selector (QTCREATORBUG-21799) +* Added option to build project for all configured kits (QTCREATORBUG-16815) +* Added `-ensure-kit-for-binary` command line option that creates a kit for a binary's + architecture if needed (QTCREATORBUG-8216) +* Added GitHub build workflow to `Qt Creator Plugin` wizard template +* Improved UI responsiveness while parsing projects (QTCREATORBUG-18533) +* Fixed build directory after cloning target (QTCREATORBUG-23462) +* Fixed copying of filtered text from output pane (QTCREATORBUG-23425) + +### QMake + +* Improved renaming of files (QTCREATORBUG-19257) +* Fixed handling of `object_parallel_to_source` (QTCREATORBUG-18136) +* Fixed crash with circular includes (QTCREATORBUG-23567) + +### CMake + +* Improved handling of `source_group` (QTCREATORBUG-23372) +* Added support for `Add build library search path to LD_LIBRARY_PATH` (QTCREATORBUG-23464) +* Added automatic registration of CMake documentation, if available (QTCREATORBUG-21338) +* Fixed issues with `snap` on Ubuntu Linux (QTCREATORBUG-23376) +* Fixed handling of `Enable QML` in debugger settings (QTCREATORBUG-23541) + +### Qbs + +* Changed to use separate Qbs executable instead of direcly linking to Qbs (QTCREATORBUG-20622) +* Added option for default install root (QTCREATORBUG-12983) + +### Python + +* Added option to disable buffered output (QTCREATORBUG-23539) + +### Generic + +* Improved performance for large file trees (QTCREATORBUG-20652) +* Fixed that only first line of `.cflags` and `.cxxflags` was considered + +### Compilation Database + +* Fixed that project was reparsed if compilation database contents did not change + (QTCREATORBUG-22574) + +### Nim + +* Added support for Nimble build system +* Added support for `Follow Symbol Under Cursor` + +Debugging +--------- + +* Added option to hide columns from views (QTCREATORBUG-23342) + +Analyzer +-------- + +### Clang + +* Improved filtering +* Added context menu item that opens help on diagnostics + +### CppCheck + +* Added option to trigger Cppcheck manually + +### Chrome Traces + +* Added more details for counter items +* Added option to restrict view to selected threads +* Added information about percentage of total time for events + +### Heob + +* Added support for settings profiles (QTCREATORBUG-23209) + +Qt Quick Designer +----------------- + +* Added locking and pinning of animation curves (QDS-550, QDS-551) +* Fixed dragging of keyframes in curve editor (QDS-1405) + +Version Control Systems +----------------------- + +### Git + +* Added option to create branch when trying to push to a non-existing branch (QTCREATORBUG-21154) +* Added option to start interactive rebase from log view (QTCREATORBUG-11200) +* Added information about upstream status to `Git Branches` view + +Test Integration +---------------- + +* Added support for colored test output (QTCREATORBUG-22297) + +### Google Test + +* Added support for internal logging (QTCREATORBUG-23354) + +Platforms +--------- + +### Windows + +### macOS + +* Fixed parsing of Apple Clang specific linker message (QTCREATORBUG-19766) +* Fixed `Run in Terminal` and `Open Terminal` when user has different shell configured + (QTCREATORBUG-21712) + +### Android + +* Added auto-detection of Java JDK (QTCREATORBUG-23407) +* Added option to automatically download and install required Android tools (QTCREATORBUG-23285) +* Fixed several issues with AVD manager (QTCREATORBUG-23284, QTCREATORBUG-23448) + +### Remote Linux + +* Added option to use custom command for install step (QTCREATORBUG-23320) +* Added option to override deployment data (QTCREATORBUG-21854) + +### Bare Metal + +* Added support for RL78 architecture +* Added support for J-Link and EBlink GDB servers +* Added support for KEIL uVision v5.x debugger + +Credits for these changes go to: +-------------------------------- +Alessandro Portale +Alexandru Croitor +Andre Hartmann +Andrey Sobol +André Pönitz +Assam Boudjelthia +Camila San +Christian Kandeler +Christian Stenger +Cristian Adam +David Schulz +Denis Shienkov +Dmitry Kovalev +Eike Ziller +Federico Guerinoni +Filippo Cucchetto +Halfdan Ingvarsson +Hannes Domani +Igor Sidorov +Jaroslaw Kobus +Jochen Becher +Knud Dollereder +Leander Schulten +Leena Miettinen +Lucie Gérard +Mahmoud Badri +Mariana Meireles +Marius Sincovici +Maximilian Goldstein +Miikka Heikkinen +Miklós Márton +Mitch Curtis +Mitja Kleider +Nikolai Kosjar +Nikolay Panov +Oliver Wolff +Orgad Shaneh +Robert Löhning +Sergey Morozov +Tasuku Suzuki +Thiago Macieira +Thomas Hartmann +Tim Henning +Tim Jenssen +Tobias Hunger +Topi Reinio +Ulf Hermann +Ville Voutilainen +Volodymyr Samokhatko +zarelaky From c83a33941db57fbfefca907de1a7187a58fa1d9d Mon Sep 17 00:00:00 2001 From: Andre Hartmann Date: Tue, 11 Feb 2020 18:41:15 +0100 Subject: [PATCH 2/8] Doc: Describe diffing from editor to another file Task-number: QTCREATORBUG-17866 Change-Id: I073f998bb9a00bfcf765766b5690a9dc19209a70 Reviewed-by: Leena Miettinen --- doc/qtcreator/src/editors/creator-diff-editor.qdoc | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/qtcreator/src/editors/creator-diff-editor.qdoc b/doc/qtcreator/src/editors/creator-diff-editor.qdoc index d20ed8f9f5a..a49d1028448 100644 --- a/doc/qtcreator/src/editors/creator-diff-editor.qdoc +++ b/doc/qtcreator/src/editors/creator-diff-editor.qdoc @@ -63,6 +63,19 @@ \endlist + To compare the currently opened file against another file in a project + or the filesystem: + + \list 1 + + \li Open the first file in an editor. + + \li Right click on the second file in the \uicontrol Projects + or \uicontrol {File System} view and select + \uicontrol {Diff Against Current File}. + + \endlist + \section1 Viewing the Changes \image creator-diff-editor.png "Diff editor output in the Edit mode" From 09894c6e0b8ec7b3d1accabff97ea26b24be2799 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Wed, 12 Feb 2020 09:11:21 +0100 Subject: [PATCH 3/8] CMake build: Fix libexec path on Linux It's just libexec/qtcreator/ without a trailing bin/ Change-Id: I96015dc5c3bb023dabd5b64f1bb9f83bd85b4d51 Reviewed-by: Cristian Adam --- cmake/QtCreatorAPI.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/QtCreatorAPI.cmake b/cmake/QtCreatorAPI.cmake index 8ca2a4f27f4..d9be18706b0 100644 --- a/cmake/QtCreatorAPI.cmake +++ b/cmake/QtCreatorAPI.cmake @@ -61,7 +61,7 @@ else () set(QT_DEST_PLUGIN_PATH "bin/plugins") set(QT_DEST_QML_PATH "bin/qml") else () - set(_IDE_LIBEXEC_PATH "libexec/${IDE_ID}/bin") + set(_IDE_LIBEXEC_PATH "libexec/${IDE_ID}") set(QT_DEST_PLUGIN_PATH "lib/Qt/plugins") set(QT_DEST_QML_PATH "lib/Qt/qml") endif () From 4610112e7f0c7fc670aff035b58fdb490175b69b Mon Sep 17 00:00:00 2001 From: Cristian Adam Date: Thu, 13 Feb 2020 12:29:04 +0100 Subject: [PATCH 4/8] CMake Build: Exclude Dependencies component from ALL Change-Id: Iedc69399ec2983ecd3359969bf80bdcdfafad37a Reviewed-by: Eike Ziller --- cmake/CMakeLists.txt | 4 ++++ cmake/QtCreatorAPI.cmake | 1 + src/libs/clangsupport/CMakeLists.txt | 3 +++ 3 files changed, 8 insertions(+) diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index 46d49a16909..5904b8bd307 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -26,6 +26,7 @@ if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.16) DIRECTORY "${QT_BASE_DIR}/plugins/${plugin}" DESTINATION ${QT_DEST_PLUGIN_PATH} COMPONENT Dependencies + EXCLUDE_FROM_ALL ${exclusion_mask} ) list(APPEND QT_PLUGIN_DIRECTORIES "${QT_DEST_PLUGIN_PATH}/${plugin}") @@ -35,6 +36,7 @@ if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.16) DIRECTORY "${QT_BASE_DIR}/qml/" DESTINATION ${QT_DEST_QML_PATH} COMPONENT Dependencies + EXCLUDE_FROM_ALL PATTERN "qml/*" ${exclusion_mask} ) @@ -45,6 +47,7 @@ if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.16) install( SCRIPT ${CMAKE_CURRENT_BINARY_DIR}/InstallDependentSharedObjects.cmake COMPONENT Dependencies + EXCLUDE_FROM_ALL ) if (MSVC) @@ -54,6 +57,7 @@ if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.16) install(PROGRAMS ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS} DESTINATION ${IDE_APP_PATH} COMPONENT Dependencies + EXCLUDE_FROM_ALL ) endif() endif() diff --git a/cmake/QtCreatorAPI.cmake b/cmake/QtCreatorAPI.cmake index d9be18706b0..e1f0f1a71d3 100644 --- a/cmake/QtCreatorAPI.cmake +++ b/cmake/QtCreatorAPI.cmake @@ -1046,6 +1046,7 @@ function(add_qtc_executable name) endif() " COMPONENT Dependencies + EXCLUDE_FROM_ALL ) endif() diff --git a/src/libs/clangsupport/CMakeLists.txt b/src/libs/clangsupport/CMakeLists.txt index 89cde64d180..b7e02db6457 100644 --- a/src/libs/clangsupport/CMakeLists.txt +++ b/src/libs/clangsupport/CMakeLists.txt @@ -179,6 +179,7 @@ foreach(executable clang clang-cl clangd clang-tidy clazy-standalone) "${LLVM_TOOLS_BINARY_DIR}/${executable}${CMAKE_EXECUTABLE_SUFFIX}" DESTINATION "${IDE_LIBEXEC_PATH}/clang/bin" COMPONENT Dependencies + EXCLUDE_FROM_ALL ) if (IS_SYMLINK "${LLVM_TOOLS_BINARY_DIR}/${executable}${CMAKE_EXECUTABLE_SUFFIX}") file(READ_SYMLINK @@ -187,6 +188,7 @@ foreach(executable clang clang-cl clangd clang-tidy clazy-standalone) "${LLVM_TOOLS_BINARY_DIR}/${real_executable}${CMAKE_EXECUTABLE_SUFFIX}" DESTINATION "${IDE_LIBEXEC_PATH}/clang/bin" COMPONENT Dependencies + EXCLUDE_FROM_ALL ) endif() endif() @@ -195,4 +197,5 @@ endforeach() install(DIRECTORY ${LLVM_LIBRARY_DIR}/clang/${CLANG_VERSION}/include DESTINATION "${IDE_LIBEXEC_PATH}/clang/lib/clang/${CLANG_VERSION}" COMPONENT Dependencies + EXCLUDE_FROM_ALL ) From cf0e0be5445beb8ab60be03b6f6df3475474fb5c Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Thu, 13 Feb 2020 13:23:07 +0100 Subject: [PATCH 5/8] Qbs: Fix QC version branding Change-Id: Idb15a97db6637c0218053c3754e09716a52a2f96 Reviewed-by: Eike Ziller --- qbs/modules/qtc/qtc.qbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qbs/modules/qtc/qtc.qbs b/qbs/modules/qtc/qtc.qbs index d4dffaa4e6f..169caa10352 100644 --- a/qbs/modules/qtc/qtc.qbs +++ b/qbs/modules/qtc/qtc.qbs @@ -4,7 +4,7 @@ import qbs.FileInfo import "qtc.js" as HelperFunctions Module { - property string qtcreator_display_version: '4.12.0-rc1' + property string qtcreator_display_version: '4.12.0-beta1' property string ide_version_major: '4' property string ide_version_minor: '11' property string ide_version_release: '82' From 1886609ea20049ee61e9c2d711e6d9c66c9f7774 Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Thu, 13 Feb 2020 12:14:36 +0100 Subject: [PATCH 6/8] BareMetal: Fix qbs build Change-Id: I5fdd49de0238583134bc1d0711dc354246876884 Reviewed-by: Christian Stenger --- src/plugins/baremetal/baremetal.qbs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/baremetal/baremetal.qbs b/src/plugins/baremetal/baremetal.qbs index ea82adfa3e6..ac73586a524 100644 --- a/src/plugins/baremetal/baremetal.qbs +++ b/src/plugins/baremetal/baremetal.qbs @@ -7,6 +7,7 @@ QtcPlugin { Depends { name: "Utils" } Depends { name: "Core" } + Depends { name: "CppTools" } Depends { name: "Debugger" } Depends { name: "ProjectExplorer" } Depends { name: "TextEditor" } From 417f1be737e8dd000002d2c8a2c226ca540f90d5 Mon Sep 17 00:00:00 2001 From: Cristian Adam Date: Thu, 13 Feb 2020 12:44:36 +0100 Subject: [PATCH 7/8] CMake Build: Add CMAKE_PREFIX_PATH to the HINTS paths for elfutils Change-Id: I0d4a8974c943a33e538ee2412258401e89ea3c1f Reviewed-by: Eike Ziller --- cmake/Findelfutils.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/Findelfutils.cmake b/cmake/Findelfutils.cmake index b4d043d53ef..ce6ed8d16c9 100644 --- a/cmake/Findelfutils.cmake +++ b/cmake/Findelfutils.cmake @@ -27,7 +27,7 @@ find_path(ELFUTILS_INCLUDE_DIR NAMES libdwfl.h elfutils/libdwfl.h PATH_SUFFIXES include HINTS - "${ELFUTILS_INSTALL_DIR}" ENV ELFUTILS_INSTALL_DIR + "${ELFUTILS_INSTALL_DIR}" ENV ELFUTILS_INSTALL_DIR "${CMAKE_PREFIX_PATH}" ) foreach(lib dw elf eu_compat) @@ -35,7 +35,7 @@ foreach(lib dw elf eu_compat) NAMES ${lib} PATH_SUFFIXES lib HINTS - "${ELFUTILS_INSTALL_DIR}" ENV ELFUTILS_INSTALL_DIR + "${ELFUTILS_INSTALL_DIR}" ENV ELFUTILS_INSTALL_DIR "${CMAKE_PREFIX_PATH}" ) endforeach() From be588f434ea564ee9ae4af052a16f489dada9e42 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Thu, 13 Feb 2020 15:50:23 +0100 Subject: [PATCH 8/8] Bump perfparser to head of 4.12 branch Adding CMake build, updated version number and more Change-Id: I62525b3a2239f0cb6c2906e3aedc7cfed2b64d09 Reviewed-by: Ulf Hermann --- src/tools/perfparser | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/perfparser b/src/tools/perfparser index d2573757702..96b807a354f 160000 --- a/src/tools/perfparser +++ b/src/tools/perfparser @@ -1 +1 @@ -Subproject commit d25737577023ce9fa3bd593f22fa23c3fcaedbfb +Subproject commit 96b807a354f65cbe2c44be10124c6f88fc82e868