aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Jenssen <tim.jenssen@qt.io>2020-05-27 18:59:53 +0200
committerTim Jenssen <tim.jenssen@qt.io>2020-05-27 18:59:53 +0200
commitb193892fd1289bd8a995cd609ead33f925b75ee1 (patch)
tree4d03bf8ea45a9ab542eb6ab129e56a82b860e19c
parentaa79d30b83fc79e8e18af4da0062ddf21fcd201f (diff)
parent13ad8163080153cb5d1ea39238069b5cca8f9651 (diff)
Merge remote-tracking branch 'origin/4.12' into qds-1.50qds-1.50
-rw-r--r--cmake/QtCreatorIDEBranding.cmake4
-rw-r--r--dist/changes-4.12.1.md39
-rw-r--r--doc/qtcreator/images/creator_advanceduse.pngbin2751 -> 0 bytes
-rw-r--r--doc/qtcreator/images/creator_buildingrunning.pngbin3781 -> 0 bytes
-rw-r--r--doc/qtcreator/images/creator_coding.pngbin6324 -> 0 bytes
-rw-r--r--doc/qtcreator/images/creator_designinguserinterface.pngbin4617 -> 0 bytes
-rw-r--r--doc/qtcreator/images/creator_gettinghelp.pngbin2390 -> 0 bytes
-rw-r--r--doc/qtcreator/images/creator_gettingstarted.pngbin2343 -> 0 bytes
-rw-r--r--doc/qtcreator/images/creator_managingprojects.pngbin3034 -> 0 bytes
-rw-r--r--doc/qtcreator/images/creator_publishing.pngbin3716 -> 0 bytes
-rw-r--r--doc/qtcreator/images/creator_testing.pngbin3254 -> 0 bytes
-rw-r--r--doc/qtcreator/images/front-advanced.pngbin0 -> 1964 bytes
-rw-r--r--doc/qtcreator/images/front-coding.pngbin0 -> 6970 bytes
-rw-r--r--doc/qtcreator/images/front-gs.pngbin0 -> 1824 bytes
-rw-r--r--doc/qtcreator/images/front-help.pngbin0 -> 1685 bytes
-rw-r--r--doc/qtcreator/images/front-preview.pngbin0 -> 3359 bytes
-rw-r--r--doc/qtcreator/images/front-projects.pngbin0 -> 2741 bytes
-rw-r--r--doc/qtcreator/images/front-publishing.pngbin0 -> 3254 bytes
-rw-r--r--doc/qtcreator/images/front-testing.pngbin0 -> 2157 bytes
-rw-r--r--doc/qtcreator/images/front-ui.pngbin0 -> 3982 bytes
-rw-r--r--doc/qtcreator/src/analyze/cpu-usage-analyzer.qdoc2
-rw-r--r--doc/qtcreator/src/cmake/creator-projects-cmake-deploying.qdocinc2
-rw-r--r--doc/qtcreator/src/cmake/creator-projects-cmake.qdoc2
-rw-r--r--doc/qtcreator/src/editors/creator-coding.qdoc2
-rw-r--r--doc/qtcreator/src/linux-mobile/creator-deployment-embedded-linux.qdoc8
-rw-r--r--doc/qtcreator/src/linux-mobile/creator-projects-running-generic-linux.qdocinc4
-rw-r--r--doc/qtcreator/src/linux-mobile/creator-projects-settings-run-b2qt.qdocinc12
-rw-r--r--doc/qtcreator/src/linux-mobile/creator-projects-settings-run-linux.qdocinc2
-rw-r--r--doc/qtcreator/src/linux-mobile/linuxdev.qdoc15
-rw-r--r--doc/qtcreator/src/overview/creator-only/creator-advanced.qdoc2
-rw-r--r--doc/qtcreator/src/overview/creator-only/creator-deployment-overview.qdoc2
-rw-r--r--doc/qtcreator/src/overview/creator-only/creator-design-overview.qdoc2
-rw-r--r--doc/qtcreator/src/overview/creator-only/creator-getting-started.qdoc10
-rw-r--r--doc/qtcreator/src/overview/creator-only/creator-help-overview.qdoc2
-rw-r--r--doc/qtcreator/src/overview/creator-only/creator-mobile-targets.qdoc4
-rw-r--r--doc/qtcreator/src/overview/creator-only/creator-overview.qdoc12
-rw-r--r--doc/qtcreator/src/overview/creator-only/creator-supported-platforms.qdoc2
-rw-r--r--doc/qtcreator/src/overview/creator-only/creator-target-platforms.qdocinc41
-rw-r--r--doc/qtcreator/src/overview/creator-only/creator-testing.qdoc2
-rw-r--r--doc/qtcreator/src/overview/creator-only/creator-tutorials.qdoc2
-rw-r--r--doc/qtcreator/src/projects/creator-only/creator-projects-build-run-tutorial.qdoc4
-rw-r--r--doc/qtcreator/src/projects/creator-only/creator-projects-building-running.qdoc2
-rw-r--r--doc/qtcreator/src/projects/creator-only/creator-projects-generic.qdoc9
-rw-r--r--doc/qtcreator/src/projects/creator-only/creator-projects-overview.qdoc2
-rw-r--r--doc/qtcreator/src/projects/creator-only/creator-projects-settings-run.qdoc2
-rw-r--r--doc/qtcreator/src/projects/creator-only/creator-projects-targets.qdoc33
-rw-r--r--doc/qtcreator/src/qnx/creator-deployment-qnx.qdoc2
-rw-r--r--doc/qtcreator/src/qnx/creator-developing-qnx.qdoc5
-rw-r--r--doc/qtcreator/src/qtcreator-toc.qdoc4
-rw-r--r--doc/qtcreator/src/qtcreator.qdoc16
-rw-r--r--doc/qtcreator/src/qtquick/qtquick-connection-editor.qdoc2
-rw-r--r--doc/qtcreator/src/qtquick/qtquick-live-preview-devices.qdoc8
-rw-r--r--doc/qtdesignstudio/examples/ClusterTutorial/ClusterTutorial.qmlproject (renamed from doc/qtdesignstudio/examples/clustertutorial/ClusterTutorial.qmlproject)0
-rw-r--r--doc/qtdesignstudio/examples/CoffeeMachine/ApplicationFlow.qml (renamed from doc/qtdesignstudio/examples/coffeemachine/ApplicationFlow.qml)0
-rw-r--r--doc/qtdesignstudio/examples/CoffeeMachine/CoffeeButton.qml (renamed from doc/qtdesignstudio/examples/coffeemachine/CoffeeButton.qml)0
-rw-r--r--doc/qtdesignstudio/examples/CoffeeMachine/CoffeeMachine.qmlproject (renamed from doc/qtdesignstudio/examples/coffeemachine/CoffeeMachine.qmlproject)0
-rw-r--r--doc/qtdesignstudio/examples/CoffeeMachine/SideBar.qml (renamed from doc/qtdesignstudio/examples/coffeemachine/SideBar.qml)0
-rw-r--r--doc/qtdesignstudio/examples/EBikeDesign/EBikeDesign.qmlproject (renamed from doc/qtdesignstudio/examples/ebikedesign/EBikeDesign.qmlproject)0
-rw-r--r--doc/qtdesignstudio/examples/SideMenu/CustomButton.qml (renamed from doc/qtdesignstudio/examples/sidemenu/CustomButton.qml)0
-rw-r--r--doc/qtdesignstudio/examples/SideMenu/SideMenu.qml (renamed from doc/qtdesignstudio/examples/sidemenu/SideMenu.qml)0
-rw-r--r--doc/qtdesignstudio/examples/SideMenu/SideMenu.qmlproject (renamed from doc/qtdesignstudio/examples/sidemenu/SideMenu.qmlproject)0
-rw-r--r--doc/qtdesignstudio/examples/WebinarDemo/WebinarDemo.qmlproject (renamed from doc/qtdesignstudio/examples/webinardemo/WebinarDemo.qmlproject)0
-rw-r--r--doc/qtdesignstudio/examples/doc/progressbar.qdoc2
-rw-r--r--doc/qtdesignstudio/images/studio-3d-scenes.pngbin1670 -> 2411 bytes
-rw-r--r--doc/qtdesignstudio/images/studio-animation.pngbin6060 -> 4670 bytes
-rw-r--r--doc/qtdesignstudio/images/studio-animation.svg57
-rw-r--r--doc/qtdesignstudio/images/studio-components.pngbin3963 -> 0 bytes
-rw-r--r--doc/qtdesignstudio/images/studio-connections.pngbin3989 -> 0 bytes
-rw-r--r--doc/qtdesignstudio/images/studio-gs.pngbin1852 -> 0 bytes
-rw-r--r--doc/qtdesignstudio/images/studio-help.pngbin1577 -> 0 bytes
-rw-r--r--doc/qtdesignstudio/images/studio-preview.pngbin3532 -> 0 bytes
-rw-r--r--doc/qtdesignstudio/images/studio-projects.pngbin2380 -> 0 bytes
-rw-r--r--doc/qtdesignstudio/images/studio-settings.pngbin1945 -> 0 bytes
-rw-r--r--doc/qtdesignstudio/src/qtdesignstudio.qdoc12
-rw-r--r--qbs/modules/libclang/functions.js3
-rw-r--r--qbs/modules/qtc/qtc.qbs4
-rw-r--r--qtcreator_ide_branding.pri4
-rw-r--r--share/qtcreator/android/sdk_definitions.json4
-rw-r--r--share/qtcreator/debugger/dumper.py2
-rw-r--r--src/libs/utils/fileutils.cpp14
-rw-r--r--src/libs/utils/namevaluesdialog.cpp1
-rw-r--r--src/libs/utils/savedaction.cpp6
-rw-r--r--src/libs/utils/variant.h2
-rw-r--r--src/plugins/android/androidconfigurations.cpp5
-rw-r--r--src/plugins/android/androidextralibrarylistmodel.cpp3
-rw-r--r--src/plugins/android/androidtoolmanager.cpp6
-rw-r--r--src/plugins/clangtools/clangtoolruncontrol.cpp2
-rw-r--r--src/plugins/compilationdatabaseprojectmanager/compilationdatabaseproject.cpp2
-rw-r--r--src/plugins/coreplugin/locator/filesystemfilter.cpp7
-rw-r--r--src/plugins/cpptools/cppfilesettingspage.cpp1
-rw-r--r--src/plugins/git/branchmodel.cpp16
-rw-r--r--src/plugins/mcusupport/mcusupport.qrc2
-rw-r--r--src/plugins/mcusupport/mcusupportoptions.cpp4
-rw-r--r--src/plugins/mcusupport/mcusupportsdk.cpp35
-rw-r--r--src/plugins/mcusupport/wizards/application/BareMetal/main.cpp.tpl14
-rw-r--r--src/plugins/mcusupport/wizards/application/CMakeLists.txt2
-rw-r--r--src/plugins/mcusupport/wizards/application/FreeRTOS/main.cpp.tpl38
-rw-r--r--src/plugins/mcusupport/wizards/application/main.qml.tpl1
-rw-r--r--src/plugins/mcusupport/wizards/application/wizard.json10
-rw-r--r--src/plugins/qmlpreview/qmlpreviewruncontrol.cpp31
-rw-r--r--src/plugins/webassembly/webassemblyrunconfiguration.cpp1
-rw-r--r--tests/system/suite_tools/tst_codepasting/test.py3
102 files changed, 341 insertions, 215 deletions
diff --git a/cmake/QtCreatorIDEBranding.cmake b/cmake/QtCreatorIDEBranding.cmake
index 1e10d7f001..ca406149df 100644
--- a/cmake/QtCreatorIDEBranding.cmake
+++ b/cmake/QtCreatorIDEBranding.cmake
@@ -1,9 +1,9 @@
#BINARY_ARTIFACTS_BRANCH = master
#PROJECT_USER_FILE_EXTENSION = .user
-set(IDE_VERSION "4.12.1") # The IDE version.
+set(IDE_VERSION "4.12.2") # The IDE version.
set(IDE_VERSION_COMPAT "4.12.0") # The IDE Compatibility version.
-set(IDE_VERSION_DISPLAY "4.12.1") # The IDE display version.
+set(IDE_VERSION_DISPLAY "4.12.2") # The IDE display version.
set(IDE_COPYRIGHT_YEAR "2020") # The IDE current copyright year.
set(IDE_SETTINGSVARIANT "QtProject") # The IDE settings variation.
diff --git a/dist/changes-4.12.1.md b/dist/changes-4.12.1.md
index 8a80e1f0f7..c4dd786546 100644
--- a/dist/changes-4.12.1.md
+++ b/dist/changes-4.12.1.md
@@ -14,6 +14,7 @@ General
-------
* Fixed crash when changing font settings (QTCREATORBUG-14385)
+* Fixed availability of `Link with Qt` information on startup (QTCREATORBUG-23900)
Editing
-------
@@ -39,6 +40,10 @@ Projects
* Fixed issue with JOM (QTCREATORBUG-22645)
+### Qbs
+
+* Fixed crash when updating project (QTCREATORBUG-23924)
+
### Compilation Database
* Fixed issues with symbolic links (QTCREATORBUG-23511)
@@ -46,8 +51,13 @@ Projects
Debugging
---------
+* Fixed startup when Python's JSON module is missing (QTCREATORBUG-24004)
* Fixed pretty printing of `std::unique_ptr` with custom deleter (QTCREATORBUG-23885)
+### GDB
+
+* Fixed handling of register addresses with lowercase characters
+* Fixed issue with GDB reporting zero array size in some cases (QTCREATORBUG-23998)
Qt Quick Designer
-----------------
@@ -67,10 +77,39 @@ Platforms
* Fixed crash at startup when Qt is missing in Kit (QTCREATORBUG-23963)
* Fixed `Always use this device for this project` (QTCREATORBUG-23918)
+* Fixed issue with "side by side" NDK installation (QTCREATORBUG-23903)
### OpenBSD
* Fixed Qt ABI detection (QTCREATORBUG-23818)
+### MCU
+
+* Fixed various issues with Kit creation and cleanup
+
Credits for these changes go to:
--------------------------------
+Alessandro Portale
+André Pönitz
+Assam Boudjelthia
+Brook Cronin
+Christian Kandeler
+Christian Stenger
+Cristian Adam
+David Schulz
+Eike Ziller
+Friedemann Kleint
+Henning Gruendl
+Jeremy Ephron
+Johanna Vanhatapio
+Leander Schulten
+Leena Miettinen
+Nikolai Kosjar
+Robert Löhning
+Sebastian Verling
+Sergey Belyashov
+Thiago Macieira
+Thomas Hartmann
+Tim Jenssen
+Venugopal Shivashankar
+Vikas Pachdha
diff --git a/doc/qtcreator/images/creator_advanceduse.png b/doc/qtcreator/images/creator_advanceduse.png
deleted file mode 100644
index c3ec46c38e..0000000000
--- a/doc/qtcreator/images/creator_advanceduse.png
+++ /dev/null
Binary files differ
diff --git a/doc/qtcreator/images/creator_buildingrunning.png b/doc/qtcreator/images/creator_buildingrunning.png
deleted file mode 100644
index a52c4b392f..0000000000
--- a/doc/qtcreator/images/creator_buildingrunning.png
+++ /dev/null
Binary files differ
diff --git a/doc/qtcreator/images/creator_coding.png b/doc/qtcreator/images/creator_coding.png
deleted file mode 100644
index 9597fe831f..0000000000
--- a/doc/qtcreator/images/creator_coding.png
+++ /dev/null
Binary files differ
diff --git a/doc/qtcreator/images/creator_designinguserinterface.png b/doc/qtcreator/images/creator_designinguserinterface.png
deleted file mode 100644
index 85162a52ce..0000000000
--- a/doc/qtcreator/images/creator_designinguserinterface.png
+++ /dev/null
Binary files differ
diff --git a/doc/qtcreator/images/creator_gettinghelp.png b/doc/qtcreator/images/creator_gettinghelp.png
deleted file mode 100644
index c3ae18b392..0000000000
--- a/doc/qtcreator/images/creator_gettinghelp.png
+++ /dev/null
Binary files differ
diff --git a/doc/qtcreator/images/creator_gettingstarted.png b/doc/qtcreator/images/creator_gettingstarted.png
deleted file mode 100644
index e6177959ad..0000000000
--- a/doc/qtcreator/images/creator_gettingstarted.png
+++ /dev/null
Binary files differ
diff --git a/doc/qtcreator/images/creator_managingprojects.png b/doc/qtcreator/images/creator_managingprojects.png
deleted file mode 100644
index dfb2ebe67d..0000000000
--- a/doc/qtcreator/images/creator_managingprojects.png
+++ /dev/null
Binary files differ
diff --git a/doc/qtcreator/images/creator_publishing.png b/doc/qtcreator/images/creator_publishing.png
deleted file mode 100644
index b7e79a9bc3..0000000000
--- a/doc/qtcreator/images/creator_publishing.png
+++ /dev/null
Binary files differ
diff --git a/doc/qtcreator/images/creator_testing.png b/doc/qtcreator/images/creator_testing.png
deleted file mode 100644
index 395f898cdd..0000000000
--- a/doc/qtcreator/images/creator_testing.png
+++ /dev/null
Binary files differ
diff --git a/doc/qtcreator/images/front-advanced.png b/doc/qtcreator/images/front-advanced.png
new file mode 100644
index 0000000000..67e0ef2ad9
--- /dev/null
+++ b/doc/qtcreator/images/front-advanced.png
Binary files differ
diff --git a/doc/qtcreator/images/front-coding.png b/doc/qtcreator/images/front-coding.png
new file mode 100644
index 0000000000..da5cf5f3b6
--- /dev/null
+++ b/doc/qtcreator/images/front-coding.png
Binary files differ
diff --git a/doc/qtcreator/images/front-gs.png b/doc/qtcreator/images/front-gs.png
new file mode 100644
index 0000000000..16c0483535
--- /dev/null
+++ b/doc/qtcreator/images/front-gs.png
Binary files differ
diff --git a/doc/qtcreator/images/front-help.png b/doc/qtcreator/images/front-help.png
new file mode 100644
index 0000000000..9eb11f716a
--- /dev/null
+++ b/doc/qtcreator/images/front-help.png
Binary files differ
diff --git a/doc/qtcreator/images/front-preview.png b/doc/qtcreator/images/front-preview.png
new file mode 100644
index 0000000000..fc57868e11
--- /dev/null
+++ b/doc/qtcreator/images/front-preview.png
Binary files differ
diff --git a/doc/qtcreator/images/front-projects.png b/doc/qtcreator/images/front-projects.png
new file mode 100644
index 0000000000..8ea1a82954
--- /dev/null
+++ b/doc/qtcreator/images/front-projects.png
Binary files differ
diff --git a/doc/qtcreator/images/front-publishing.png b/doc/qtcreator/images/front-publishing.png
new file mode 100644
index 0000000000..cd142df588
--- /dev/null
+++ b/doc/qtcreator/images/front-publishing.png
Binary files differ
diff --git a/doc/qtcreator/images/front-testing.png b/doc/qtcreator/images/front-testing.png
new file mode 100644
index 0000000000..79f80f750a
--- /dev/null
+++ b/doc/qtcreator/images/front-testing.png
Binary files differ
diff --git a/doc/qtcreator/images/front-ui.png b/doc/qtcreator/images/front-ui.png
new file mode 100644
index 0000000000..3613a65676
--- /dev/null
+++ b/doc/qtcreator/images/front-ui.png
Binary files differ
diff --git a/doc/qtcreator/src/analyze/cpu-usage-analyzer.qdoc b/doc/qtcreator/src/analyze/cpu-usage-analyzer.qdoc
index c32e8854b0..2e931ee049 100644
--- a/doc/qtcreator/src/analyze/cpu-usage-analyzer.qdoc
+++ b/doc/qtcreator/src/analyze/cpu-usage-analyzer.qdoc
@@ -460,7 +460,7 @@
\list 1
\li Perf events may be globally disabled on your system. The
- preconfigured Boot to Qt images come with perf events enabled. For
+ preconfigured Boot2Qt images come with perf events enabled. For
a custom configuration you need to make sure that the file
\c {/proc/sys/kernel/perf_event_paranoid} contains a value smaller
than \c {2}. For maximum flexibility in recording traces you can
diff --git a/doc/qtcreator/src/cmake/creator-projects-cmake-deploying.qdocinc b/doc/qtcreator/src/cmake/creator-projects-cmake-deploying.qdocinc
index a9c53ea4e2..abef5908c8 100644
--- a/doc/qtcreator/src/cmake/creator-projects-cmake-deploying.qdocinc
+++ b/doc/qtcreator/src/cmake/creator-projects-cmake-deploying.qdocinc
@@ -32,7 +32,7 @@
/*!
//! [cmake deploying embedded]
- \section1 Deploying CMake Projects to Embedded Linux Devices
+ \section1 Deploying CMake Projects to Generic Remote Linux Devices
\QC cannot directly extract files to be installed from a CMake project.
Therefore, a special deploy step is created that installs the project into
diff --git a/doc/qtcreator/src/cmake/creator-projects-cmake.qdoc b/doc/qtcreator/src/cmake/creator-projects-cmake.qdoc
index e5f61c7caf..d4779653c3 100644
--- a/doc/qtcreator/src/cmake/creator-projects-cmake.qdoc
+++ b/doc/qtcreator/src/cmake/creator-projects-cmake.qdoc
@@ -158,6 +158,6 @@
\li \l {Opening Projects}
\li \l {Specifying Build Settings}
\li \l {Specifying Run Settings}
- \li \l {Deploying CMake Projects to Embedded Linux Devices}
+ \li \l {Deploying CMake Projects to Generic Remote Linux Devices}
\endlist
*/
diff --git a/doc/qtcreator/src/editors/creator-coding.qdoc b/doc/qtcreator/src/editors/creator-coding.qdoc
index 5250c351b6..a8b86f6b58 100644
--- a/doc/qtcreator/src/editors/creator-coding.qdoc
+++ b/doc/qtcreator/src/editors/creator-coding.qdoc
@@ -41,7 +41,7 @@
\title Coding
\if defined(qtcreator)
- \image creator_coding.png
+ \image front-coding.png
\endif
\list
diff --git a/doc/qtcreator/src/linux-mobile/creator-deployment-embedded-linux.qdoc b/doc/qtcreator/src/linux-mobile/creator-deployment-embedded-linux.qdoc
index 7eeb4f6820..a7efe0ba1a 100644
--- a/doc/qtcreator/src/linux-mobile/creator-deployment-embedded-linux.qdoc
+++ b/doc/qtcreator/src/linux-mobile/creator-deployment-embedded-linux.qdoc
@@ -38,11 +38,11 @@
\nextpage creator-deployment-qnx.html
\endif
- \title Deploying Applications to Embedded Linux Devices
+ \title Deploying Applications to Generic Remote Linux Devices
- You can specify settings for deploying applications to generic Linux devices
- in the project .pro file. You can view the settings in the
- \uicontrol Projects mode, in \uicontrol {Run Settings}.
+ You can specify settings for deploying applications to generic remote
+ Linux devices in the project .pro file. You can view the settings in
+ the \uicontrol Projects mode, in \uicontrol {Run Settings}.
\image qtcreator-embedded-linux-deployment-overview.png "Deploy to device"
diff --git a/doc/qtcreator/src/linux-mobile/creator-projects-running-generic-linux.qdocinc b/doc/qtcreator/src/linux-mobile/creator-projects-running-generic-linux.qdocinc
index f573a0de79..a744b6e9e9 100644
--- a/doc/qtcreator/src/linux-mobile/creator-projects-running-generic-linux.qdocinc
+++ b/doc/qtcreator/src/linux-mobile/creator-projects-running-generic-linux.qdocinc
@@ -26,14 +26,14 @@
/*!
//! [running on embedded linux]
- \section1 Running on Embedded Linux Devices
+ \section1 Running on Generic Remote Linux Devices
To build the application and run it on a device:
\list 1
\li Specify a connection to the device. For more information, see
- \l{Connecting Embedded Linux Devices}.
+ \l{Connecting Generic Remote Linux Devices}.
\li Click the \uicontrol Run button.
diff --git a/doc/qtcreator/src/linux-mobile/creator-projects-settings-run-b2qt.qdocinc b/doc/qtcreator/src/linux-mobile/creator-projects-settings-run-b2qt.qdocinc
index ea34ff83de..5a7edda0f5 100644
--- a/doc/qtcreator/src/linux-mobile/creator-projects-settings-run-b2qt.qdocinc
+++ b/doc/qtcreator/src/linux-mobile/creator-projects-settings-run-b2qt.qdocinc
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2017 The Qt Company Ltd.
+** Copyright (C) 2020 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the Qt Creator documentation.
@@ -24,11 +24,11 @@
****************************************************************************/
/*!
-//! [run settings embedded]
+//! [run settings boot2qt]
- \section1 Specifying Run Settings for Embedded Devices
+ \section1 Specifying Run Settings for Boot2Qt Devices
- To run and debug an application on an embedded device (commercial only), you
+ To run and debug an application on a Boot2Qt device (commercial only), you
must create connections from the development host to the device and add the
device configurations to \l{glossary-buildandrun-kit}{kits}. Select
\uicontrol {Manage Kits} to add devices to kits. For more information, see
@@ -41,7 +41,7 @@
host and on the device.
For more information on the deployment steps, see
- \l{Deploying Applications to Embedded Linux Devices}.
+ \l{Deploying Applications to Generic Remote Linux Devices}.
-//! [run settings embedded]
+//! [run settings boot2qt]
*/
diff --git a/doc/qtcreator/src/linux-mobile/creator-projects-settings-run-linux.qdocinc b/doc/qtcreator/src/linux-mobile/creator-projects-settings-run-linux.qdocinc
index 1d64706acf..4cb407f630 100644
--- a/doc/qtcreator/src/linux-mobile/creator-projects-settings-run-linux.qdocinc
+++ b/doc/qtcreator/src/linux-mobile/creator-projects-settings-run-linux.qdocinc
@@ -33,7 +33,7 @@
host to the device and add the device configurations to
\l{glossary-buildandrun-kit}{kits}. Click \uicontrol {Manage Kits} to add devices
to kits. For more information, see
- \l {Connecting Embedded Linux Devices}.
+ \l {Connecting Generic Remote Linux Devices}.
When you run the application, \QC copies the files to the connected device.
diff --git a/doc/qtcreator/src/linux-mobile/linuxdev.qdoc b/doc/qtcreator/src/linux-mobile/linuxdev.qdoc
index da7e6cca08..e726841c0a 100644
--- a/doc/qtcreator/src/linux-mobile/linuxdev.qdoc
+++ b/doc/qtcreator/src/linux-mobile/linuxdev.qdoc
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2019 The Qt Company Ltd.
+** Copyright (C) 2020 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the Qt Creator documentation.
@@ -33,19 +33,20 @@
\nextpage creator-developing-ios.html
\endif
- \title Connecting Embedded Linux Devices
+ \title Connecting Generic Remote Linux Devices
- You can connect embedded Linux devices to the development PC to run,
+ You can connect generic Linux devices to the development PC to run,
debug, and analyze applications built for them from \QC.
If you have a tool chain for building applications for embedded Linux
devices installed on the development PC, you can add
it to \QC. You can then select a \l{glossary-buildandrun-kit}{kit}
with \uicontrol {Embedded Linux} device type to
- build applications for and run them on embedded Linux devices.
+ build applications for and run them on the devices.
- To be able to run and debug applications on embedded Linux devices, you must
- add devices and select them in the \QC \l{glossary-buildandrun-kit}{kit}.
+ To be able to run and debug applications on generic remote Linux devices,
+ you must add devices and select them in the \QC \l{glossary-buildandrun-kit}
+ {kit}.
You use a wizard to create the connections. You can edit the settings later
in \uicontrol Tools > \uicontrol Options > \uicontrol Devices >
@@ -145,7 +146,7 @@
When you run the project, \QC deploys the application as specified by the
deploy steps. By default, \QC copies the application files to the device.
- For more information, see \l{Deploying Applications to Embedded Linux Devices}.
+ For more information, see \l{Deploying Applications to Generic Remote Linux Devices}.
\endlist
diff --git a/doc/qtcreator/src/overview/creator-only/creator-advanced.qdoc b/doc/qtcreator/src/overview/creator-only/creator-advanced.qdoc
index 362425971a..7f89c0ea81 100644
--- a/doc/qtcreator/src/overview/creator-only/creator-advanced.qdoc
+++ b/doc/qtcreator/src/overview/creator-only/creator-advanced.qdoc
@@ -36,7 +36,7 @@
\title Advanced Use
- \image creator_advanceduse.png
+ \image front-advanced.png
\QC attempts to meet your development needs, whether you are an
experienced Qt developer or a newcomer to Qt. When you install \QC
diff --git a/doc/qtcreator/src/overview/creator-only/creator-deployment-overview.qdoc b/doc/qtcreator/src/overview/creator-only/creator-deployment-overview.qdoc
index 21903f7ad5..f1d40a058d 100644
--- a/doc/qtcreator/src/overview/creator-only/creator-deployment-overview.qdoc
+++ b/doc/qtcreator/src/overview/creator-only/creator-deployment-overview.qdoc
@@ -49,7 +49,7 @@
When you deploy the application to an Android device, \QC copies
the application files to the device. In addition, you can determine
the Qt libraries to use.
- \li \l{Deploying Applications to Embedded Linux Devices}
+ \li \l{Deploying Applications to Generic Remote Linux Devices}
When you deploy the application to a generic Linux-based device, \QC
copies the application files to the connected device. You can test
diff --git a/doc/qtcreator/src/overview/creator-only/creator-design-overview.qdoc b/doc/qtcreator/src/overview/creator-only/creator-design-overview.qdoc
index 456df09ff7..67dbd629af 100644
--- a/doc/qtcreator/src/overview/creator-only/creator-design-overview.qdoc
+++ b/doc/qtcreator/src/overview/creator-only/creator-design-overview.qdoc
@@ -36,7 +36,7 @@
\title Designing User Interfaces
- \image creator_designinguserinterface.png
+ \image front-ui.png
\QC provides integrated visual editors for designing Qt Quick and
widget-based applications in the Design mode. The integration
diff --git a/doc/qtcreator/src/overview/creator-only/creator-getting-started.qdoc b/doc/qtcreator/src/overview/creator-only/creator-getting-started.qdoc
index 627bd49595..4efb8f79dd 100644
--- a/doc/qtcreator/src/overview/creator-only/creator-getting-started.qdoc
+++ b/doc/qtcreator/src/overview/creator-only/creator-getting-started.qdoc
@@ -38,9 +38,9 @@
\table
\row
- \li \inlineimage creator_gettingstarted.png
- \li \inlineimage creator_designinguserinterface.png
- \li \inlineimage creator_advanceduse.png
+ \li \inlineimage front-gs.png
+ \li \inlineimage front-ui.png
+ \li \inlineimage front-advanced.png
\row
\li \b {\l{IDE Overview}}
@@ -59,8 +59,8 @@
control systems. For an overview of the options you have, go to
\l{Configuring Qt Creator}.
\row
- \li \inlineimage creator_buildingrunning.png
- \li \inlineimage creator_gettinghelp.png
+ \li \inlineimage front-preview.png
+ \li \inlineimage front-help.png
\li
\row
\li \b {\l{Building and Running an Example}}
diff --git a/doc/qtcreator/src/overview/creator-only/creator-help-overview.qdoc b/doc/qtcreator/src/overview/creator-only/creator-help-overview.qdoc
index 5ce2e861b0..b808d79e53 100644
--- a/doc/qtcreator/src/overview/creator-only/creator-help-overview.qdoc
+++ b/doc/qtcreator/src/overview/creator-only/creator-help-overview.qdoc
@@ -36,7 +36,7 @@
\title Getting Help
- \image creator_gettinghelp.png
+ \image front-help.png
\list
diff --git a/doc/qtcreator/src/overview/creator-only/creator-mobile-targets.qdoc b/doc/qtcreator/src/overview/creator-only/creator-mobile-targets.qdoc
index 97daacfd62..659a837567 100644
--- a/doc/qtcreator/src/overview/creator-only/creator-mobile-targets.qdoc
+++ b/doc/qtcreator/src/overview/creator-only/creator-mobile-targets.qdoc
@@ -69,7 +69,7 @@
to debug applications on them with GDB or a hardware debugger.
\endif
- \li \l{Connecting Embedded Linux Devices}
+ \li \l{Connecting Generic Remote Linux Devices}
If you have a tool chain for building applications for embedded
Linux devices installed on the development
@@ -114,7 +114,7 @@
You can use the experimental Qt Application Manager plugin
(commercial only) to deploy, run, and debug applications on the
local Linux PC, remote generic SSH Linux targets, or
- \l{Embedded Devices}{embedded devices}.
+ \l{Boot2Qt Devices}{Boot2Qt devices}.
\endlist
\endif
*/
diff --git a/doc/qtcreator/src/overview/creator-only/creator-overview.qdoc b/doc/qtcreator/src/overview/creator-only/creator-overview.qdoc
index 1ba098e4ee..98415f3760 100644
--- a/doc/qtcreator/src/overview/creator-only/creator-overview.qdoc
+++ b/doc/qtcreator/src/overview/creator-only/creator-overview.qdoc
@@ -47,9 +47,9 @@
\table
\row
- \li \inlineimage creator_managingprojects.png
- \li \inlineimage creator_designinguserinterface.png
- \li \inlineimage creator_coding.png
+ \li \inlineimage front-projects.png
+ \li \inlineimage front-ui.png
+ \li \inlineimage front-coding.png
\row
\li \b {\l{Managing Projects}}
@@ -84,9 +84,9 @@
available that provides information about the code to IDEs.
For more information, see \l{Coding}.
\row
- \li \inlineimage creator_buildingrunning.png
- \li \inlineimage creator_testing.png
- \li \inlineimage creator_publishing.png
+ \li \inlineimage front-preview.png
+ \li \inlineimage front-testing.png
+ \li \inlineimage front-publishing.png
\row
\li \b {\l{Building and Running}}
diff --git a/doc/qtcreator/src/overview/creator-only/creator-supported-platforms.qdoc b/doc/qtcreator/src/overview/creator-only/creator-supported-platforms.qdoc
index 7013ee6cea..ce8f01a5b5 100644
--- a/doc/qtcreator/src/overview/creator-only/creator-supported-platforms.qdoc
+++ b/doc/qtcreator/src/overview/creator-only/creator-supported-platforms.qdoc
@@ -112,7 +112,7 @@
\endlist
- \section2 Developing for Embedded Devices
+ \section2 Developing for Boot2Qt Devices
Either Windows 7 or later or Ubuntu Linux 64-bit 12.04 LTS or later is
required to install and use Qt for Device Creation. For more information
diff --git a/doc/qtcreator/src/overview/creator-only/creator-target-platforms.qdocinc b/doc/qtcreator/src/overview/creator-only/creator-target-platforms.qdocinc
index 91a8193fea..04c2fd936f 100644
--- a/doc/qtcreator/src/overview/creator-only/creator-target-platforms.qdocinc
+++ b/doc/qtcreator/src/overview/creator-only/creator-target-platforms.qdocinc
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2019 The Qt Company Ltd.
+** Copyright (C) 2020 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the Qt Creator documentation.
@@ -31,30 +31,21 @@
You can develop applications for the following platforms:
\list
-
\li Desktop
-
- \li Android
-
- \li Embedded
-
- \li Generic remote Linux
-
- \li iOS
-
- \li Microcontroller Units (MCU)
-
- \li QNX
-
- \li Universal Windows Platform (UWP)
-
- \li WebAssembly
-
+ \li \l{Connecting Android Devices}{Android}
+ \li \l{Connecting Bare Metal Devices}{Bare Metal}
+ \li Boot2Qt
+ \li \l{Connecting Generic Remote Linux Devices}{Generic Remote Linux}
+ \li \l{Connecting iOS Devices}{iOS}
+ \li \l{Connecting MCUs}{Microcontroller Units (MCU)} (commercial only)
+ \li \l{Connecting QNX Devices}{QNX}
+ \li \l{Qt for UWP}{Universal Windows Platform (UWP)}
+ \li \l{Building Applications for the Web}{WebAssembly}
\endlist
- \section2 Embedded Devices
+ \section2 Boot2Qt Devices
- The Boot to Qt stack can be made to run on a variety of hardware. For
+ The Boot2Qt stack can be made to run on a variety of hardware. For
Qt for Device Creation license holders, tooling is provided to customize the
contents of the stack as well as to take it into desired production
hardware.
@@ -65,8 +56,8 @@
\l{https://doc.qt.io/QtForDeviceCreation/index.html}{Qt for Device Creation}
documentation.
- \note Since \QC 4.9, only Boot to Qt version 5.9 and later are supported.
- To develop for earlier Boot to Qt versions, use \QC 4.8.
+ \note Since \QC 4.9, only Boot2Qt version 5.9 and later are supported.
+ To develop for earlier Boot2Qt versions, use \QC 4.8.
\section2 Mobile Devices
@@ -99,8 +90,8 @@
\li
\row
\li MCUs
- \li \image ok
- \li \image ok
+ \li
+ \li
\li \image ok
\row
\li QNX
diff --git a/doc/qtcreator/src/overview/creator-only/creator-testing.qdoc b/doc/qtcreator/src/overview/creator-only/creator-testing.qdoc
index c446fb82f7..cab7e02ee4 100644
--- a/doc/qtcreator/src/overview/creator-only/creator-testing.qdoc
+++ b/doc/qtcreator/src/overview/creator-only/creator-testing.qdoc
@@ -36,7 +36,7 @@
\title Testing
- \image creator_testing.png
+ \image front-testing.png
\list
diff --git a/doc/qtcreator/src/overview/creator-only/creator-tutorials.qdoc b/doc/qtcreator/src/overview/creator-only/creator-tutorials.qdoc
index 2e69569f68..912863c18e 100644
--- a/doc/qtcreator/src/overview/creator-only/creator-tutorials.qdoc
+++ b/doc/qtcreator/src/overview/creator-only/creator-tutorials.qdoc
@@ -36,7 +36,7 @@
\title Tutorials
- \image creator_gettinghelp.png
+ \image front-help.png
You can use \QC to create applications for several platforms by using
several technologies. The tutorials in this manual explain how to create
diff --git a/doc/qtcreator/src/projects/creator-only/creator-projects-build-run-tutorial.qdoc b/doc/qtcreator/src/projects/creator-only/creator-projects-build-run-tutorial.qdoc
index c536c91cdd..1e2960eca0 100644
--- a/doc/qtcreator/src/projects/creator-only/creator-projects-build-run-tutorial.qdoc
+++ b/doc/qtcreator/src/projects/creator-only/creator-projects-build-run-tutorial.qdoc
@@ -43,7 +43,7 @@
the development environment for Android or iOS. For more information, see
\l{Connecting Android Devices} and \l{Connecting iOS Devices}.
- To run an example application on an embedded device, you must set up
+ To run an example application on a Boot2Qt device, you must set up
Qt for Device Creation on the development host and create connections
between the host and devices. For more information, see the
\l{http://doc.qt.io/QtForDeviceCreation/qtee-installation-guide.html}
@@ -66,7 +66,7 @@
You can also use tags (3) to filter examples. For instance, enter
the \uicontrol Boot2Qt tag (commercial only) in the search field
- (4) to list examples that you can run on embedded devices.
+ (4) to list examples that you can run on Boot2Qt devices.
\li To check that the application code can be compiled and linked for a
device, click the \uicontrol {Kit Selector} and select a
diff --git a/doc/qtcreator/src/projects/creator-only/creator-projects-building-running.qdoc b/doc/qtcreator/src/projects/creator-only/creator-projects-building-running.qdoc
index d132bf4410..c98362ae17 100644
--- a/doc/qtcreator/src/projects/creator-only/creator-projects-building-running.qdoc
+++ b/doc/qtcreator/src/projects/creator-only/creator-projects-building-running.qdoc
@@ -36,7 +36,7 @@
\title Building and Running
- \image creator_buildingrunning.png
+ \image front-preview.png
\QC provides support for running and deploying Qt applications built
for different target platforms, or using different compilers, debuggers, or
diff --git a/doc/qtcreator/src/projects/creator-only/creator-projects-generic.qdoc b/doc/qtcreator/src/projects/creator-only/creator-projects-generic.qdoc
index 4a2c4c42ab..df454aaa6d 100644
--- a/doc/qtcreator/src/projects/creator-only/creator-projects-generic.qdoc
+++ b/doc/qtcreator/src/projects/creator-only/creator-projects-generic.qdoc
@@ -141,10 +141,11 @@
\section1 Providing Deployment Information
- If you want to run your application on an embedded Linux device, you first need to
- deploy your executable and possibly other files. \QC does that for you
- automatically if you provide the necessary information. This works the same
- way as explained for CMake \l {Deploying CMake Projects to Embedded Linux Devices}{here},
+ If you want to run your application on a generic remote Linux device,
+ you first need to deploy your executable and possibly other files.
+ \QC does that for you automatically if you provide the necessary
+ information. This works the same way as explained for CMake
+ \l {Deploying CMake Projects to Generic Remote Linux Devices}{here},
except that you also need to include your application binary in the list.
\section1 Creating a Run Configuration
diff --git a/doc/qtcreator/src/projects/creator-only/creator-projects-overview.qdoc b/doc/qtcreator/src/projects/creator-only/creator-projects-overview.qdoc
index 53a3f11667..f2534ba8d8 100644
--- a/doc/qtcreator/src/projects/creator-only/creator-projects-overview.qdoc
+++ b/doc/qtcreator/src/projects/creator-only/creator-projects-overview.qdoc
@@ -36,7 +36,7 @@
\title Managing Projects
- \image creator_managingprojects.png
+ \image front-projects.png
One of the major advantages of \QC is that it allows a team of designers and
developers to share a project across different development platforms with a
diff --git a/doc/qtcreator/src/projects/creator-only/creator-projects-settings-run.qdoc b/doc/qtcreator/src/projects/creator-only/creator-projects-settings-run.qdoc
index 2591640a6d..3b564ee283 100644
--- a/doc/qtcreator/src/projects/creator-only/creator-projects-settings-run.qdoc
+++ b/doc/qtcreator/src/projects/creator-only/creator-projects-settings-run.qdoc
@@ -84,7 +84,7 @@
\include creator-projects-settings-run-android.qdocinc run settings android
\include creator-projects-settings-run-linux.qdocinc run settings linux
\include creator-projects-settings-run-qnx.qdocinc run settings qnx
- \include linux-mobile/creator-projects-settings-run-b2qt.qdocinc run settings embedded
+ \include linux-mobile/creator-projects-settings-run-b2qt.qdocinc run settings boot2qt
\section1 Selecting the Run Environment
diff --git a/doc/qtcreator/src/projects/creator-only/creator-projects-targets.qdoc b/doc/qtcreator/src/projects/creator-only/creator-projects-targets.qdoc
index e31a3d568a..caa3d94082 100644
--- a/doc/qtcreator/src/projects/creator-only/creator-projects-targets.qdoc
+++ b/doc/qtcreator/src/projects/creator-only/creator-projects-targets.qdoc
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2019 The Qt Company Ltd.
+** Copyright (C) 2020 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the Qt Creator documentation.
@@ -47,29 +47,20 @@
devices:
\list
-
- \li Android Device
-
- \li Bare Metal Device
-
- \li Boot2Qt Device (commercial only)
-
- \li \l {Emulator}{Boot2Qt Emulator Device} (commercial only)
-
- \li Generic Linux Device
-
- \li iOS Device
-
+ \li \l{Connecting Android Devices}{Android Device}
+ \li \l{Connecting Bare Metal Devices}{Bare Metal Device}
+ \li \l{https://doc.qt.io/QtForDeviceCreation/b2qt-installation-guides.html}
+ {Boot2Qt Device} (commercial only)
+ \li \l{Emulator}{Boot2Qt Emulator Device} (commercial only)
+ \li \l{Connecting Generic Remote Linux Devices}{Generic Remote Linux Device}
+ \li \l{Connecting iOS Devices}{iOS Device}
\li iOS Simulator
-
- \li QNX Device
-
- \li Windows Phone
-
+ \li \l{Connecting MCUs}{MCU Device} (commercial only)
+ \li \l{Connecting QNX Devices}{QNX Device}
+ \li \l{Building Applications for the Web}{WebAssembly Runtime}
+ \li \l{Qt for UWP}{Windows Phone}
\li Windows Phone Emulator
-
\li Windows Runtime (local)
-
\endlist
\section1 Filtering Kit Settings
diff --git a/doc/qtcreator/src/qnx/creator-deployment-qnx.qdoc b/doc/qtcreator/src/qnx/creator-deployment-qnx.qdoc
index 19e1217e63..232a371e26 100644
--- a/doc/qtcreator/src/qnx/creator-deployment-qnx.qdoc
+++ b/doc/qtcreator/src/qnx/creator-deployment-qnx.qdoc
@@ -41,7 +41,7 @@
\title Deploying Applications to QNX Neutrino Devices
You can deploy applications to QNX Neutrino devices in the way that is
- described in \l{Deploying Applications to Embedded Linux Devices}.
+ described in \l{Deploying Applications to Generic Remote Linux Devices}.
\image qtcreator-qnx-deployment.png "Deploy to device"
diff --git a/doc/qtcreator/src/qnx/creator-developing-qnx.qdoc b/doc/qtcreator/src/qnx/creator-developing-qnx.qdoc
index e535c04e04..6af72ab253 100644
--- a/doc/qtcreator/src/qnx/creator-developing-qnx.qdoc
+++ b/doc/qtcreator/src/qnx/creator-developing-qnx.qdoc
@@ -42,8 +42,9 @@
\section1 Adding a QNX Neutrino Device in \QC
- Adding a QNX Neutrino device is very similar to \l{Connecting Embedded
- Linux Devices}, except you need to select \uicontrol {QNX Device} in the
+ Adding a QNX Neutrino device is very similar to
+ \l{Connecting Generic Remote Linux Devices}, except that
+ you need to select \uicontrol {QNX Device} in the
\uicontrol {Device Configuration} wizard.
\section1 Adding Kits for QNX Devices
diff --git a/doc/qtcreator/src/qtcreator-toc.qdoc b/doc/qtcreator/src/qtcreator-toc.qdoc
index 2b17c2c5da..021b7052f8 100644
--- a/doc/qtcreator/src/qtcreator-toc.qdoc
+++ b/doc/qtcreator/src/qtcreator-toc.qdoc
@@ -196,14 +196,14 @@
\li \l{Deploying to Devices}
\list
\li \l{Deploying Applications to Android Devices}
- \li \l{Deploying Applications to Embedded Linux Devices}
+ \li \l{Deploying Applications to Generic Remote Linux Devices}
\li \l{Deploying Applications to QNX Neutrino Devices}
\endlist
\li \l{Connecting Devices}
\list
\li \l{Connecting Android Devices}
\li \l{Connecting Bare Metal Devices}
- \li \l{Connecting Embedded Linux Devices}
+ \li \l{Connecting Generic Remote Linux Devices}
\li \l{Connecting iOS Devices}
\li \l{Connecting MCUs}
\li \l{Connecting QNX Devices}
diff --git a/doc/qtcreator/src/qtcreator.qdoc b/doc/qtcreator/src/qtcreator.qdoc
index fe5e7f8175..71d2a2a1fe 100644
--- a/doc/qtcreator/src/qtcreator.qdoc
+++ b/doc/qtcreator/src/qtcreator.qdoc
@@ -54,10 +54,10 @@
\table
\row
- \li \inlineimage creator_gettingstarted.png
- \li \inlineimage creator_managingprojects.png
- \li \inlineimage creator_designinguserinterface.png
- \li \inlineimage creator_coding.png
+ \li \inlineimage front-gs.png
+ \li \inlineimage front-projects.png
+ \li \inlineimage front-ui.png
+ \li \inlineimage front-coding.png
\row
\li \b {\l{Getting Started}}
\list
@@ -90,10 +90,10 @@
\li \l{Editing State Charts}
\endlist
\row
- \li \inlineimage creator_buildingrunning.png
- \li \inlineimage creator_testing.png
- \li \inlineimage creator_advanceduse.png
- \li \inlineimage creator_gettinghelp.png
+ \li \inlineimage front-preview.png
+ \li \inlineimage front-testing.png
+ \li \inlineimage front-advanced.png
+ \li \inlineimage front-help.png
\row
\li \b {\l{Building and Running}}
\list
diff --git a/doc/qtcreator/src/qtquick/qtquick-connection-editor.qdoc b/doc/qtcreator/src/qtquick/qtquick-connection-editor.qdoc
index 5c8cba4870..395327e1bc 100644
--- a/doc/qtcreator/src/qtquick/qtquick-connection-editor.qdoc
+++ b/doc/qtcreator/src/qtquick/qtquick-connection-editor.qdoc
@@ -50,7 +50,7 @@
until it is explicitly assigned a new value. However, to make the fullest
use of QML and its built-in support for dynamic object behaviors, most QML
types use property bindings. This means that you can specify relationships
- between different object properties so that when a property's sependencies
+ between different object properties so that when a property's dependencies
change in value, the property's value is automatically updated accordingly.
Behind the scenes, the QML engine monitors the property's dependencies (that
diff --git a/doc/qtcreator/src/qtquick/qtquick-live-preview-devices.qdoc b/doc/qtcreator/src/qtquick/qtquick-live-preview-devices.qdoc
index 8cf7f9303f..0bf837ee8c 100644
--- a/doc/qtcreator/src/qtquick/qtquick-live-preview-devices.qdoc
+++ b/doc/qtcreator/src/qtquick/qtquick-live-preview-devices.qdoc
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2019 The Qt Company Ltd.
+** Copyright (C) 2020 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the Qt Design Studio documentation.
@@ -34,7 +34,7 @@
To preview UIs on Android devices, you need to enable USB debugging on them
and connect them to your system with a USB cable.
\endomit
- To preview UIs on embedded devices, you need to connect the devices to your
+ To preview UIs on Boot2Qt devices, you need to connect the devices to your
system with a USB cable, or a wired or wireless connection, depending on
the device, and configure connections to them. The necessary kits have been
predefined and you only need to enable them for your current project.
@@ -79,9 +79,9 @@
device.
\endomit
- \section2 Previewing on Embedded Devices
+ \section2 Previewing on Boot2Qt Devices
- You can preview UIs on embedded devices that are supported by
+ You can preview UIs on Boot2Qt devices that are supported by
\l{Qt for Device Creation}. For a list of supported devices, see
\l{https://doc.qt.io/QtForDeviceCreation/qtee-supported-platforms.html#reference-target-devices}
{Reference Target Devices}.
diff --git a/doc/qtdesignstudio/examples/clustertutorial/ClusterTutorial.qmlproject b/doc/qtdesignstudio/examples/ClusterTutorial/ClusterTutorial.qmlproject
index 94dd80cfdc..94dd80cfdc 100644
--- a/doc/qtdesignstudio/examples/clustertutorial/ClusterTutorial.qmlproject
+++ b/doc/qtdesignstudio/examples/ClusterTutorial/ClusterTutorial.qmlproject
diff --git a/doc/qtdesignstudio/examples/coffeemachine/ApplicationFlow.qml b/doc/qtdesignstudio/examples/CoffeeMachine/ApplicationFlow.qml
index eaeffa83e7..eaeffa83e7 100644
--- a/doc/qtdesignstudio/examples/coffeemachine/ApplicationFlow.qml
+++ b/doc/qtdesignstudio/examples/CoffeeMachine/ApplicationFlow.qml
diff --git a/doc/qtdesignstudio/examples/coffeemachine/CoffeeButton.qml b/doc/qtdesignstudio/examples/CoffeeMachine/CoffeeButton.qml
index d2d9e85873..d2d9e85873 100644
--- a/doc/qtdesignstudio/examples/coffeemachine/CoffeeButton.qml
+++ b/doc/qtdesignstudio/examples/CoffeeMachine/CoffeeButton.qml
diff --git a/doc/qtdesignstudio/examples/coffeemachine/CoffeeMachine.qmlproject b/doc/qtdesignstudio/examples/CoffeeMachine/CoffeeMachine.qmlproject
index 8a2ecfb6af..8a2ecfb6af 100644
--- a/doc/qtdesignstudio/examples/coffeemachine/CoffeeMachine.qmlproject
+++ b/doc/qtdesignstudio/examples/CoffeeMachine/CoffeeMachine.qmlproject
diff --git a/doc/qtdesignstudio/examples/coffeemachine/SideBar.qml b/doc/qtdesignstudio/examples/CoffeeMachine/SideBar.qml
index 241f78fc47..241f78fc47 100644
--- a/doc/qtdesignstudio/examples/coffeemachine/SideBar.qml
+++ b/doc/qtdesignstudio/examples/CoffeeMachine/SideBar.qml
diff --git a/doc/qtdesignstudio/examples/ebikedesign/EBikeDesign.qmlproject b/doc/qtdesignstudio/examples/EBikeDesign/EBikeDesign.qmlproject
index 0165571771..0165571771 100644
--- a/doc/qtdesignstudio/examples/ebikedesign/EBikeDesign.qmlproject
+++ b/doc/qtdesignstudio/examples/EBikeDesign/EBikeDesign.qmlproject
diff --git a/doc/qtdesignstudio/examples/sidemenu/CustomButton.qml b/doc/qtdesignstudio/examples/SideMenu/CustomButton.qml
index 9f140b69a2..9f140b69a2 100644
--- a/doc/qtdesignstudio/examples/sidemenu/CustomButton.qml
+++ b/doc/qtdesignstudio/examples/SideMenu/CustomButton.qml
diff --git a/doc/qtdesignstudio/examples/sidemenu/SideMenu.qml b/doc/qtdesignstudio/examples/SideMenu/SideMenu.qml
index 4649d497e6..4649d497e6 100644
--- a/doc/qtdesignstudio/examples/sidemenu/SideMenu.qml
+++ b/doc/qtdesignstudio/examples/SideMenu/SideMenu.qml
diff --git a/doc/qtdesignstudio/examples/sidemenu/SideMenu.qmlproject b/doc/qtdesignstudio/examples/SideMenu/SideMenu.qmlproject
index 22969ff4d8..22969ff4d8 100644
--- a/doc/qtdesignstudio/examples/sidemenu/SideMenu.qmlproject
+++ b/doc/qtdesignstudio/examples/SideMenu/SideMenu.qmlproject
diff --git a/doc/qtdesignstudio/examples/webinardemo/WebinarDemo.qmlproject b/doc/qtdesignstudio/examples/WebinarDemo/WebinarDemo.qmlproject
index 5a19a305ab..5a19a305ab 100644
--- a/doc/qtdesignstudio/examples/webinardemo/WebinarDemo.qmlproject
+++ b/doc/qtdesignstudio/examples/WebinarDemo/WebinarDemo.qmlproject
diff --git a/doc/qtdesignstudio/examples/doc/progressbar.qdoc b/doc/qtdesignstudio/examples/doc/progressbar.qdoc
index 208e97bf8d..0dfb333e41 100644
--- a/doc/qtdesignstudio/examples/doc/progressbar.qdoc
+++ b/doc/qtdesignstudio/examples/doc/progressbar.qdoc
@@ -24,7 +24,7 @@
****************************************************************************/
/*!
- \example ProgressBar
+ \example progressbar
\ingroup studioexamples
\title Progress Bar
diff --git a/doc/qtdesignstudio/images/studio-3d-scenes.png b/doc/qtdesignstudio/images/studio-3d-scenes.png
index 94dbb54778..0dc2121f73 100644
--- a/doc/qtdesignstudio/images/studio-3d-scenes.png
+++ b/doc/qtdesignstudio/images/studio-3d-scenes.png
Binary files differ
diff --git a/doc/qtdesignstudio/images/studio-animation.png b/doc/qtdesignstudio/images/studio-animation.png
index 1bcabc0a13..1365c2df96 100644
--- a/doc/qtdesignstudio/images/studio-animation.png
+++ b/doc/qtdesignstudio/images/studio-animation.png
Binary files differ
diff --git a/doc/qtdesignstudio/images/studio-animation.svg b/doc/qtdesignstudio/images/studio-animation.svg
new file mode 100644
index 0000000000..7e4e93b0f2
--- /dev/null
+++ b/doc/qtdesignstudio/images/studio-animation.svg
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 24.1.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<svg version="1.1" baseProfile="tiny" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
+ x="0px" y="0px" viewBox="0 0 450 270" overflow="visible" xml:space="preserve">
+<g>
+ <g>
+ <path fill="#C9C7C7" d="M433.8,269.6H16.2c-7.8,0-14.2-6.4-14.2-14.2V14.2C2,6.4,8.4,0,16.2,0h417.6c7.8,0,14.2,6.4,14.2,14.2
+ v241.2C448,263.2,441.6,269.6,433.8,269.6z"/>
+ <path fill="#878686" d="M2.4,19.5L2,14.1C2,6.3,8.3,0,16.1,0h417.9c7.8,0,14.1,6.3,14.1,14.1v6.8"/>
+ <circle fill="#DD5858" cx="19.3" cy="10.6" r="5"/>
+ <circle fill="#DBC558" cx="36.1" cy="10.6" r="5"/>
+ <circle fill="#52B257" cx="52.9" cy="10.6" r="5"/>
+ </g>
+ <path fill="#FFFFFF" d="M437.1,262.2H13.4c-2.8,0-5-2.2-5-5V185c0-2.8,2.2-5,5-5h423.7c2.8,0,5,2.2,5,5v72.2
+ C442.1,260,439.9,262.2,437.1,262.2z"/>
+ <path fill="none" stroke="#FFFFFF" stroke-width="7.4167" stroke-linecap="round" stroke-miterlimit="10" d="M190.6,91.4
+ c0-24.3,19.7-44.1,44.1-44.1s44.1,19.7,44.1,44.1s-19.7,44.1-44.1,44.1"/>
+ <circle fill="#FFFFFF" cx="233.8" cy="91.1" r="19.7"/>
+ <polygon fill="#878686" points="258.9,158 256.2,193.9 267.4,180.3 284.4,183.1 "/>
+ <path fill="#878686" d="M228.2,195.9H19.4c-2.8,0-5-2.2-5-5V188c0-2.8,2.2-5,5-5h208.8c2.8,0,5,2.2,5,5v2.9
+ C233.2,193.6,231,195.9,228.2,195.9z"/>
+ <path fill="#878686" d="M348,223.6H206.5c-2.8,0-5-2.2-5-5v-2.9c0-2.8,2.2-5,5-5H348c2.8,0,5,2.2,5,5v2.9
+ C353,221.4,350.8,223.6,348,223.6z"/>
+ <path fill="#878686" d="M419.3,247.4h-86.1c-2.8,0-5-2.2-5-5v-2.9c0-2.8,2.2-5,5-5h86.1c2.8,0,5,2.2,5,5v2.9
+ C424.3,245.1,422.1,247.4,419.3,247.4z"/>
+
+ <rect x="222.4" y="199" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -77.0099 218.9356)" fill="#878686" width="6.8" height="6.8"/>
+
+ <rect x="18.4" y="199" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -136.7589 74.6888)" fill="#878686" width="6.8" height="6.8"/>
+
+ <rect x="117.4" y="199" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -107.7546 144.7115)" fill="#878686" width="6.8" height="6.8"/>
+
+ <rect x="210.5" y="226.7" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -100.0968 218.6541)" fill="#878686" width="6.8" height="6.8"/>
+
+ <rect x="307.5" y="226.7" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -71.6725 287.2764)" fill="#878686" width="6.8" height="6.8"/>
+
+ <rect x="338.2" y="251.5" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -80.1869 316.2345)" fill="#878686" width="6.8" height="6.8"/>
+
+ <rect x="410.5" y="251.5" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -59.0137 367.3511)" fill="#878686" width="6.8" height="6.8"/>
+ <g>
+ <path fill="#FFFFFF" d="M175.7,73.5v14h-2.9V76.8l-3,1.9l-1.3-2.2l4.6-3.1H175.7z"/>
+ </g>
+ <g>
+ <path fill="#FFFFFF" d="M290.4,59.2h-9.1v-2.5l3-3c1.1-1.1,1.8-1.9,2.2-2.5s0.6-1.2,0.6-1.9c0-0.7-0.2-1.1-0.5-1.4
+ c-0.3-0.3-0.8-0.4-1.5-0.4c-0.9,0-2,0.1-3.1,0.3l-0.5,0.1l-0.1-2.3c1.4-0.4,2.8-0.6,4.3-0.6c3,0,4.4,1.3,4.4,4
+ c0,1-0.2,1.9-0.7,2.7s-1.3,1.7-2.5,2.8l-2.4,2.2h5.8V59.2z"/>
+ </g>
+ <g>
+ <path fill="#8389A8" d="M238.9,145.1c1.6-0.6,3.5-1,5.5-1c2,0,3.5,0.4,4.4,1.2s1.4,2,1.4,3.7c0,1.7-0.7,3-2.1,3.9
+ c0.9,0.5,1.5,0.9,1.8,1.4s0.5,1.3,0.5,2.4c0,1.9-0.5,3.3-1.4,4.3c-1,0.9-2.5,1.4-4.6,1.4c-1.6,0-3.2-0.2-4.9-0.7l-0.9-0.2l0.2-2.8
+ c2,0.3,3.7,0.5,5,0.5c1.8,0,2.8-0.8,2.8-2.4c0-0.7-0.2-1.2-0.7-1.6c-0.5-0.4-1.1-0.6-1.9-0.6h-3.6v-3h3.6c0.6,0,1.1-0.2,1.6-0.7
+ c0.5-0.5,0.7-1.1,0.7-1.7c0-1.3-0.9-1.9-2.6-1.9c-1.2,0-2.5,0.1-3.9,0.4l-0.7,0.1L238.9,145.1z"/>
+ </g>
+ <line fill="none" stroke="#F9D953" stroke-width="3" stroke-miterlimit="10" x1="103.5" y1="269.2" x2="103.5" y2="165.2"/>
+ <polygon fill="#F9D953" points="103.4,178.2 111.2,164.7 95.6,164.7 "/>
+</g>
+</svg>
diff --git a/doc/qtdesignstudio/images/studio-components.png b/doc/qtdesignstudio/images/studio-components.png
deleted file mode 100644
index d72388e53b..0000000000
--- a/doc/qtdesignstudio/images/studio-components.png
+++ /dev/null
Binary files differ
diff --git a/doc/qtdesignstudio/images/studio-connections.png b/doc/qtdesignstudio/images/studio-connections.png
deleted file mode 100644
index 787bfbdc95..0000000000
--- a/doc/qtdesignstudio/images/studio-connections.png
+++ /dev/null
Binary files differ
diff --git a/doc/qtdesignstudio/images/studio-gs.png b/doc/qtdesignstudio/images/studio-gs.png
deleted file mode 100644
index 898826e83d..0000000000
--- a/doc/qtdesignstudio/images/studio-gs.png
+++ /dev/null
Binary files differ
diff --git a/doc/qtdesignstudio/images/studio-help.png b/doc/qtdesignstudio/images/studio-help.png
deleted file mode 100644
index 3cee0bf635..0000000000
--- a/doc/qtdesignstudio/images/studio-help.png
+++ /dev/null
Binary files differ
diff --git a/doc/qtdesignstudio/images/studio-preview.png b/doc/qtdesignstudio/images/studio-preview.png
deleted file mode 100644
index 4f943f3f8d..0000000000
--- a/doc/qtdesignstudio/images/studio-preview.png
+++ /dev/null
Binary files differ
diff --git a/doc/qtdesignstudio/images/studio-projects.png b/doc/qtdesignstudio/images/studio-projects.png
deleted file mode 100644
index 623bc1f872..0000000000
--- a/doc/qtdesignstudio/images/studio-projects.png
+++ /dev/null
Binary files differ
diff --git a/doc/qtdesignstudio/images/studio-settings.png b/doc/qtdesignstudio/images/studio-settings.png
deleted file mode 100644
index 2ac37ea853..0000000000
--- a/doc/qtdesignstudio/images/studio-settings.png
+++ /dev/null
Binary files differ
diff --git a/doc/qtdesignstudio/src/qtdesignstudio.qdoc b/doc/qtdesignstudio/src/qtdesignstudio.qdoc
index 74081404dd..5425477f9e 100644
--- a/doc/qtdesignstudio/src/qtdesignstudio.qdoc
+++ b/doc/qtdesignstudio/src/qtdesignstudio.qdoc
@@ -36,9 +36,9 @@
\table
\row
- \li \inlineimage studio-gs.png
- \li \inlineimage studio-projects.png
- \li \inlineimage studio-components.png
+ \li \inlineimage front-gs.png
+ \li \inlineimage front-projects.png
+ \li \inlineimage front-ui.png
\li \inlineimage studio-animation.png
\row
\li \l{Getting Started}
@@ -72,9 +72,9 @@
\endlist
\row
\li \inlineimage studio-3d-scenes.png
- \li \inlineimage studio-preview.png
- \li \inlineimage studio-settings.png
- \li \inlineimage studio-help.png
+ \li \inlineimage front-preview.png
+ \li \inlineimage front-advanced.png
+ \li \inlineimage front-help.png
\row
\li \b {\l{Editing 3D Scenes}}
\list
diff --git a/qbs/modules/libclang/functions.js b/qbs/modules/libclang/functions.js
index 0c15a2a628..d03358b3c6 100644
--- a/qbs/modules/libclang/functions.js
+++ b/qbs/modules/libclang/functions.js
@@ -37,7 +37,8 @@ function llvmConfig(hostOS, qtcFunctions)
{
var llvmInstallDirFromEnv = Environment.getEnv("LLVM_INSTALL_DIR")
var llvmConfigVariants = [
- "llvm-config", "llvm-config-7", "llvm-config-8", "llvm-config-9"
+ // CLANG-UPGRADE-CHECK: Adapt once we require a new minimum version.
+ "llvm-config", "llvm-config-8", "llvm-config-9", "llvm-config-10", "llvm-config-11", "llvm-config-12"
];
// Prefer llvm-config* from LLVM_INSTALL_DIR
diff --git a/qbs/modules/qtc/qtc.qbs b/qbs/modules/qtc/qtc.qbs
index aa30add4a8..93d08ab97f 100644
--- a/qbs/modules/qtc/qtc.qbs
+++ b/qbs/modules/qtc/qtc.qbs
@@ -4,10 +4,10 @@ import qbs.FileInfo
import "qtc.js" as HelperFunctions
Module {
- property string qtcreator_display_version: '4.12.1'
+ property string qtcreator_display_version: '4.12.2'
property string ide_version_major: '4'
property string ide_version_minor: '12'
- property string ide_version_release: '1'
+ property string ide_version_release: '2'
property string qtcreator_version: ide_version_major + '.' + ide_version_minor + '.'
+ ide_version_release
diff --git a/qtcreator_ide_branding.pri b/qtcreator_ide_branding.pri
index f9031c5982..baed3a6626 100644
--- a/qtcreator_ide_branding.pri
+++ b/qtcreator_ide_branding.pri
@@ -1,6 +1,6 @@
-QTCREATOR_VERSION = 4.12.1
+QTCREATOR_VERSION = 4.12.2
QTCREATOR_COMPAT_VERSION = 4.12.0
-QTCREATOR_DISPLAY_VERSION = 4.12.1
+QTCREATOR_DISPLAY_VERSION = 4.12.2
QTCREATOR_COPYRIGHT_YEAR = 2020
BINARY_ARTIFACTS_BRANCH = 4.12
diff --git a/share/qtcreator/android/sdk_definitions.json b/share/qtcreator/android/sdk_definitions.json
index 7bce8d6658..c88926b873 100644
--- a/share/qtcreator/android/sdk_definitions.json
+++ b/share/qtcreator/android/sdk_definitions.json
@@ -18,8 +18,8 @@
"specific_qt_versions": [
{
"versions": ["default"],
- "sdk_essential_packages": ["build-tools;29.0.2", "ndk-bundle"],
- "ndk_path": "ndk-bundle"
+ "sdk_essential_packages": ["build-tools;29.0.2", "ndk;21.1.6352462"],
+ "ndk_path": "ndk/21.1.6352462"
},
{
"versions": ["5.12.[0-5]", "5.13.[0-1]"],
diff --git a/share/qtcreator/debugger/dumper.py b/share/qtcreator/debugger/dumper.py
index 80d8d47fee..7df90b65db 100644
--- a/share/qtcreator/debugger/dumper.py
+++ b/share/qtcreator/debugger/dumper.py
@@ -39,7 +39,7 @@ try:
# we do not need to hard fail in cases of partial python installation
# that will never use this.
import json
-except ModuleNotFoundError:
+except:
print("Python module json not found. "
"Native combined debugging might not work.")
pass
diff --git a/src/libs/utils/fileutils.cpp b/src/libs/utils/fileutils.cpp
index 5901a60803..6b7b0b2a09 100644
--- a/src/libs/utils/fileutils.cpp
+++ b/src/libs/utils/fileutils.cpp
@@ -35,7 +35,7 @@
#include <QDebug>
#include <QDateTime>
#include <QOperatingSystemVersion>
-#include <QRegExp>
+#include <QRegularExpression>
#include <QTimer>
#include <QUrl>
#include <qplatformdefs.h>
@@ -325,10 +325,10 @@ QString FilePath::shortNativePath() const
QString FileUtils::fileSystemFriendlyName(const QString &name)
{
QString result = name;
- result.replace(QRegExp(QLatin1String("\\W")), QLatin1String("_"));
- result.replace(QRegExp(QLatin1String("_+")), QLatin1String("_")); // compact _
- result.remove(QRegExp(QLatin1String("^_*"))); // remove leading _
- result.remove(QRegExp(QLatin1String("_+$"))); // remove trailing _
+ result.replace(QRegularExpression(QLatin1String("\\W")), QLatin1String("_"));
+ result.replace(QRegularExpression(QLatin1String("_+")), QLatin1String("_")); // compact _
+ result.remove(QRegularExpression(QLatin1String("^_*"))); // remove leading _
+ result.remove(QRegularExpression(QLatin1String("_+$"))); // remove trailing _
if (result.isEmpty())
result = QLatin1String("unknown");
return result;
@@ -336,8 +336,8 @@ QString FileUtils::fileSystemFriendlyName(const QString &name)
int FileUtils::indexOfQmakeUnfriendly(const QString &name, int startpos)
{
- static QRegExp checkRegExp(QLatin1String("[^a-zA-Z0-9_.-]"));
- return checkRegExp.indexIn(name, startpos);
+ static const QRegularExpression checkRegExp(QLatin1String("[^a-zA-Z0-9_.-]"));
+ return checkRegExp.match(name, startpos).capturedStart();
}
QString FileUtils::qmakeFriendlyName(const QString &name)
diff --git a/src/libs/utils/namevaluesdialog.cpp b/src/libs/utils/namevaluesdialog.cpp
index 2b78dc7661..54c7a4577e 100644
--- a/src/libs/utils/namevaluesdialog.cpp
+++ b/src/libs/utils/namevaluesdialog.cpp
@@ -31,6 +31,7 @@
#include <QDialogButtonBox>
#include <QLabel>
#include <QPlainTextEdit>
+#include <QSet>
#include <QVBoxLayout>
namespace Utils {
diff --git a/src/libs/utils/savedaction.cpp b/src/libs/utils/savedaction.cpp
index 87a785f6db..beec2d3308 100644
--- a/src/libs/utils/savedaction.cpp
+++ b/src/libs/utils/savedaction.cpp
@@ -29,12 +29,12 @@
#include <utils/pathchooser.h>
#include <utils/pathlisteditor.h>
-#include <QDebug>
-#include <QSettings>
-
+#include <QActionGroup>
#include <QCheckBox>
+#include <QDebug>
#include <QGroupBox>
#include <QLineEdit>
+#include <QSettings>
#include <QSpinBox>
#include <QTextEdit>
diff --git a/src/libs/utils/variant.h b/src/libs/utils/variant.h
index 371b9312d3..baf0c27816 100644
--- a/src/libs/utils/variant.h
+++ b/src/libs/utils/variant.h
@@ -29,9 +29,7 @@
See std(::experimental)::variant.
*/
-// TODO: replace by #include <(experimental/)variant> depending on compiler and C++ version
#if __cplusplus >= 201703L
-#error Please delete variant.hpp and the #else section below, then remove this error
#include <variant>
namespace Utils {
diff --git a/src/plugins/android/androidconfigurations.cpp b/src/plugins/android/androidconfigurations.cpp
index f5ce84007e..000cc35399 100644
--- a/src/plugins/android/androidconfigurations.cpp
+++ b/src/plugins/android/androidconfigurations.cpp
@@ -617,8 +617,9 @@ QVector<AndroidDeviceInfo> AndroidConfig::connectedDevices(const FilePath &adbTo
if (adbDevs.empty())
return devices;
- while (adbDevs.first().startsWith("* daemon"))
- adbDevs.removeFirst(); // remove the daemon logs
+ for (const QString line : adbDevs) // remove the daemon logs
+ if (line.startsWith("* daemon"))
+ adbDevs.removeOne(line);
adbDevs.removeFirst(); // remove "List of devices attached" header line
// workaround for '????????????' serial numbers:
diff --git a/src/plugins/android/androidextralibrarylistmodel.cpp b/src/plugins/android/androidextralibrarylistmodel.cpp
index 58c6c2c8a7..3a168eca4a 100644
--- a/src/plugins/android/androidextralibrarylistmodel.cpp
+++ b/src/plugins/android/androidextralibrarylistmodel.cpp
@@ -87,7 +87,8 @@ void AndroidExtraLibraryListModel::updateModel()
QTC_ASSERT(rc, return);
const ProjectNode *node = m_target->project()->findNodeForBuildKey(rc->buildKey());
- QTC_ASSERT(node, return);
+ if (!node)
+ return;
if (node->parseInProgress()) {
emit enabledChanged(false);
diff --git a/src/plugins/android/androidtoolmanager.cpp b/src/plugins/android/androidtoolmanager.cpp
index 22c40dfef9..fa88a4987f 100644
--- a/src/plugins/android/androidtoolmanager.cpp
+++ b/src/plugins/android/androidtoolmanager.cpp
@@ -206,8 +206,10 @@ AndroidDeviceInfoList AndroidToolManager::androidVirtualDevices(const Utils::Fil
if (avds.empty())
return devices;
- while (avds.first().startsWith(QLatin1String("* daemon")))
- avds.removeFirst(); // remove the daemon logs
+ for (const QString line : avds) // remove the daemon logs
+ if (line.startsWith("* daemon"))
+ avds.removeOne(line);
+
avds.removeFirst(); // remove "List of devices attached" header line
bool nextLineIsTargetLine = false;
diff --git a/src/plugins/clangtools/clangtoolruncontrol.cpp b/src/plugins/clangtools/clangtoolruncontrol.cpp
index 49bef96a7c..b60e3d0400 100644
--- a/src/plugins/clangtools/clangtoolruncontrol.cpp
+++ b/src/plugins/clangtools/clangtoolruncontrol.cpp
@@ -454,7 +454,7 @@ void ClangToolRunWorker::finalize()
{
const QString toolName = tool()->name();
if (m_filesNotAnalyzed.size() != 0) {
- appendMessage(tr("Error: Failed to analyze %1 files.").arg(m_filesAnalyzed.size()),
+ appendMessage(tr("Error: Failed to analyze %1 files.").arg(m_filesNotAnalyzed.size()),
ErrorMessageFormat);
Target *target = runControl()->target();
if (target && target->activeBuildConfiguration() && !target->activeBuildConfiguration()->buildDirectory().exists()
diff --git a/src/plugins/compilationdatabaseprojectmanager/compilationdatabaseproject.cpp b/src/plugins/compilationdatabaseprojectmanager/compilationdatabaseproject.cpp
index 6dce6ed9fc..ee3c329141 100644
--- a/src/plugins/compilationdatabaseprojectmanager/compilationdatabaseproject.cpp
+++ b/src/plugins/compilationdatabaseprojectmanager/compilationdatabaseproject.cpp
@@ -202,7 +202,6 @@ RawProjectPart makeRawProjectPart(const Utils::FilePath &projectFile,
kitInfo.cToolChain = toolchainFromFlags(kit,
originalFlags,
ProjectExplorer::Constants::C_LANGUAGE_ID);
- ToolChainKitAspect::setToolChain(kit, kitInfo.cToolChain);
}
addDriverModeFlagIfNeeded(kitInfo.cToolChain, flags, originalFlags);
rpp.setFlagsForC({kitInfo.cToolChain, flags});
@@ -211,7 +210,6 @@ RawProjectPart makeRawProjectPart(const Utils::FilePath &projectFile,
kitInfo.cxxToolChain = toolchainFromFlags(kit,
originalFlags,
ProjectExplorer::Constants::CXX_LANGUAGE_ID);
- ToolChainKitAspect::setToolChain(kit, kitInfo.cxxToolChain);
}
addDriverModeFlagIfNeeded(kitInfo.cxxToolChain, flags, originalFlags);
rpp.setFlagsForCxx({kitInfo.cxxToolChain, flags});
diff --git a/src/plugins/coreplugin/locator/filesystemfilter.cpp b/src/plugins/coreplugin/locator/filesystemfilter.cpp
index 41ad77e5c1..dcb5925842 100644
--- a/src/plugins/coreplugin/locator/filesystemfilter.cpp
+++ b/src/plugins/coreplugin/locator/filesystemfilter.cpp
@@ -102,7 +102,7 @@ QList<LocatorFilterEntry> FileSystemFilter::matchesFor(QFutureInterface<LocatorF
const QStringList files = dirInfo.entryList(fileFilter,
QDir::Name|QDir::IgnoreCase|QDir::LocaleAware);
- const QRegularExpression regExp = createRegExp(entryFileName, caseSensitivity_);
+ QRegularExpression regExp = createRegExp(entryFileName, caseSensitivity_);
if (!regExp.isValid())
return {};
@@ -122,7 +122,10 @@ QList<LocatorFilterEntry> FileSystemFilter::matchesFor(QFutureInterface<LocatorF
}
}
// file names can match with +linenumber or :linenumber
- const EditorManager::FilePathInfo fp = EditorManager::splitLineAndColumnNumber(entry);
+ const EditorManager::FilePathInfo fp = EditorManager::splitLineAndColumnNumber(entryFileName);
+ regExp = createRegExp(fp.filePath, caseSensitivity_);
+ if (!regExp.isValid())
+ return {};
const QString fileName = QFileInfo(fp.filePath).fileName();
for (const QString &file : files) {
if (future.isCanceled())
diff --git a/src/plugins/cpptools/cppfilesettingspage.cpp b/src/plugins/cpptools/cppfilesettingspage.cpp
index c706076291..a4763c3333 100644
--- a/src/plugins/cpptools/cppfilesettingspage.cpp
+++ b/src/plugins/cpptools/cppfilesettingspage.cpp
@@ -324,6 +324,7 @@ void CppFileSettingsWidget::apply()
rc.sourceSuffix = m_ui.sourceSuffixComboBox->currentText();
rc.headerSearchPaths = trimmedPaths(m_ui.headerSearchPathsEdit->text());
rc.sourceSearchPaths = trimmedPaths(m_ui.sourceSearchPathsEdit->text());
+ rc.licenseTemplatePath = licenseTemplatePath();
if (rc == *m_settings)
return;
diff --git a/src/plugins/git/branchmodel.cpp b/src/plugins/git/branchmodel.cpp
index 0a40144948..73c7ce5ba8 100644
--- a/src/plugins/git/branchmodel.cpp
+++ b/src/plugins/git/branchmodel.cpp
@@ -150,6 +150,11 @@ public:
return fn;
}
+ QString fullRef(bool includePrefix = false) const
+ {
+ return fullName(includePrefix).join('/');
+ }
+
void insert(const QStringList &path, BranchNode *n)
{
BranchNode *current = this;
@@ -186,7 +191,7 @@ public:
}
return names;
}
- return {fullName().join('/')};
+ return {fullRef()};
}
int rowOf(BranchNode *node)
@@ -346,7 +351,7 @@ QVariant BranchModel::data(const QModelIndex &index, int role) const
return res;
}
case Qt::EditRole:
- return index.column() == 0 ? node->fullName().join('/') : QVariant();
+ return index.column() == 0 ? node->fullRef() : QVariant();
case Qt::ToolTipRole:
if (!node->isLeaf())
return QVariant();
@@ -381,7 +386,7 @@ bool BranchModel::setData(const QModelIndex &index, const QVariant &value, int r
if (newName.isEmpty())
return false;
- const QString oldName = node->fullName().join('/');
+ const QString oldName = node->fullRef();
if (oldName == newName)
return false;
@@ -525,7 +530,7 @@ QString BranchModel::fullName(const QModelIndex &idx, bool includePrefix) const
return QString();
if (node == d->headNode)
return QString("HEAD");
- return node->fullName(includePrefix).join('/');
+ return node->fullRef(includePrefix);
}
QStringList BranchModel::localBranchNames() const
@@ -901,7 +906,8 @@ void BranchModel::updateUpstreamStatus(BranchNode *node)
{
if (node->tracking.isEmpty())
return;
- VcsCommand *command = d->client->asyncUpstreamStatus(d->workingDirectory, node->name, node->tracking);
+ VcsCommand *command = d->client->asyncUpstreamStatus(
+ d->workingDirectory, node->fullRef(), node->tracking);
QObject::connect(command, &VcsCommand::stdOutText, node, [this, node](const QString &text) {
const QStringList split = text.trimmed().split('\t');
QTC_ASSERT(split.size() == 2, return);
diff --git a/src/plugins/mcusupport/mcusupport.qrc b/src/plugins/mcusupport/mcusupport.qrc
index b45fb8ccc3..59ff76770b 100644
--- a/src/plugins/mcusupport/mcusupport.qrc
+++ b/src/plugins/mcusupport/mcusupport.qrc
@@ -8,6 +8,8 @@
<file>wizards/icon@2x.png</file>
<file>wizards/application/CMakeLists.txt</file>
<file>wizards/application/project.qmlproject.tpl</file>
+ <file>wizards/application/BareMetal/main.cpp.tpl</file>
+ <file>wizards/application/FreeRTOS/main.cpp.tpl</file>
<file>wizards/application/main.qml.tpl</file>
<file>wizards/application/wizard.json</file>
</qresource>
diff --git a/src/plugins/mcusupport/mcusupportoptions.cpp b/src/plugins/mcusupport/mcusupportoptions.cpp
index 894eb9cb4c..bb10f7b064 100644
--- a/src/plugins/mcusupport/mcusupportoptions.cpp
+++ b/src/plugins/mcusupport/mcusupportoptions.cpp
@@ -61,7 +61,7 @@
namespace McuSupport {
namespace Internal {
-static const int KIT_VERSION = 4; // Bumps up whenever details in Kit creation change
+static const int KIT_VERSION = 5; // Bumps up whenever details in Kit creation change
static QString packagePathFromSettings(const QString &settingsKey, const QString &defaultPath = {})
{
@@ -441,7 +441,7 @@ void McuSupportOptions::deletePackagesAndTargets()
const QVersionNumber &McuSupportOptions::supportedQulVersion()
{
- static const QVersionNumber v({1, 1});
+ static const QVersionNumber v({1, 2});
return v;
}
diff --git a/src/plugins/mcusupport/mcusupportsdk.cpp b/src/plugins/mcusupport/mcusupportsdk.cpp
index 757d919315..7dd7967997 100644
--- a/src/plugins/mcusupport/mcusupportsdk.cpp
+++ b/src/plugins/mcusupport/mcusupportsdk.cpp
@@ -99,8 +99,6 @@ static McuToolChainPackage *createArmGccPackage()
Utils::HostOsInfo::withExecutableSuffix("bin/arm-none-eabi-g++"),
"GNUArmEmbeddedToolchain",
McuToolChainPackage::TypeArmGcc);
- result->setDownloadUrl(
- "https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads");
result->setEnvironmentVariableName(envVar);
return result;
}
@@ -149,19 +147,6 @@ static McuPackage *createRGLPackage()
return result;
}
-static McuPackage *createStm32CubeFwF7SdkPackage()
-{
- auto result = new McuPackage(
- McuPackage::tr("STM32Cube SDK"),
- "%{Env:STM32Cube_FW_F7_SDK_PATH}",
- "Drivers/STM32F7xx_HAL_Driver",
- "Stm32CubeFwF7Sdk");
- result->setDownloadUrl(
- "https://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32cube-mcu-packages/stm32cubef7.html");
- result->setEnvironmentVariableName("STM32Cube_FW_F7_SDK_PATH");
- return result;
-}
-
static McuPackage *createStm32CubeProgrammerPackage()
{
@@ -185,17 +170,6 @@ static McuPackage *createStm32CubeProgrammerPackage()
return result;
}
-static McuPackage *createEvkbImxrt1050SdkPackage()
-{
- auto result = new McuPackage(
- McuPackage::tr("NXP i.MXRT SDK"),
- "%{Env:EVKB_IMXRT1050_SDK_PATH}", // TODO: Try to not use 1050 specifics
- "EVKB-IMXRT1050_manifest_v3_5.xml",
- "EvkbImxrt1050Sdk");
- result->setDownloadUrl("https://mcuxpresso.nxp.com/en/welcome");
- return result;
-}
-
static McuPackage *createMcuXpressoIdePackage()
{
const char envVar[] = "MCUXpressoIDE_PATH";
@@ -318,13 +292,8 @@ static QVector<McuTarget *> targetsFromDescriptions(const QList<McuTargetDescrip
static QFileInfoList targetDescriptionFiles(const Utils::FilePath &dir)
{
- // Workaround for UL-2390: Instead of "./kits/", walk through "./lib/cmake/Qul/boards/"
- QFileInfoList result;
- QDirIterator it(dir.toString() + "/lib/cmake/Qul/boards/", {QLatin1String("*.json")},
- QDir::Files, QDirIterator::Subdirectories);
- while (it.hasNext())
- result.append(it.next());
- return result;
+ const QDir kitsDir(dir.toString() + "/kits/", "*.json");
+ return kitsDir.entryInfoList();
}
static QString freeRTOSEnvVarForPlatform(const QString &platform)
diff --git a/src/plugins/mcusupport/wizards/application/BareMetal/main.cpp.tpl b/src/plugins/mcusupport/wizards/application/BareMetal/main.cpp.tpl
new file mode 100644
index 0000000000..d6c84deeea
--- /dev/null
+++ b/src/plugins/mcusupport/wizards/application/BareMetal/main.cpp.tpl
@@ -0,0 +1,14 @@
+#include "%{ProjectName}.h"
+
+#include <qul/application.h>
+#include <qul/qul.h>
+
+int main()
+{
+ Qul::initPlatform();
+ Qul::Application app;
+ static %{ProjectName} item;
+ app.setRootItem(&item);
+ app.exec();
+ return 0;
+}
diff --git a/src/plugins/mcusupport/wizards/application/CMakeLists.txt b/src/plugins/mcusupport/wizards/application/CMakeLists.txt
index ff5871b9b5..3ad30d99ca 100644
--- a/src/plugins/mcusupport/wizards/application/CMakeLists.txt
+++ b/src/plugins/mcusupport/wizards/application/CMakeLists.txt
@@ -4,7 +4,7 @@ project(%{ProjectName} VERSION 0.0.1 LANGUAGES C CXX ASM)
find_package(Qul)
-add_executable(%{ProjectName})
+add_executable(%{ProjectName} ${OS}/main.cpp)
qul_target_qml_sources(%{ProjectName} %{MainQmlFile})
target_link_libraries(%{ProjectName} Qul::QuickUltralite)
diff --git a/src/plugins/mcusupport/wizards/application/FreeRTOS/main.cpp.tpl b/src/plugins/mcusupport/wizards/application/FreeRTOS/main.cpp.tpl
new file mode 100644
index 0000000000..43ca2e706b
--- /dev/null
+++ b/src/plugins/mcusupport/wizards/application/FreeRTOS/main.cpp.tpl
@@ -0,0 +1,38 @@
+#include "%{ProjectName}.h"
+
+#include <qul/application.h>
+#include <qul/qul.h>
+
+#include <cstdio>
+#include <FreeRTOS.h>
+#include <task.h>
+
+#ifndef QUL_STACK_SIZE
+#error QUL_STACK_SIZE must be defined.
+#endif
+
+static void Qul_Thread(void *argument);
+
+int main()
+{
+ Qul::initPlatform();
+
+ if (xTaskCreate(Qul_Thread, "QulExec", QUL_STACK_SIZE, 0, 4, 0) != pdPASS) {
+ std::printf("Task creation failed!.\\r\\n");
+ configASSERT(false);
+ }
+
+ vTaskStartScheduler();
+
+ // Should not reach this point
+ configASSERT(false);
+ return 0;
+}
+
+static void Qul_Thread(void *argument)
+{
+ Qul::Application app;
+ static %{ProjectName} item;
+ app.setRootItem(&item);
+ app.exec();
+}
diff --git a/src/plugins/mcusupport/wizards/application/main.qml.tpl b/src/plugins/mcusupport/wizards/application/main.qml.tpl
index 595c561f74..8c05a48f66 100644
--- a/src/plugins/mcusupport/wizards/application/main.qml.tpl
+++ b/src/plugins/mcusupport/wizards/application/main.qml.tpl
@@ -1,4 +1,3 @@
-pragma main;
import QtQuick 2.0
Rectangle {
diff --git a/src/plugins/mcusupport/wizards/application/wizard.json b/src/plugins/mcusupport/wizards/application/wizard.json
index 1c598507e1..b458bb010a 100644
--- a/src/plugins/mcusupport/wizards/application/wizard.json
+++ b/src/plugins/mcusupport/wizards/application/wizard.json
@@ -53,6 +53,16 @@
"openInEditor": false
},
{
+ "source": "BareMetal/main.cpp.tpl",
+ "target": "%{ProjectDirectory}/BareMetal/main.cpp",
+ "openInEditor": false
+ },
+ {
+ "source": "FreeRTOS/main.cpp.tpl",
+ "target": "%{ProjectDirectory}/FreeRTOS/main.cpp",
+ "openInEditor": false
+ },
+ {
"source": "main.qml.tpl",
"target": "%{ProjectDirectory}/%{MainQmlFile}",
"openInEditor": true
diff --git a/src/plugins/qmlpreview/qmlpreviewruncontrol.cpp b/src/plugins/qmlpreview/qmlpreviewruncontrol.cpp
index 9f22796689..c513a580f3 100644
--- a/src/plugins/qmlpreview/qmlpreviewruncontrol.cpp
+++ b/src/plugins/qmlpreview/qmlpreviewruncontrol.cpp
@@ -134,21 +134,22 @@ LocalQmlPreviewSupport::LocalQmlPreviewSupport(ProjectExplorer::RunControl *runC
const auto currentTarget = runControl->target();
const auto *qmlBuildSystem = qobject_cast<QmlProjectManager::QmlBuildSystem *>(currentTarget->buildSystem());
- const auto aspect = runControl->aspect<QmlProjectManager::QmlMainFileAspect>();
- const QString mainScript = aspect->mainScript();
- const QString currentFile = aspect->currentFile();
-
- const QString mainScriptFromProject = qmlBuildSystem->targetFile(
- Utils::FilePath::fromString(mainScript)).toString();
-
- const QString currentFileFromProject = qmlBuildSystem->targetFile(
- Utils::FilePath::fromString(currentFile)).toString();
-
- if (!currentFile.isEmpty() && qmlProjectRunConfigurationArguments.last().contains(mainScriptFromProject)) {
- qmlProjectRunConfigurationArguments.removeLast();
- auto commandLine = Utils::CommandLine(runnable.commandLine().executable(), qmlProjectRunConfigurationArguments);
- commandLine.addArg(currentFile);
- runnable.setCommandLine(commandLine);
+ if (const auto aspect = runControl->aspect<QmlProjectManager::QmlMainFileAspect>()) {
+ const QString mainScript = aspect->mainScript();
+ const QString currentFile = aspect->currentFile();
+
+ const QString mainScriptFromProject = qmlBuildSystem->targetFile(
+ Utils::FilePath::fromString(mainScript)).toString();
+
+ const QString currentFileFromProject = qmlBuildSystem->targetFile(
+ Utils::FilePath::fromString(currentFile)).toString();
+
+ if (!currentFile.isEmpty() && qmlProjectRunConfigurationArguments.last().contains(mainScriptFromProject)) {
+ qmlProjectRunConfigurationArguments.removeLast();
+ auto commandLine = Utils::CommandLine(runnable.commandLine().executable(), qmlProjectRunConfigurationArguments);
+ commandLine.addArg(currentFile);
+ runnable.setCommandLine(commandLine);
+ }
}
Utils::QtcProcess::addArg(&runnable.commandLineArguments,
diff --git a/src/plugins/webassembly/webassemblyrunconfiguration.cpp b/src/plugins/webassembly/webassemblyrunconfiguration.cpp
index 2bb8861b71..977e61b0fe 100644
--- a/src/plugins/webassembly/webassemblyrunconfiguration.cpp
+++ b/src/plugins/webassembly/webassemblyrunconfiguration.cpp
@@ -51,6 +51,7 @@ static CommandLine emrunCommand(Target *target, const QString &browser, const QS
"--browser", browser,
"--port", port,
"--no_emrun_detect",
+ "--serve_after_close",
html.toString()
});
}
diff --git a/tests/system/suite_tools/tst_codepasting/test.py b/tests/system/suite_tools/tst_codepasting/test.py
index 42eb3ef8b0..0915f02fcc 100644
--- a/tests/system/suite_tools/tst_codepasting/test.py
+++ b/tests/system/suite_tools/tst_codepasting/test.py
@@ -35,7 +35,6 @@ def __platformToBeRunToday__():
skipPastingToPastebinCom = platform.system() not in __platformToBeRunToday__()
NAME_PBCOM = "Pastebin.Com"
-NAME_PCXYZ = "Pastecode.Xyz"
serverProblems = "Server side problems."
@@ -169,7 +168,7 @@ def main():
startQC()
if not startedWithoutPluginError():
return
- protocolsToTest = [NAME_PBCOM, NAME_PCXYZ]
+ protocolsToTest = [NAME_PBCOM]
sourceFile = os.path.join(os.getcwd(), "testdata", "main.cpp")
# make sure General Messages is open
openGeneralMessages()