Commit Graph

67787 Commits

Author SHA1 Message Date
Robert Loehning
aac77eecb9 Squish: Replace Qt version 5.6.1 with 5.14.1
Task-number: QTCREATORBUG-22111
Change-Id: Iaae052e73a264252e399bd0992be4b420e2799ae
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-03-10 15:59:08 +00:00
Alessandro Portale
4e4b8965a9 McuSupport: Introduce a separate status label
The status label will notify about missing CMake, etc.

The Kit Creation info label should only inform about the kit options for
the currently selected target.

Change-Id: I8786fe287f5fa28b46bb0e6d2d88517ec2593e05
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2020-03-10 15:23:34 +00:00
Aleksei German
0702f65a52 QmlDesigner: Add Default State button
Added functionality to change default state from UI

TASK: QDS-1747
Change-Id: I78c0a5e8f5abfc18b4dbce9e283ceb1307a537ae
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-03-10 14:41:01 +00:00
Mahmoud Badri
4a11975956 QmlDesigner: Update cullingMode API to QtQuick3D 5.15 specs
Change-Id: Ic4fc6bbd4d2bb7e9968c337eb5775a04c1a6f59c
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2020-03-10 14:01:38 +00:00
Christian Kandeler
b0779ad5f8 Wizards: Make it more obvious to users that they can create C files
Technically, almost any "new file" wizard could be used to create a C
file, but conceptually, it makes the most sense to turn the "C++"
category into "C/C++".

Fixes: QTCREATORBUG-23621
Change-Id: I002365fa35cc6c9bf7c71039e122f72890f66b1a
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-03-10 13:23:57 +00:00
Christian Kandeler
8914d8565e ProjectExplorer: Fix memory leak in "New File" dialog
Change-Id: I729392c04d2bb9e02f882d62e371e5fbc286afc4
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-03-10 11:03:25 +00:00
Christian Kandeler
829faf7eef File wizards: Optionally show the default suffix
In wizards that create a single new file, there's almost always a
default suffix that gets appended if the user provides only the base
name. However, there's currently no visual indication on the page that
such a suffix will be appended. Therefore, we add an optional field to
the FileWizardPage that displays the default suffix if the wizard
provides one.

Change-Id: Ia1c8966e7de14b484d065dbd4a41aa74f484f085
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-03-10 09:53:53 +00:00
Eike Ziller
7c7c5d5a4f Add changes file for 4.11.2
Change-Id: I6bd6bc3e682c13ca562bcf33f458444e8f74b353
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2020-03-10 09:16:06 +00:00
Christian Kandeler
233c438a2d QbsProjectManager: Consider cpp.platformDefines for the code model
Fixes: QTCREATORBUG-19537
Change-Id: Ia51441491913da0f7b31c2ff02e2552ff58147f3
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-03-10 08:47:11 +00:00
Alessandro Portale
8652188ac9 McuSupport: Restructure UI to reflect the data hierarchy
1) User selects the Qt for MCUs sdk dir
2) User chooses which board to configure
3) User provides paths for dependencies
4) User creates Kit

Change-Id: Ia30ca7e245e2500c7650d12ea6768ab6e60d99c7
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2020-03-09 18:51:05 +00:00
Henning Gruendl
9d4a6092d2 ADS: Fix Preset sync failure if directory missing
Change-Id: I23ed2a12753058b36a708c9aff64291782b73809
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-03-09 14:28:21 +00:00
Henning Gruendl
74eaa8f883 ADS: Integrate newest base repository commits
f3c5d5138024acfb0991fa1794da70a19240c820
fe10b570d3c17eaaf7c4c67e4cf7d56550e6e9e4
4cb1931acec0ce21e0ebc38742b3d4f1c066e368
59c783831ad23238e41205a5da854a9eb39ce777

- Fix reception of escape key press events
- Fix display of container dock overlay
- Fix comments

Change-Id: I34387046335b3d57434decd5714da7ae307bcc05
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-03-09 14:28:08 +00:00
Christian Kandeler
7f1c1baf8c ProjectExplorer: Register the "QtKeywordsEnabled" macro in time
It was used in the header template before we made it known to the
wizard.

Fixes: QTCREATORBUG-23603
Change-Id: I4b0f77c199aa22cc1b9853657695cdb10b96faad
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-03-09 13:26:13 +00:00
Tobias Hunger
e35289243d BuildConfiguration: Unify handling of buildDirectoryChanged signal
Always emit the buildDirectoryChanged signal through
emitBuildDirectoryChanged to consistently de-duplicate the signal
emission.

Change-Id: I2b9ed9101f10de4e96d8d0ad7cba203bd6c8883a
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-03-09 13:24:18 +00:00
Tobias Hunger
1baed8252b AutoTest: Do not explicitly moc boosttestsettingspage.h
There is nothing to do in this file.

Change-Id: Idf8f29cbe99e3c7f5c4525b813a6d0c22f9ceb45
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-03-09 13:23:52 +00:00
Christian Kandeler
2f7f9b2a96 EnvironmentWidget: Make path list editing more convenient
Editing long path lists such as PATH as raw text is rather annoying.
Instead, we now open a dedicated widget where the directories can be
edited separately.

Fixes: QTCREATORBUG-20965
Change-Id: I93815a9099473c117570df0eb18be3cd25d17b8d
Reviewed-by: hjk <hjk@qt.io>
2020-03-09 12:59:42 +00:00
Henning Gruendl
aaa9a51511 ADS: Fix QHash unite warning for 5.15
Change-Id: I384f810bd15ec0c0b191dcdd0654f089de9e8ecb
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-03-09 12:17:33 +00:00
Christian Stenger
5db38c5937 AutoTest: Fix enabled state of framework root
Do not evaluate the invisible root as it is not a
real test tree item.

Change-Id: I944c1ac2f8ed3ff47cd8036ebf8fd8319e05e1ab
Reviewed-by: David Schulz <david.schulz@qt.io>
2020-03-09 11:59:26 +00:00
Christian Stenger
9471bd581e AutoTest: Remove back reference
There is no need for holding the q-pointer anymore.

Change-Id: I9de19238b0cf0d59cd1e88590b7b2dfaf28ff285
Reviewed-by: David Schulz <david.schulz@qt.io>
2020-03-09 11:59:12 +00:00
Miikka Heikkinen
9abd96e38f QmlDesigner: Fix edit 3D view tool state initialization
Edit 3D view tool state is now always initialized to a stored
"no scene" state if one exists to ensure further scene changes
properly inherit the tool state in all cases.

Change-Id: Ifee5fe58255b51d9dbed57abb2020ea00d94af2c
Fixes: QDS-1750
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2020-03-09 11:58:42 +00:00
Henning Gruendl
73aaa2a381 ADS: Hide detached window if not in design mode
Task-number: QDS-1672
Change-Id: Ia20113cb9025c19194d87920cf060d2b9791e52a
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-03-09 11:40:19 +00:00
Aleksei German
6de4e49646 QmlDesigner: Fix Add State Button spacing
Task: QDS-300
Change-Id: I3c69e9b3871a8879137d25c92cbef3c1a4ae9e8b
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-03-09 11:38:21 +00:00
Henning Gruendl
dc2abffe60 QmlDesigner: Fix crash on shutdown
Task-number: QDS-1749
Change-Id: I0ddfcc98080de0bdf2f620fdad387b3a4a582c4e
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-03-09 11:37:42 +00:00
Christian Kandeler
ce3103194f CppTools: Fix code model with clang and precompiled headers
Amends a1d22fd2f7.

Fixes: QTCREATORBUG-22897
Change-Id: Iaadf72d78e11279c8dd553860e00be9d29135752
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2020-03-09 11:31:42 +00:00
Henning Gruendl
4f6ef7b698 ADS: Disable workspace menu if not in design mode
Task-number: QDS-1741
Change-Id: I8ab9f9f130d74c1dd426077d1b8b9500534b380f
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-03-09 11:23:11 +00:00
David Schulz
df2efd7df6 Dumper: raise exception in gdbbridge callHelper on Windows
Gdb from MinGW 7.3.0 and 5.3.0 crashes on Windows when we try to
evaluate expressions that result in a function call. At least prevent
evaluating such expressions from within the dumper.

Task-number: QTCREATORBUG-23477
Change-Id: Ic14148a43b95aa1b52c1d4488958fa66eccdc0b5
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-03-09 09:20:06 +00:00
Eike Ziller
0e4c09bd17 Merge remote-tracking branch 'origin/4.12'
Change-Id: I24afa28063713e8430a049024700ce2905de5c83
2020-03-09 10:09:30 +01:00
Miikka Heikkinen
efa11e690b QmlDesigner: Remove remaining separate edit 3D window code
Change-Id: I3d745b54ae3aa5c3c05c859239934125b9ca828d
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2020-03-09 08:41:55 +00:00
Miikka Heikkinen
e8f76f0050 QmlDesigner: Store 3D edit tool states per document
This way we avoid interference from scenes in other documents.

3D Edit view content is also cleared whenever a model is detached,
and puppet resize is automatically triggered if incorrectly sized
image is received to keep edit 3D view content up to date.

Change-Id: Ic7a71f1d89f0ebfe5a62b49ea62570242b8f5b1d
Fixes: QDS-1734
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-03-09 08:41:42 +00:00
David Schulz
42f34c8a55 Dumper: Do not test fortran string on windows
Which doesn't exist on windows and will fail the test

Change-Id: I0dd005ccfcbf54faa716c642c5441c2086b3a32a
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-03-09 07:10:57 +00:00
Christian Stenger
3568b6bea1 Android: Fix build with namespaced Qt
Amends 1fbc8a7f68.

Change-Id: Idb76c31c2ab0bf93a49c255bae5b2c428f4961c7
Reviewed-by: David Schulz <david.schulz@qt.io>
2020-03-09 06:38:29 +00:00
Denis Shienkov
fdf383cf37 BareMetal: Choose peripheral description file on debug provider page
... instead of device page.

Reason is that a path to the peripheral description file comes from the
inside of the provider for some providers (e.g. for the UVSC provider at
parsing the selected "Software Device Pack" file).

This complicates a code for assigning of the selected peripheral
description file path to the device configuration page.

So, it is makes sense to make it possible to choose a peripheral
description file from the debug server provider page. In this case we
will pass a path to the selected peripheral description file via the
runnable's extra data variable.

Tested with STM32 NUCLEO-F767ZI board on Windows.

Change-Id: Iec4d738dd236449969fd669e7fbe58da3a660938
Reviewed-by: hjk <hjk@qt.io>
2020-03-06 18:20:15 +00:00
Eike Ziller
4894afee52 Bump version -> 4.12 beta2
Change-Id: I9da6834efe5d1423dc3d5a47d9472c50dc26d44c
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-03-06 14:19:52 +00:00
Tim Jenssen
8573623c6e QmlJS: remove unused QtQuick2 check
Change-Id: I7d613ba825a5ce3d4d8302adff9c98f751bc7ab1
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@qt.io>
2020-03-06 14:06:54 +00:00
Eike Ziller
a6d52a6e28 Move some actions to a "View" menu
A "View" menu seems to be what many users are looking for when they want
to show or hide panes/views, so move corresponding actions there.
Window management / split actions stay in the "Window" menu.

Fixes: QTCREATORBUG-23610
Change-Id: Id683addc681de99abb35697a735fdbc9dc0d00cd
Reviewed-by: hjk <hjk@qt.io>
2020-03-06 14:01:23 +00:00
Leena Miettinen
712766b7b1 Doc: Update docs on Build menu commands
Task-number: QTCREATORBUG-23686
Change-Id: I46a94564d96ad7a5172414c62aa2abbbc965bbba
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-03-06 13:31:46 +00:00
Miikka Heikkinen
0fa7581b18 QmlDesigner: Fix 3D edit view refresh issues
Change-Id: Iddcd54b29376a6a31a0290b234ade63ed2bb898b
Fixes: QDS-1746
Fixes: QDS-1738
Fixes: QDS-1742
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-03-06 13:30:23 +00:00
Miikka Heikkinen
3ca7fdeb8a QmlDesigner: Update edit 3D camera icons
Change-Id: I637a37577a6c8d1b96b347041757066dd9c58071
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-03-06 13:28:19 +00:00
Miikka Heikkinen
887b137348 QmlDesigner: Fix various Edit 3D view tool state issues
Edit 3D view tool state is now inherited from the current tool state
of the 3D view for newly added scenes. If there is a stored tool state
for the scene id, then that is used instead.

Change-Id: I4360d034cf946b1951642f4c2e09344b34825dc2
Fixes: QDS-1730
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2020-03-06 13:28:04 +00:00
Leena Miettinen
32bf75c50e Doc: Move environment settings to a separate section
They are available from three different places in the Projects mode,
with slightly different use cases.

Task-number: QTCREATORBUG-23686
Change-Id: I678b3ab4762d7da8d0fcc060eef7d0146bfcd0ac
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-03-06 13:00:03 +00:00
Leena Miettinen
89a9790ca9 Doc: Describe new ways to customize the build process
You can select what to stop before building and what to
build before running.

Task-number: QTCREATORBUG-23686
Change-Id: I7d20b2ece09227f0f2ef54788efc3b83807d1a32
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-03-06 12:54:39 +00:00
Ville Voutilainen
1fbc8a7f68 Android: turn manifest editor application icons into widgets
Change-Id: If192b1b4809cd68ebd214f3fd82e26c7818df32f
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
2020-03-06 11:00:04 +00:00
hjk
a7c05e5e11 Debugger: Invalidate disassembler cache index after using it
Not before. Amends b3812bf94f.

Change-Id: I3f8dd9f23adbbd56bb0d5d76a80a90fd9b7030b5
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-03-06 10:58:24 +00:00
Eike Ziller
d6c95ef365 Take compatibility version into account for user plugins
When loading user-local plugins, do not load plugins for all patch
versions starting from .0 unconditionally. Take the compatibility
version into account.

That fixes that prereleases x.y.82 etc should not try loading plugins
for any actual x.y.z release.

Change-Id: Ide0931bbdef4f48e08dcc3213f7c193c8889fb0f
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-03-06 09:49:05 +00:00
Eike Ziller
8f89c9a846 Merge remote-tracking branch 'origin/4.12'
Change-Id: I04d9cc69a07d4d07b1bf1df57681d6a68587d7ba
2020-03-06 09:44:11 +01:00
BogDan Vatra
8bb3b3c4f1 Disable androidMinSdkVersion & androidTargetSdkVersion editing if needed
Starting with Qt 5.15 we moved sdk min & target versions from
AndroidManifest.xml file to build.gradle (the change was needed by
android gradle plugin).

Fixes: QTBUG-70817
Change-Id: I3b493d88da1a4a98f1a6d8ebadc26aebfc601090
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2020-03-06 07:18:04 +00:00
Christian Stenger
afffbe01aa AutoTest: Fix leaking of project settings
Make sure project settings will be destructed
correctly.

Change-Id: I633bf744eb2e0835fe89e3a9f3c2f7293c5f5275
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-03-05 14:32:55 +00:00
Leena Miettinen
74f04c17d1 Doc: Update info about build settings
QML debugging and profiling, separate debug info, and
Qt Quick Compiler are now enabled in the general build
settings. Default values can be set in Build & Run options.

Task-number: QTCREATORBUG-23686
Change-Id: I6eef8f270ab42cc563c3c95cfddf22243a5ef017
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-03-05 13:43:24 +00:00
Christian Kandeler
cb2f5520d9 QbsProjectManager: Fix default install root
We forgot to append the "/install-root" directory at the end.

Change-Id: I1ad0d547f097a6b9c954603d394a5182368633a7
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2020-03-05 13:35:33 +00:00
Leena Miettinen
cd00122fcd Doc: Update info about Qbs support
Fixes: QTCREATORBUG-23691
Change-Id: Ic1d9b23720a305c39792948aec8f15ee52c1a778
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-03-05 13:15:55 +00:00