Commit Graph

63550 Commits

Author SHA1 Message Date
Leena Miettinen
625a8f3eca Doc: Fix typo "sependencies" > "dependencies"
Change-Id: I1d3f3f0bbdcff3d557038d8feca5ffe234d58314
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2020-05-18 11:37:42 +00:00
Topi Reinio
73d45a994b Doc: Ensure QDoc finds Qt Design Studio examples
The name of the example project directory must match with
the project file name and the \example command argument.
This is case sensitive on platforms other than Windows.

Change-Id: Ie6fa6934ee444b42f024ebf00d6a9b20dfd6abce
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2020-05-18 10:15:03 +00:00
Eike Ziller
ec6782016e Update change log for 4.12.1
Change-Id: I25cce97a5a0a871e24c8898f3bb37e09199a9872
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2020-05-18 09:11:26 +00:00
Assam Boudjelthia
9e31378b50 Android: use latest ndk version instead of ndk-bundle
Fixes: QTCREATORBUG-23903
Change-Id: Iae3561818d86952dad9209d55984c82498d07575
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
2020-05-18 07:46:45 +00:00
Eike Ziller
7051ba8498 Build script: Add option for passing arguments to build command
So one can pass e.g. -j3 when locally testing while still doing other things

Change-Id: I7a528884f19698290e49c372eb31030afe609d23
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-05-15 12:50:24 +00:00
Johanna Vanhatapio
921b56cd46 Doc: Update information about views for editing 3D assets
Task-number: QDS-2056
Change-Id: Iee6aab42c4cd6d97d99eafc3599e55828f0d9657
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2020-05-15 09:01:24 +00:00
Leena Miettinen
3819b766a4 Doc: Update information about project wizards
Qt Quick 3D, Flow Item and Flow view wizards have been added,
the Qt for MCUs wizard is now included in Qt Design Studio,
and the font loader wizard has been removed.

Task-number: QDS-2056
Change-Id: Ie5d42320661977d57767c3bf58fd480e7d6c3c8d
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-05-15 08:04:05 +00:00
Johanna Vanhatapio
1d257e60d1 Doc: Update information about 3D Editor
Change-Id: I047b96e1db411ccbbe73a94f701cc7e632bc98c9
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2020-05-15 06:06:26 +00:00
Christian Stenger
0767107c55 McuSupport: Fix compile for gcc 5.3
Change-Id: I389330addba4b4516eb5da8f72b41b56f612888a
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2020-05-15 05:20:01 +00:00
Nikolai Kosjar
9edf0056ae ClangTools: Fix crash when starting the analyzer again
Address a nullptr dereference of m_runWorker in
ClangTool::updateForCurrentState() for the case described as (C2) below,
reproducible with "./qtcreator -test ClangTools".

Two use cases are connected to this:

 (C1) Run the analyzer twice with clearing app output pane in-between
 (C2) Run the analyzer twice without clearing app output pane in-between

Relevant observations in this context are:

 (O1) Closing the app output pane destroys the RunControl/RunWorker.
 (O2) Running the analyzer a second time will first create a new
 RunControl/RunWorker, then destroy the old one.

Now, the change

    ClangTools: Avoid accessing deleted run worker
    This reverts commit d02f5664e5.

fixed a use-after-free-crash for (C1), but introduced a
nullptr-deref-crash for (C2) as it resets m_runWorker to nullptr on
RunControl destruction, which conflicts with the order mentioned in
(O2).

To fix both use cases, revert the mentioned change and access
m_runWorker only when we know that it exists for sure - right after
signal emission.

Change-Id: I034f0905d635b15c0c6bbe499648b62d5a058c04
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-05-15 05:09:45 +00:00
Leena Miettinen
c59e8ce651 Doc: Update information about Scene Environment properties
"Blend mode" field seems to have been removed.
The Skybox option has been added to "Background mode" field.

Task-number: QDS-2056
Change-Id: Ie5c5b5fae4aba83bd8b9b50357bb83d58fbb69c2
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-05-14 14:39:03 +00:00
Alessandro Portale
f08fe165ab McuSupport: Read supported targets from SDK .json files
... Replace the current hard-coded list of supported (non-Desktop)
targets.

Task-number: UL-2012
Change-Id: I65851d11eea9f62635d56c42788caeae8a77a4f3
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-05-14 13:37:46 +00:00
hjk
7a63a47ef0 Debugger: Work around for gdb reporting zero array sizes in some cases
Task-number: QTCREATORBUG-23998
Change-Id: I101d032705b66faf50260067f6aa604214f09298
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-05-14 10:52:18 +00:00
Leena Miettinen
f51258a17c Doc: Move Qt Bridge product name macros to the common macros file
..from the Qt Design Studio Manual doc configuration file.

Change-Id: Iebbfb5404cae4ef277f05c867e7259997b19a27e
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
2020-05-14 10:18:31 +00:00
Eike Ziller
53cf4aa3c5 Fix availability of "Link with Qt" info bar
The info bar should never appear if the button is disabled,
for example because the Qt Creator directory is not accessible.

Fixes: QTCREATORBUG-23900
Change-Id: I819c87f5ca51f69f34bd462fca8e877be3544100
Reviewed-by: hjk <hjk@qt.io>
2020-05-14 09:21:26 +00:00
Nikolai Kosjar
567b61eee5 ClangTools: Fix placeholder in tr()
Change-Id: I90727287ebdbe12b8e422e7e91adc9f3e5abafbd
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-05-14 08:41:54 +00:00
Christian Kandeler
2c5d6de9b4 ProjectExplorer: Ensure that the session model stays sorted
Fixes: QTCREATORBUG-23996
Change-Id: I96c8c1b780f5b56cb064146de3de6a4c90f9147a
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-05-13 12:48:04 +00:00
David Schulz
689fac8fe9 LSP: Fix wrong assert
Change-Id: If1015ba4f1d5519ac379e4c4b1cca8ffbf2c52ae
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-05-13 12:16:00 +00:00
Vikas Pachdha
f362304169 Add library export documentation for Sketch Qt-bridge
Task-number: QDS-2046
Change-Id: Idca24fdac106da1b6631518ddd9bb9fa7253a8c7
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2020-05-13 11:45:46 +00:00
Leena Miettinen
a12669292e Doc: Remove link to non-existing tutorial
Part 5 is still a work-in-progress.

Change-Id: I7c8cd07be3921b9fd36eeb913d9e393e6f15d895
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-05-13 09:49:50 +00:00
Leena Miettinen
bbddd60e03 Doc: Remove extra copies of images that were moved
They are now in doc/qtcreator/images. They seem to reappear
here during merges.

Change-Id: I7dc0b58997996601be7e54fb0a45898f0a5718a7
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-05-13 08:06:15 +00:00
Robert Loehning
a90ec2809c Squish: Don't expect pastes to pastebin.com to appear in list
Change-Id: I02a73244e3aecad906f2c08b37d60ebe1880f534
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-05-12 20:29:02 +00:00
Leena Miettinen
b788c70b95 Doc: Update info about States view
Check terminology, restructure information, and update
screenshots.

Task-number: QDS-2056
Change-Id: Ieaa2d0856bf2d310f67d8c0d9f9376a48cf33534
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-05-12 15:06:15 +00:00
Leena Miettinen
b15e19ac12 Doc: Update screenshot of Properties view in Design mode
...and remove the numbers from the image and text, as one can
easily see the item type.

Task-number: QDS-2056
Change-Id: I821db7a0f3a4ff1999c58701f379ae3667821a0a
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-05-12 15:04:43 +00:00
Leena Miettinen
795fb5f59d Doc: Update info about QML types supported by Qt Quick Designer
Update screenshots.

Change-Id: If079a93940dc103b4afa283f01c94825d895bfa3
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-05-12 15:04:22 +00:00
Christian Kandeler
56a4865b2f QbsProjectManager: Fix potential null pointer access
We retrieved the watcher result from the wrong pointer.

Fixes: QTCREATORBUG-23924
Change-Id: I876d8adc0aef011deb3f5827f3e50c43a8d92dfc
Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-05-12 10:52:31 +00:00
Christian Kandeler
8e1169f4bf qbs build: Take differences between clang and "apple clang" into account
In particular, clang with version number 10 is not really clang 10 on
macOS.

Change-Id: I8be489fa9cffd63c1ea8f13d181686ab1a575ec6
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-05-12 07:31:39 +00:00
Leena Miettinen
99b66f6238 Doc: Update info about managing item hierarchy in Design mode
Task-number: QDS-2056
Change-Id: I0786d01dcde48e056450ea70b498abcdd204e381
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-05-12 07:08:47 +00:00
Alessandro Portale
ed9918a41c McuSupport: Let user explicitly create or remove MCU target kits
So far, the user had to press "Apply" to generate a kit for the
currently selected target. The kit got silently added, there was no
immediate UI feedback that something happened.
Also, there was no possibility to remove a specific Qt for MCUs kit once
it was added, becoause it is under the "Auto-dected" kit category.

This change modifies the UI interaction so, that there is a specific
"Create Kit" button, and in case that the kit already exists, there is a
"Remove Kit" button.

Task-number: QTCREATORBUG-23929
Change-Id: I334ed75f86905ac762e0293bd3aa70b3433acf28
Reviewed-by: hjk <hjk@qt.io>
2020-05-11 14:45:47 +00:00
Leena Miettinen
d88d27e7cc Doc: Make Git ignore Qt Design Studio generated docs folder
The docs are still generated under doc/qtdesignstudio/doc/html.

Change-Id: I9916ccf8cdfa2541b632a680fb6b4f7103f6a1a5
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2020-05-11 12:14:58 +00:00
hjk
65935ce03c Debugger: Fix startup when Python's json module is missing
Task-number: QTCREATORBUG-24004
Change-Id: I1c0563868374263f13cec3a8f40138bce71338d6
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
2020-05-11 10:35:32 +00:00
Christian Kandeler
050dec20dd qbs build: Fix excessive clang 10 warnings for qbs submodule
Change-Id: Ie1bb9833e00412d753b32c8267a9e9413aa66a7d
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-05-11 09:33:01 +00:00
Leena Miettinen
c370d345f1 Doc: Remove obsolete \contentspage command
This prints a QDoc warning when building with QDoc 5.15.

Change-Id: Id6f4646738f3e09956a243dc0da639f5567470f3
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
2020-05-11 08:43:31 +00:00
Leena Miettinen
d86c2a1ba9 Doc: Remove obsolete info about selecting items with content
The button has been removed.

Task-number: QDS-2056
Change-Id: I7495107e68920f02effef0618461f5ed6c88bfa8
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-05-11 06:36:24 +00:00
Leena Miettinen
c1781320f3 Doc: Describe using Alt and Shift modifiers in Form Editor
...when resizing items

Fixes: QDS-2034
Change-Id: I4b4589a19c3c0ca96d6f8a80c7e4a3cc03731690
Reviewed-by: Aleksei German <aleksei.german@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-05-11 06:35:59 +00:00
Leena Miettinen
993a628859 Doc: Describe setting initial root item size in Qt Quick Designer options
Task-number: QDS-2056
Change-Id: I82fc86b748d72b180e2e503a7d80754d61682abd
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-05-11 06:35:01 +00:00
Sergey Belyashov
361ddf6ad5 Update Russian translation
Change-Id: I2753eb8bcbd25f6388088bdeabca1553f6e24410
Reviewed-by: Viacheslav Tertychnyi <tvk537@gmail.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
2020-05-07 17:04:55 +00:00
Cristian Adam
646d26b9cb CMake Build: Set BUID_WITH_PCH to OFF if CMake version less 3.16
Change-Id: I11a58cf2e67272b9d45a877dfa20c089706cfc2a
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2020-05-07 16:29:13 +00:00
Christian Kandeler
27ea67728f qbs build: Suppress more warnings
Amends d08e5c33ff.

Change-Id: Ic842dda51b21427e1989190b44508d54aa1e7120
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-05-07 15:25:31 +00:00
Alessandro Portale
5c71772fd0 Themes: Undo theme duplication. Just change the ThemeName
Until, we have a mechanism to define a default/fallback in a read-
only setting, it is better to stick to old file names rather than to
create redundant entries.

Change-Id: Ifbc78160e9c57025c66a266efab2b43646ee477a
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-05-07 09:36:57 +00:00
Sebastian Verling
38e13e4216 add lower case a-f as address match
As the addresses were only matched against upper case letters
all registers with lower case characters were not correctly parsed
and had zero values

Change-Id: Idc3da0a33b9f075d7a209cad74768e81cced2d67
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: hjk <hjk@qt.io>
2020-05-07 09:34:48 +00:00
Eike Ziller
99c4e7c94f Add first changes file for 4.12.1
Change-Id: Ibd3ca94c588fd322d59dcf3d9ac13bbdb9ffc34c
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2020-05-07 08:02:44 +00:00
Christian Kandeler
83f213bb6a ClangClParser: Do not require two spaces before "error:" string
Presumably, this has changed in newer llvm.

Fixes: QTCREATORBUG-23992
Change-Id: I82aaae893e3cf159be7c43fb4d7762875d2be8a8
Reviewed-by: André Hartmann <aha_1980@gmx.de>
2020-05-07 07:50:36 +00:00
Christian Stenger
1cb8f525ea Marketplace: Disable videos from marketplace
They are no real products.

Change-Id: I534a1be922a9f0aa8e603ebbcb1bc01357c16bdd
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-05-07 05:04:22 +00:00
Alessandro Portale
a5074ac987 McuSupport: Add FreeRTOS variations to hardcoded list of targets
Task-number: QTCREATORBUG-23938
Change-Id: I73ca401bd323bd001fa5e05c33783307c94f10be
Reviewed-by: Rainer Keller <Rainer.Keller@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2020-05-06 16:36:53 +00:00
Alessandro Portale
eccf1269ac McuSupport: Add support for creating FreeRTOS kits
Besides Baremetal, Qt for MCUs also supports FreeRTOS for a few targets.
This change:

- shows the FreeRTOS source path chooser
- set the FreeRTOS source path as kit environment variable
- sets OS=FreeRTOS in the kit CMake configuration and kit meta data

Task-number: QTCREATORBUG-23938
Change-Id: I69cbd4f9b6b4a842788a8dad57905ef517b8b1d5
Reviewed-by: Rainer Keller <Rainer.Keller@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2020-05-06 16:36:24 +00:00
Leena Miettinen
9179743464 Doc: Fix terms used for Design mode views
The "canvas"/"scene"/"stage"/"working area" is called "Form Editor view".
Library, Navigator, Projects, Properties, States, Text Editor,
and Timeline are also their own views that can be organized as
workspaces and open from the Windows menu.

There are "tabs" only within views, and "panes" refers to
output panes.

Change-Id: I55898eef99b87245e4ab9b0163943725a90615a3
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-05-06 16:27:14 +00:00
Leena Miettinen
937d3d3a70 Doc: Add Qt Design Studio example documentation
From Qt Design Studio 1.4. Add .qdoc and .qmlproject files,
quoted .qml files, and .png files.

Edit the files as necessary to reflect changes in version 1.5
and to reduce image file size.

Task-number: QDS-1519
Change-Id: I3bbdec0d3b4acf904c0008d1566dad13707e9851
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-05-06 16:26:11 +00:00
Brook Cronin
559df59907 Theme: add new dark and light design themes
Change-Id: Ibc65528694d5b8e55e17a80ecd82497c4ab98499
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-05-06 16:15:43 +00:00
Thomas Hartmann
3c0cd3baca Update designer theme to new color roles
Change-Id: I39ece78e3961d6c2705abcdefcffc4b9cdd8e704
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2020-05-06 15:59:18 +00:00