Commit Graph

58574 Commits

Author SHA1 Message Date
Leena Miettinen
6ee855a2bc Doc: Describe launching KCachegrind from Qt Creator
...for profile data visualization.

Change-Id: I878ab4a3dfff0fc43903e482603a516514e79c10
Reviewed-by: hjk <hjk@qt.io>
2019-04-05 15:18:21 +00:00
Leena Miettinen
c9cdd1f83b Doc: Add information about clang-cl
Change-Id: Iffaf7fcc2a47dccba188a04c21d360cb24655137
Reviewed-by: hjk <hjk@qt.io>
2019-04-05 15:03:09 +00:00
Leena Miettinen
6916329623 Doc: Add note about only B2Qt version 5.9 being supported
Change-Id: I677073b521bc3d7523814eaf562828e523c83e00
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io>
2019-04-05 10:43:00 +00:00
Christian Kandeler
967e1a877e Update qbs submodule
To HEAD of 1.13 branch.

Change-Id: I9f3c71230bf1db8f88e75bbdb12982c2d937057e
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2019-04-05 09:13:58 +00:00
Leena Miettinen
fc106047f2 Doc: Describe removing and restoring debuggers in Kit options
Change-Id: Ie5a9f4ce222f25818118f9388c11590eca0c53c2
Reviewed-by: hjk <hjk@qt.io>
2019-04-05 08:27:50 +00:00
Leena Miettinen
903da92051 Doc: Add information about running Qt for Python applications
Change-Id: Ibd9ed61bd1f771c8081f2c2d2fcc492f0a87da11
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
2019-04-05 07:49:57 +00:00
Christian Kandeler
b8e5a609e1 RemoteLinux: Fix upload of directories
When "expanding" directories, we must remove the directory itself from
the list of deployables. This was broken in f4a12d488c.

Fixes: QTCREATORBUG-22210
Change-Id: I0946aa83cb34aaca01520f19e2aaf3414ae2db17
Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2019-04-05 07:45:55 +00:00
Eike Ziller
56ca042ddc Mode selector: Suppress change signals when clicking on active mode tab
Change-Id: I027b1a293fb6daafbdd8fee28fa0f477e0be8367
Reviewed-by: hjk <hjk@qt.io>
2019-04-05 07:37:57 +00:00
Leena Miettinen
4bc10fc6af Doc: Add info about Clang Format to "Specifying Code Style Settings"
If the Clang Format plugin is enabled, the settings look totally
different than currently described.

Updated screenshots.

Change-Id: I7b9a458329e539bb6140907a9c4ea9ec6c1acdba
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
2019-04-05 07:18:39 +00:00
Leena Miettinen
3f544c18f8 Doc: Add device types available in Kit options
Describe the "Emulator skin" field.

Change-Id: I7d3808064a48f7523b9f76f2058b5a1276b19e94
Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io>
2019-04-05 07:18:18 +00:00
Leena Miettinen
6fd4bcbc36 Doc: Fix info about generic highlighting in Configuring Qt Creator
Change-Id: Ic2e2154f64abff3d7ad88dbce2e530ecee6839d1
Reviewed-by: David Schulz <david.schulz@qt.io>
2019-04-04 13:16:16 +00:00
Leena Miettinen
d1a30ff8b6 Doc: Add info about the language server plugin to the IDE Overview
Change-Id: I634bd3c12fd59c4fa7647a625287c74bde10d49f
Reviewed-by: David Schulz <david.schulz@qt.io>
2019-04-04 13:05:06 +00:00
Christian Stenger
f001836c5e AutoTest: Fix handling of internal messages after disabled tests
Internal messages which came right after the message of disabled
tests got the wrong parent and therefore had never been displayed.

Change-Id: Ibfdf75ae720b31149b6fdf2eb625814690aa9a53
Reviewed-by: David Schulz <david.schulz@qt.io>
2019-04-04 12:52:30 +00:00
Christian Stenger
efbe62b389 AutoTest: Fix handling of internal messages
When order results by applications is enabled some internal
messages might end up in a wrong (or at least useless) position
inside the results pane.
For non-pure-global results we need to pass the id / application
to avoid this.

Change-Id: I4221326f9729547a1ee49eeb0ee4f82807444ae7
Reviewed-by: David Schulz <david.schulz@qt.io>
2019-04-04 12:52:22 +00:00
Leena Miettinen
ab26e9b6a5 Doc: Link to Clang tools diagnostics from Clang code model
The screenshot in Clang code model shows lots of things that
are explained in the Clang tools topics.

Change-Id: I8d34433348801962a4146dd7fac006d7c37a8b8e
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
2019-04-04 12:08:33 +00:00
David Schulz
58dc80e4ab Increase year in copyright_template.txt
Change-Id: I86352f43d42ddb1f5341c6647e59c06a8a0c0b82
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-04-04 10:11:35 +00:00
Christian Kandeler
7e3356c324 QbsProjectManager: Fix infinite loop when "force probes" is checked
This happened for all projects with a Qt dependency, because the module
provider kept recreating the Qt modules, which in turn caused Qt Creator
to re-parse the project.

Change-Id: I77c5c8723c1d0bcd477db648692ddaf9e060ce99
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2019-04-04 08:32:49 +00:00
Leena Miettinen
efb074dd39 Doc: Fix path to Tools > Git > Local Repository > Patch > Apply from Editor
Change-Id: Ic2433239b52da5369c1a946f1c277f416ee7349b
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2019-04-04 08:05:07 +00:00
Leena Miettinen
33d9bddc46 Doc: Mention that Perforce plugin must be enabled also in VCS overview
For consistency with ClearCase.

Change-Id: I77a2195f91cccdbb8c58e4eb1a0a250fa3ab5a31
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2019-04-04 07:11:07 +00:00
Alessandro Portale
1d2fa1d618 Classic theme: Add missing FancyTabBarSelectedBackgroundColor
In fact, that color is not used in the non-flat classic theme. But
without it, the theme reader complains:
  Theme "default.creatortheme" misses color setting for key
  "FancyTabBarSelectedBackgroundColor".

Change-Id: I81462510150c1dc4fbb3d0bf5d7a2d610abb1f10
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-04-04 06:56:32 +00:00
Leena Miettinen
d8c86deb0f Doc: Add information about CVS Edit, Unedit, Unedit Repository
Change-Id: Iadd201a70300ba243b93568d4a369748dd23de35
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2019-04-03 15:22:23 +00:00
Tim Jenssen
a79dc3fd1a QmlDesigner: fix crash
Task-number: QTCREATORBUG-21542
Change-Id: I7bcd5efbbedf7f62f2742eeff63d6cda49c6d41c
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-04-03 15:18:40 +00:00
Thomas Hartmann
195812c634 QmlDesigner: Use highlight blue for expression indicator
Using optipng on all PNGs.

Change-Id: Id43868b917b450b2b613ea309f105be282161c04
Task-numbner: QDS-540
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2019-04-03 14:09:29 +00:00
Thomas Hartmann
b7753ac86a QmlJS: Fix code re-formatter for arrays
Task-number: QTCREATORBUG-22026
Change-Id: Iae9e53b149ebfbbe904fc1aef8408b1f6f852a13
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2019-04-03 13:53:09 +00:00
Robert Loehning
57495d421c Squish: Select suitable Qt version for "Scroll" project
Task-number: QTCREATORBUG-22245
Change-Id: I5088f4c327a3465567bb9c9d98eed1db8ba096cb
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-04-03 13:27:59 +00:00
Ivan Donchevskii
c5a58a9cb5 ClangFormat: Add more unit-tests for if conditions
Change-Id: I4ed68fc6260bfb4b058d5714d64dfec638ae1953
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
2019-04-03 12:48:38 +00:00
Ivan Donchevskii
17f87a6d82 ClangFormat: Disable configuration UI instead of hiding
This is the first step without strings change.
The next step is I201dbccb8b1f1738451f760af34cf588afb5f4d5.

Change-Id: Ic0ce6a5ab3e74303a71a7c0bd8188d0284a241eb
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
2019-04-03 12:02:31 +00:00
Eike Ziller
ec15a93215 Update documentation on supported macOS platforms of the prebuilt binaries
The prebuilt binaries are based on Qt 5.12 which requires macOS 10.12 or later

Change-Id: I72fbfed1aee4ca137676916f8c11c734c41149db
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2019-04-03 11:51:50 +00:00
Thomas Hartmann
af07a2cdc7 QmlDesigner.Tests: import Qt 4.7 is not supported anymore
Change-Id: I47479f13985a0b143845870983fe28baa52badbc
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2019-04-03 11:29:01 +00:00
Eike Ziller
9ead3b6289 Fix missing mode changed signal on startup
Reverts commit 88fc878aa8
and fixes the original issue differently.
Introduce a currentAboutToChange signal in FancyTabBar that
is passed on via FancyTabWidget to
ModeManager::currentModeAboutToChange.
This avoids the temporary mismatch of selected indices in the
tab bar vs tab widget.

Change-Id: If1a331db5478450d7c57e5908b2bed218e9828a8
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2019-04-03 10:50:09 +00:00
Tim Jenssen
1d29c46662 QmlJS: re-enable revision parsing
Looks like it was unintentional disabled
when the QML parser was updated.

Task-number: QTCREATORBUG-22057
Change-Id: I670882b78e0e421447e7f7b463c51f3568e7c2a2
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-04-03 09:48:44 +00:00
Leena Miettinen
e730c72715 Doc: Describe correlating time ranges with flame graphs in QML Profiler
Change-Id: I2b2ecfab5af02df909a1904f1803bc573b6ae352
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2019-04-03 06:51:31 +00:00
Alessandro Portale
65525a8001 Scroll Qt Quick Application Wizard: Enable minimal Qt version selection
This change makes the combobox for the minimal Qt Version in the
"Scroll" Qt Quick Application Wizard visible.

In contrast to the other Qt Quick Application Wizards, the "Scroll"
variant had the minimal Qt version selection hidden. That was OK in the
initial wizard commit, where only one Qt Version would have been
selectable. But with the subsequent additions of Qt Versions in the
wizard.json, the combobox visibility should have been changed to true.

The consequence of the invisible combobox was that the default was
secretly selected. The default was Qt 5.10 for a while. But the default
changed recently with 52f95bae8b and
caused QTCREATORBUG-22245.

Task-number: QTCREATORBUG-22245
Change-Id: If4d2f384a28bf3dd130b097022ea6d8d30ef7509
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-04-03 05:40:55 +00:00
Luca Carlon
79897316bc Suffix project user file with value of QTC_EXTENSION if present
Value of environment variable QTC_EXTENSION used to be appended to
the name of the project user file. This patch brings back the old
behavior.

Change-Id: I5d15fd529b056f1a96a561924a41ae62ae4b2681
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
(cherry picked from commit 04f8c0946f)
2019-04-02 22:03:56 +00:00
Thomas Hartmann
ebe76c6810 QmlDesigner: Fix icons
Task-number: QDS-538
Change-Id: If827453b95d76b20094ed83ec0673604ed7b188a
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2019-04-02 14:20:38 +00:00
Leena Miettinen
bb9869dd7f Doc: Add missing info about options in Projects sidebar view
Change-Id: Ide060217020cac1787e7c320be66f6283f08845f
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2019-04-02 14:14:31 +00:00
Eike Ziller
73da3d3bc0 Restore success states after failed build
Fix up of 966f4ea6a9

Fixes: QTCREATORBUG-22211
Change-Id: Ia5648c0cf06fb7a12ec34c9683607f7c221965c3
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2019-04-02 13:10:17 +00:00
Thomas Hartmann
d098016bd9 QmlDesigner: Avoid jumping cursors in integrated text editor
If the curser changes this should not trigger an update in
the other direction.

Change-Id: Ie20914f5587525f46f2941de21374f4373cec47f
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2019-04-02 13:10:13 +00:00
Eike Ziller
257e45b4ec Merge "Merge remote-tracking branch 'origin/4.8' into 4.9" into 4.9 2019-04-02 12:53:37 +00:00
hjk
f7c350d782 TreeView: Fix mapping to source models in case ProxyModels are involved
Visible e.g. in context menu handling of the debugger's module view.

Change-Id: I342ed262c9e3dcdf98590003a7930cb8ef4ca0d2
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-04-02 12:53:29 +00:00
Eike Ziller
ac24380c34 Merge remote-tracking branch 'origin/4.8' into 4.9
Change-Id: I90a3c1d29fccc4290311237d8680eaddb3cb5915
2019-04-02 14:53:16 +02:00
Robert Loehning
5ca9ac4777 Fix wrong German translations
Change-Id: I9f932f1df93d723d5dc38bcee4f6ad6a4c653a7f
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: André Hartmann <aha_1980@gmx.de>
2019-04-02 11:43:06 +00:00
Robert Loehning
c24fb7c9e9 Squish: Update expected project tree for qbs
Change-Id: Ic6fc1afb7d9ccac526928f596d160573c67be97e
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2019-04-02 11:42:28 +00:00
Ivan Donchevskii
6f745e0a4d ClangFormat: Do not remove whitespace twice
Previously the built-in engine was responsible for
clearing the extra whitespace. When ClangFormat plugin
is active and "Format edited code on file save" is selected
it clears the unnecessary whitespace on it's own and
we don't need to adjust the whitespace the second time.

Fixes: QTCREATORBUG-22239
Change-Id: I309f51c51aca8ab85b5cfb7809923b59a912b4e0
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
2019-04-02 11:33:30 +00:00
Ivan Donchevskii
01a528c77a ClangFormat: Fix indentation when empty lines are involved
Unify continuation and new statement to get less false indentations.
Handle one-statement if/else as a special case.
Properly handle empty lines after
 - includes
 - preprocessor directives
 - beginning of the file
 - if/else

Fixes: QTCREATORBUG-22238
Change-Id: Ic334eeca7de47d9fcb74963d2e31711838d04bde
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
2019-04-02 11:32:39 +00:00
Ivan Donchevskii
07557016f8 ClangFormat: Use the global style if no configuration is found
If no .clang-format file can be found and the settings do not
override the configuration neither globally not in the project
then construct the global settings (if required) and use them
instead of constructing the style every time.

Task-number: QTCREATORBUG-22144
Change-Id: Ib59b7f166f030ce3fb085f105f30fbf0eb25b185
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
2019-04-02 11:32:11 +00:00
Ivan Donchevskii
c1d03e610c ClangFormat: Fix showing the warning text
The call to show() was lost at some point, let's restore it.

Change-Id: I83f551d26e6c4f658426b1196ff3a0935aea7047
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
2019-04-02 11:31:35 +00:00
Christian Kandeler
3726218b5e Debugger: Restrict the file name pattern of potential lldb executables
We now try executables such as lldb-7 or lldb-1024, but not e.g. lldb-
vscode, which used to time out the autodetection code.

Change-Id: Iac3b6c4d55d34ee98073f99c8e8341011845ca92
Reviewed-by: hjk <hjk@qt.io>
2019-04-02 08:23:14 +00:00
hjk
ad889d6707 Debugger: Avoid looking up QList<QFileInfo> in QDir dumper
Task-number: QTCREATORBUG-22000
Change-Id: Ibb24dc81282118c1f6fe97af451647a54ffcc8dd
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2019-04-02 06:38:44 +00:00
Christian Stenger
eecbef31ff QmlDesigner: Fix compile before Qt5.12
Change-Id: I7b6250522df27289209c60bd6f99f70a470b580f
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2019-04-02 06:12:39 +00:00