Commit Graph

67922 Commits

Author SHA1 Message Date
Marco Bubke
393c65e34e Sqlite: Use std::byte
Change-Id: Ie5bdbae67f7d0f9e533ad20ddb66d03057df2028
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-03-30 07:30:02 +00:00
Marco Bubke
f57694948e Sqlite: Cleanup sqlite statement
Change-Id: I727a95491a45fe01bf59821d4f451f25483745ed
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-03-30 07:29:55 +00:00
Tim Jenssen
22099bd71a crashpad: fix execute permission
Change-Id: I44f5412b3903349f8cfbe12307fdf3bc2b24a6c8
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2021-03-29 17:22:50 +00:00
Aleksei German
0768ec8687 QmlDesigner: Fix for color roles
Change-Id: I6336130d7db684a13081e5a128753816bf5bbcc5
Fixes: QDS-4038
Fixes: QDS-4039
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-03-29 14:18:42 +00:00
Leena Miettinen
de597ce821 Doc: Update the QDS workflow image in Getting Started
Task-number: QDS-3985
Change-Id: I470ba3c453fbb4fd1863d87073bb5cb6201ca55b
Reviewed-by: Johanna Vanhatapio <johanna.vanhatapio@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-03-29 14:13:40 +00:00
Tim Jenssen
dc2710cd00 crashpad: fix windows builds + show settings checkbox
coreplugin/CMakeLists.txt uses BUILD_WITH_CRASHPAD and not
the old not existing variables

Change-Id: I5ad9ebb3cf0ac1ee06d53a1e276d70a194b0ace4
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2021-03-29 12:25:41 +00:00
Johanna Vanhatapio
efc6d08915 Doc: Remove the extra qdoc command
Change-Id: Ica5fe790156f2e1ffffd5f343c4fd60434dfc69a
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
qds/v2.1-beta2
2021-03-29 09:13:19 +00:00
Johanna Vanhatapio
0da8cbaf8e Doc: Update info about applying 3D materials
Fixes: QDS-4032
Change-Id: Idbaea9f0d47ef4be894f68e884722c8dcab734d1
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2021-03-29 08:06:34 +00:00
Leena Miettinen
30c5fd6599 Doc: Update info about building with CMake
Reorganize tool-specific information into separate topics.
The other build systems will be added in follow-up commits.

Fixes: QTCREATORBUG-25460
Change-Id: I324f66a464d7ab799e351e77ebe20f29fb091622
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2021-03-29 06:59:16 +00:00
Allan Sandfeld Jensen
9a5d04f4fa Fix qmake build
Change-Id: I5730de131f90c198bdf14b6983a4dbc0efbdcea5
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2021-03-29 06:32:20 +00:00
Cristian Adam
a862c7b354 CMakePM: Fix "Build type" for multi configuration generators
The multi configuration generators (Visual Studio, Xcode) had an
empty "Build type" which caused failures to parse the CMake file-api
information.

Change-Id: I70ee4978cee4d43e980edf4cd512d1ca95275638
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2021-03-26 19:36:19 +00:00
Thomas Hartmann
254365b7d6 StudioWelcome: Set correct file for Digital Cluster
Change-Id: Idf8513a7db3c7e096c814395ffa701689e1cc0cf
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-03-26 17:15:05 +00:00
Thomas Hartmann
ee281240eb StudioWelcome: Fix crash
Check if a project does actually exist.

Task-number: QDS-3309
Change-Id: I59beff2637bbe80175dd223d6f574ea3886d95c5
Reviewed-by: Aleksei German <aleksei.german@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-03-26 17:14:56 +00:00
Thomas Hartmann
981e3e734f StudioWelcome: Add effect demo ad download
Change-Id: I95346189de1a6915f8b971cd2c9f69a027f63f6a
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2021-03-26 17:14:45 +00:00
Cristian Adam
a96a94ac79 GitHub Actions: Build without PCH
ccache is not working very well when pch is enabled.

Change-Id: I2922d2261bf4040ccd2837b2cc5c505ec2881207
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2021-03-26 17:11:16 +00:00
Michael Winkelmann
5fa2911c63 Editor Proxy: Fix warnings and code style
Change-Id: I978aef31f7c09da33509dddd2a13ae138551c914
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-03-26 14:58:12 +00:00
Marco Bubke
7785a3a651 Sqlite: Move result count to class declaration
It move the magic number of column results to the sql statement
and improves the mock a little bit.

Change-Id: I101067444cf27ec5dea0c72de7fd484a7e8710f0
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-03-26 12:24:37 +00:00
Eike Ziller
eb516063d3 Fix build with Qt 6
Change-Id: I546dd9457e68b9ff59b0fe50248553736d18729b
Reviewed-by: Michael Winkelmann <michael.winkelmann@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-03-26 10:48:11 +00:00
Leena Miettinen
c79df73bde Doc: Add info on exporting nested Figma component instances
Fixes: QDS-4049
Change-Id: Ia5f370bab2d44fc90ded48ddc8b089bc9975d921
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
2021-03-26 10:44:45 +00:00
Jarek Kobus
d3faab0e72 StringTable: Use QElapsedTimer instead of QTime
Change-Id: I75065cbe32dcd4405360b90f3f51387f286d6186
Reviewed-by: hjk <hjk@qt.io>
2021-03-26 10:31:28 +00:00
Eike Ziller
daf23d29a1 Update perfparser to head of 4.15 branch
Fixes build with Qt 6.

Change-Id: I449f8ee0e507fbd9e4d1fe69aeaf38fa4da65cc4
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2021-03-26 09:32:39 +00:00
David Schulz
bd47caa348 LSP: Prevent soft asserts in LanguageClientArray::toList
Change-Id: Icb935137d389c223ac1360b4a7e0af5c303b793c
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-03-26 08:43:54 +00:00
Leena Miettinen
9d0c3dc3d6 Doc: Describe new Language Client options
Fixes: QTCREATORBUG-25530
Change-Id: Ia59e476cdd6a1d655f269293c8e6ef97c5b084b5
Reviewed-by: David Schulz <david.schulz@qt.io>
2021-03-26 07:53:07 +00:00
hjk
23f6aea6d3 Android: Prevent crash in AndroidManager::applicationAbis
... in connection with CMakeBuildConfiguration initialization.

Having an Android device type does not necessarily mean an Android Qt
version is selected in an incomplete kit.

Change-Id: Ib157166c45b7d2ac20eafd6437054b9232595c1e
(cherry picked from commit fdd69e27b3)
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-03-26 07:52:40 +00:00
Vikas Pachdha
28de5ec4fd AssetExporter: Export type Label as text
Task-number: QDS-3979
Change-Id: I0920d242a480da9a27f26d39b44ab1d3714917e4
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-03-26 07:31:46 +00:00
Andre Hartmann
60a275ce62 CompileOutputWindow: Fix creation of task positions
When jumping from the issues pane to the compile output,
the selected text was always starting and ending one line
earlier than expected.

Probably broken by 1c6e4fbd3.

Fixes: QTCREATORBUG-25497
Change-Id: Ia5b796f27faa91e45b10b945dbf6261f1dbce036
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-03-25 19:38:00 +00:00
Mahmoud Badri
1dd52d39af QmlDesigner: Fix dropping files to assets view when in list mode
Fixes: QDS-3996
Change-Id: I1ef38fc784d2cf97a370caa39e42d6d7bf6bc6ea
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-03-25 18:11:27 +00:00
Eike Ziller
44d31cb687 cmake build: Disable PCH for CMake < 3.18 with GCC
https://gitlab.kitware.com/cmake/cmake/-/issues/20119 was fixed in
CMake 3.18.

Change-Id: Iad335e8c7a70069404f5c80bb3b65c0d52f82393
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2021-03-25 17:44:15 +00:00
Robert Löhning
cd0a140bde Improve translatable strings
Change-Id: I0104209bb0f865a48f9ca2524f62457f7524bba9
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2021-03-25 16:53:40 +00:00
Michael Winkelmann
b994bb7bd6 Annotation Editor question dialog
Change-Id: I4c278abf34bd6c33fe989a5aa80006f1d88f687b
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Aleksei German <aleksei.german@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-03-25 16:44:03 +00:00
Michael Winkelmann
27c456dd9e Common EditorProxy interface for Editors
* Introduced a EditorProxy base class to have a common Qml interface for editors

Change-Id: I93af944002801cc3e318653c67dcc464bd9f1213
Reviewed-by: Aleksei German <aleksei.german@qt.io>
Reviewed-by: Tapani Mattila <tapani.mattila@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-03-25 16:30:17 +00:00
Eike Ziller
83a8e32b3a Fix build
Amends bd9a61fa27

Change-Id: Ib3cb0991419e8d85ee29591771cfb7f126b11076
Reviewed-by: Aleksei German <aleksei.german@qt.io>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2021-03-25 16:16:55 +00:00
Knud Dollereder
5faee6221f Load all curves when opening DS with lastsession
Change-Id: I2de37fbd25b828e585739edee8bb079c02f58f94
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-03-25 16:00:12 +00:00
Eike Ziller
92de8402c4 build.py: Do not enforce building without PCH
We have a guard for the CMake version in QtCreatorAPIInternal since a
while.

Change-Id: Ie76010b39e33d57c77b993db375a7821687145ea
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2021-03-25 15:44:00 +00:00
Michael Winkelmann
bd9a61fa27 Refactor AnnotationEditors to support different views
Change-Id: I67797e911c320d77b8d6a2eba75de69546b30546
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-03-25 13:48:31 +00:00
Alessandro Portale
3f265c37c6 VcsBase: Avoid extra 1-pixel frame around SubmitEditorWidget
Change-Id: I394bbce04f0feed01f917f81ce075a83776b71a4
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2021-03-25 12:23:11 +00:00
Cristian Adam
b9b4cd9262 Utils: Compile fix for MinGW
Amends 611615f10b

Change-Id: I27e474d98114dcb68b55082b7622eec38b5a0e2d
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2021-03-25 11:55:53 +00:00
Alessandro Portale
bc158cdaee Help: Avoid extra 1-pixel frame in Help widgets
For QTextBrowser and QLiteHtmlWidget based viewers

Change-Id: I0e8003b555b15e8eca239c59e657d9cf417f2d58
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-03-25 11:19:13 +00:00
Eike Ziller
2b521506f3 Bump version to 4.15.0-rc1
Change-Id: I522a8c88d636bcc09de2be0b2aa4f47a1c080ac9
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-03-25 11:15:10 +00:00
Thomas Hartmann
9a95611e54 QmlDesigner: Fix crash
The return was placed incorrectly.
A property called 'path' is required but not sufficient.

Task-number: QDS-1430
Change-Id: I4dbae2fa0f63c36698c5db3480a65eb56fbdb96d
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
2021-03-25 08:49:50 +00:00
Johanna Vanhatapio
52fad1870e Doc: Update info on the Library view
- Fix the paths to sections in Library
- Update pictures where needed
- Use "component" instead of "item", "object", or "QML type"
- Add links to the new topics for Design views
- Other minor improvements

Fixes: QDS-3879
Change-Id: I464fbe2db2f5045bdc04a70ea5feb5050ec22c18
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2021-03-24 17:02:04 +00:00
Eike Ziller
f8341d587f More changelog for 4.15
Change-Id: I55d1a3301946a0a5ff83bc05019eb06e1f632b5d
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2021-03-24 15:10:31 +00:00
Aleksei German
960d0e42ad Replace modal dialog with InfoBar in QmlProject
Change-Id: I0dfa8722748ae67ff29ad0aeb72681ee8c413d28
Fixes: QDS-3765
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2021-03-24 14:57:01 +00:00
Marco Bubke
611615f10b Utils: Rebase SmallStringView on std::string_view
There are still some methods missing but with C++20 we can maybe remove
SmallStringView.

Change-Id: I65a1eacda0a07cec824f1837e385faa01fc825e9
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2021-03-24 14:12:12 +00:00
David Schulz
8a82c8f4ee Highlighter: adjust Qt6 compile fixes to upstream changes
Change-Id: I0d7962a4a52cbdf5645f30f86bca5457a4c061f9
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-03-24 12:55:55 +00:00
Vikas Pachdha
5e1bf23811 AssetExport: Fix assets not being exported in certain cases
This can happen when the .ui.qml file with missing UUIDs is already
open in the editor

Task-number: QDS-4031
Change-Id: I17dbcf4b378141425a33dafc33a0ec47577c6d05
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-03-24 11:49:59 +00:00
Thomas Hartmann
ef508d61ad StudioWelcome: Update copyright notice to 2021
Task-number: QDS-3995
Change-Id: I0e8cd899cf70cc32031aec0acdd80d75c3f2ea7a
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2021-03-24 11:37:15 +00:00
David Schulz
35b190834c Debugger: fix stringdata offset in metadata
Change-Id: I94899346c8193218133f80aa2716a6e5d44093e2
Reviewed-by: hjk <hjk@qt.io>
2021-03-24 09:55:52 +00:00
David Schulz
e05fe66f4b Debugger: Fix qobject name dumping for Qt 6
Change-Id: I146aa3d0b9d0f66a56a5fb1595f64297e15ebab8
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: hjk <hjk@qt.io>
2021-03-24 08:29:30 +00:00
Leena Miettinen
3c96c07b64 Doc: Update manual front page illustrations
Task-number: QDS-3985
Change-Id: I5be1ab2efd76b7d526fbbdf64c5a7343cd4552fd
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Johanna Vanhatapio <johanna.vanhatapio@qt.io>
2021-03-24 07:33:44 +00:00