Commit Graph

54246 Commits

Author SHA1 Message Date
Christian Kandeler
f5856f4bbc QbsProjectManager: Give build step a "linkQmlDebuggingLibrary" property
The DebuggerRunConfigurationAspect uses this property to decide
whether to enable QML debugging by default.

Task-number: QTCREATORBUG-19655
Change-Id: I71cc1127ee9d470a7cfedd424f8487f83d38db67
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2018-02-09 12:56:31 +00:00
Christian Kandeler
a343e83ba8 QbsProjectManager: Provide a FileType for QML files
This is needed later to auto-detect whether to enable QML debugging.

Task-number: QTCREATORBUG-19655
Change-Id: I9f33119c20299cd0a2e77727bbe4396fb6eb9b12
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2018-02-09 12:56:15 +00:00
Christian Kandeler
18277e7ea1 QbsProjectManager: Fix QML debugging support
The module property override needs a "modules." prefix these days.

Task-number: QTCREATORBUG-19655
Change-Id: I4d6025c479a65cf94968338884f80b0ffa5ac141
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2018-02-09 12:17:17 +00:00
Christian Kandeler
e463873d62 QbsProjectManager: Fix display of QML debugging warning icon
Due to a typo in the code, it was almost never shown, except initially
when it shouldn't have been.

Change-Id: I8d5ab3f28fddde7b996d3ca74bc69f2f549bedc1
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2018-02-09 12:16:44 +00:00
Robert Loehning
fb4f3643fa ProjectExplorer: Fix comments for build/clean steps
Change-Id: I8c3f72f4a1e44c0e50bc1733a7e619502d21777c
Reviewed-by: hjk <hjk@qt.io>
2018-02-09 10:36:08 +00:00
Tobias Hunger
6f04ca6463 CMake: Do not override the displayname/defaultdisplayname
Do not override the displayname/default displayname when restoring
CMakeRunConfigurations.

Task-number: QTCREATORBUG-19762
Change-Id: Idf5e90e017a363444387e9c22812ad501aabc75b
Reviewed-by: hjk <hjk@qt.io>
2018-02-09 09:34:19 +00:00
Tobias Hunger
5a275fe531 BuildStepList: Improve reporting on failed restore attempts
Change-Id: Icb402c4b489f1ff5fe18dd36872360f29234053a
Reviewed-by: hjk <hjk@qt.io>
2018-02-09 09:34:04 +00:00
Christian Kandeler
3c0cd59059 Utils: Fix compiler warning on unix hosts
Change-Id: Iaac91d22f4df8ab15fb1ba232475bf8661d4f97b
Reviewed-by: hjk <hjk@qt.io>
2018-02-08 15:27:57 +00:00
Nikolai Kosjar
2cedb0531c CppTools: Use radio buttons for clazy options
Change-Id: I7c307cffce58c8dc4fd00d17b5c477c85ba509d8
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
2018-02-08 14:46:05 +00:00
Nikolai Kosjar
8cd96c2142 CppTools: Improve clang diagnostic configuration UI
...by clarifying the widget hierarchy. Ensure that the combo box at the
top is perceived as the main widget:

* Remove the "Configuration to use:" label so the combo box gets more
  horizontal space and thus dominance. Also, rename the group box
  header/label from "Clang Diagnostic Warnigns" to "Clang Diagnostic
  Configuration".
* Move the command line text edit below the combo box into its own tab
  page to clarify the relation to the tidy/clazy tabs.

Change-Id: I97a0785678e33b94746046d07a911422b1469890
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
2018-02-08 14:45:59 +00:00
David Schulz
52b717d3d1 Editor: Fix completing functions with keywords assist
broken since ed5adb286a

Change-Id: Ic0fbdd2bcf544862d843abc83ecde8a917909c19
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2018-02-08 13:20:31 +00:00
Christian Stenger
42e224eb4b Debugger: Fix attaching to core for LLDB
Task-number: QTCREATORBUG-18722
Change-Id: I4579fff9725f4a7578642080a010ca54b221969b
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: hjk <hjk@qt.io>
2018-02-08 06:05:16 +00:00
Eike Ziller
75f774a341 Remove experimental flag from ModelEditor
Change-Id: Ic4beac306d6a1198c0115e0368c0a16677576f27
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2018-02-07 20:02:02 +00:00
Eike Ziller
24cd0b1cd6 Add changes file for 4.5.1
Change-Id: I4b5cd0eb7675e2fb3396668517a587e7496608ec
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
v4.5.1
2018-02-07 14:23:39 +00:00
Eike Ziller
b99755fdb0 Version bump to 4.6-rc1
Change-Id: I87c6a2452ad5ef86eb3146373a11124f3a199b32
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2018-02-07 11:38:39 +00:00
Hannes Domani
ac8f2b8302 Valgrind: Open help for heob
Change-Id: I9cc7dfc2553f445784d3bb86378e2db28f70902c
Reviewed-by: hjk <hjk@qt.io>
2018-02-07 11:07:20 +00:00
Eike Ziller
2ce37a86ef Merge remote-tracking branch 'origin/4.5' into 4.6
Change-Id: I3ab4084095d90daf064475157b9a3cdce56dbdec
2018-02-07 12:03:43 +01:00
Alexandru Croitor
cb5ee3a9cb Make valgrind-fake target be a QtcTool
Change-Id: Icb572cac15224f1820851f8df0f13a99a7eed61c
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2018-02-07 09:49:17 +00:00
Leena Miettinen
631d9cd711 UI text: Fix grammar
Change-Id: I39fd5db51e3228de34c028993416f66fce9962da
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
2018-02-07 09:29:46 +00:00
Vikas Pachdha
267e938191 Android: Fix empty output tab header and run configuration name
Task-number: QTCREATORBUG-19711
Change-Id: I5dc97129fa2e37360b9d74d99888703e049b9049
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
2018-02-07 08:27:33 +00:00
Leena Miettinen
7797a2ba63 Heob: Fix UI text
Fix issues in writing style and punctuation.

Change-Id: I68da7960ccb5876ec8baf3b8eab1ab7e0d475a77
Reviewed-by: Hannes Domani <ssbssa@yahoo.de>
Reviewed-by: hjk <hjk@qt.io>
2018-02-07 08:17:07 +00:00
Ivan Donchevskii
ad2461caca Clang: Add environment variables for extra clang flags
Different variables for clang code model and clang
static analyzer.

Task-number: QTCREATORBUG-19329
Change-Id: I64abdefb8c646a6f45f789a61abf75198e7ca3b8
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
2018-02-07 08:05:08 +00:00
Nikolai Kosjar
88c480ee7c CppTools: Remove unneeded #include
Change-Id: I3b1dd5aa12ba8690ee5de98ccdef99644fff04f9
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
2018-02-07 07:40:35 +00:00
Christian Stenger
d5e666b012 Utils: Do not blindly assume qmake* is an executable
Change-Id: Iec444d2883536a0140197af9e8b90e3050d8fc5b
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2018-02-07 06:13:41 +00:00
Tobias Hunger
e109b8c1e2 CustomToolChain: Read data from toolchain after setting it
Re-read the data from the toolchain after applying it. This makes it
more obvious what e.g. the macro parser did with the input.

Change-Id: I5518c55c66be84dcdc3b1fa8482e04279768e3eb
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
2018-02-06 13:41:35 +00:00
Tobias Hunger
068f993db2 CustomToolChain: Fix expected format for predefined macros
The documentation says predefined macros for custom toolchains are to
be in "KEY=VALUE" format, while the code got accidentally changed to
only accept "#define KEY VALUE" instead.

Task-number: QTCREATORBUG-19714
Change-Id: I073e5b27f6fd5cead25a6406ae1f7cb19a7a03a7
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
2018-02-06 13:41:28 +00:00
Leena Miettinen
4757370fad Doc: Fix remaining occurrences of "Locals and Expressions" view
There are now separate "Locals" and "Expression" views.

Change-Id: I62dada28942afea51162693239f2e45b4afac203
Reviewed-by: hjk <hjk@qt.io>
2018-02-06 13:01:33 +00:00
Leena Miettinen
713c606dff Doc: Update screenshots in "Creating Your First Plugin"
In the "Extending Qt Creator Manual".

Task-number: QTCREATORBUG-19471
Change-Id: I587690b07ddab897d81650f06373b91a30580dad
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2018-02-06 13:01:20 +00:00
Leena Miettinen
d79c22cd9b Qt Quick Designer: Fix typo and caps in UI text
Change-Id: I759d7ceb319bb9b328a093118a9b5182d01dc6d7
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2018-02-06 12:03:01 +00:00
Leena Miettinen
c4202f28fe Qt Quick Designer: Fix caps for property editor text
Change-Id: I8a0e727e981f5cd2c441fadda0cb71718ec1c667
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2018-02-06 12:02:51 +00:00
Thomas Hartmann
b405f81ada NewDialog: Hide empty categories
Empty categories are not shown anymore.
The new QSortFilterProxyModel also allows to eventually
add a string filter to the wizards.

Change-Id: Iddbc9c635608aac1310cf0a08bc4f4718d8b5863
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2018-02-06 12:00:26 +00:00
Leena Miettinen
99223ebfef QML debugging: Fix UI text punctuation
Change-Id: Id4d06b8d083f224a58299c134e2feeffedd72e9f
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2018-02-06 11:41:56 +00:00
Antonio Di Monaco
e8a8003b16 Debugger: Fix wrong GDB version detection for SLES
GDB version on SLES is reported as

GNU gdb (GDB; SUSE Linux Enterprise XX) Y.Z.W

So, the content between parentheses must be skipped, otherwise
the wrong digits are parsed.

Change-Id: I05eb1373bc6558dfe088c1328142ff21d48f5591
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2018-02-06 10:56:49 +00:00
Leena Miettinen
8d7b548d9e Doc: Add info on getting to object base instance in debugging helper
Task-number: QTCREATORBUG-19597
Change-Id: Ie02b51c771faf70a1210abb5e1abe6120706c031
Reviewed-by: hjk <hjk@qt.io>
2018-02-06 10:42:37 +00:00
Alessandro Portale
3f757998b5 Revert "Wizards: Accept asynchronous root components for qqapplication"
This reverts commit dcb8681cb7.

The effort to handle asynchronous loading is not required for the
qmllivepreview (for which it had been introduced).

Task-number: QTCREATORBUG-19648
Change-Id: I20cbd318dedb3da43d4993c0c0a1910ffe6d5761
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2018-02-06 09:50:02 +00:00
Eike Ziller
3f87c4685e Fix crash in timeout of JavaScript locator filter
The timeout code may not access thread local state, because if it fires
on the main thread after the thread already finished, that state is
gone.

Change-Id: I3b9b432515ff6f0c46c46b1904bdd622a19960d2
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
v4.6.0-beta1
2018-02-06 09:16:46 +00:00
Orgad Shaneh
6ca1d2bfa4 Locator: Do not remove uninitialized object
Change-Id: Iaf273fcdcb57bec123a706ed83bf621576725878
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2018-02-06 08:11:16 +00:00
Leena Miettinen
9514e07caa Utils: Fix UI text
Change-Id: Iae4302f2866abde5a9771ca4c7fc25dedb6dc0b9
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2018-02-06 08:09:14 +00:00
Eike Ziller
608a5ff89a ModelEditor: Add the zoom actions to tool bar
And remove the Tools > Model Editor menu, which is no longer needed.

Change-Id: Ib5b4a3a63408e69a2a65ffb87864db2f3ceef367
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2018-02-06 08:07:39 +00:00
Eike Ziller
e8dbc16814 ModelEditor: Simplify creation of commands and tool buttons
Change-Id: I569d2894edb791be2393e6cb7a1878e88b373797
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2018-02-06 08:07:31 +00:00
Leena Miettinen
34a2e61dca Clang support: Fix UI text
Change-Id: I99ad82a5d9077b86e5651fef439ac06210115875
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
2018-02-06 07:46:57 +00:00
Leena Miettinen
b9d95f7946 Auto Test: Fix UI text in wizard
Change-Id: I38057341ef2e5a95e44a111742537bd3cb67bbdd
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2018-02-06 07:46:35 +00:00
Friedemann Kleint
9a950e5a89 Image viewer: Add include <QAction>
Fix broken build (likely introduced by
e1d2d35c20).

Change-Id: I34024e437d4d74ebe4f712718a66cedca8a4b7ae
Reviewed-by: hjk <hjk@qt.io>
2018-02-06 07:40:28 +00:00
Oliver Wolff
74d718c001 Fix MinGW valgrind build
QueryFullProcessImageName is only available on Windows >= Vista.
iSetting _WIN32_WINNT fixes availability on MinGW and moving the
functionality to winutils avoids code duplication.

Change-Id: I0ff1a12a1c092b1ad9cde75b636b52c5b959ce7d
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: David Schulz <david.schulz@qt.io>
2018-02-06 07:30:18 +00:00
Leena Miettinen
88a889d45a Gerrit: Fix UI text
Change-Id: I5be1fc3629961dbc224d65d1bc52efc9a4613d2a
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2018-02-05 16:14:01 +00:00
Tim Jenssen
4f537a5ea3 QtSupport: Add setting for arbitrary features for a Qt version
Change-Id: I9cd296316bd100d6f867ca7bffefb9676dc66c09
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2018-02-05 14:37:35 +00:00
Christian Stenger
6f5f07d2e4 Utils: Do not assume qtchooser target as valid
Change-Id: Ia92286cf8dbc810139ab0cb1e7440aa62d290e21
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2018-02-05 12:41:59 +00:00
Eike Ziller
78ce194d95 ModelEditor: Make constants header self-contained
QT_TRANSLATE_NOOP was not defined

Change-Id: Iff31e1c16db9e648d65018a57c9e74cd5c0eb3aa
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2018-02-05 10:43:58 +00:00
Eike Ziller
dcfa07ba76 ModelEditor: Move export actions to File menu
Only visible when a model editor is active

Change-Id: Ia21045188867b23815bd05432d1fd4699de8bd61
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2018-02-05 10:43:47 +00:00
Eike Ziller
e1d2d35c20 Unify zooming actions of image viewer and model editor
Change-Id: I5761ab579beda5b2cd0b725869ed216cb97e900c
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2018-02-05 10:42:25 +00:00