Commit Graph

69993 Commits

Author SHA1 Message Date
Eike Ziller
9b16a14ee4 Add change log for 5.0.2
Change-Id: I95ae1e171ff764baf4164a1afcae3cc272211b3e
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2021-09-27 12:14:55 +00:00
Christian Stenger
b64863806f Tests: Fix expectations in offset test
Change-Id: I875966409d769fe19e615763c605c527398b01dd
Reviewed-by: hjk <hjk@qt.io>
2021-09-27 10:40:15 +00:00
Leena Miettinen
077a807f01 Doc: Update View 3D, Node, and Group properties
- Update screenshots
- Add missing properties
- Divide the Group topic into Node and Group topics because
  the Node properties are common to all components that inherit
  Node.

Task-number: QDS-4888
Change-Id: Iaf114cd09ead755c9754423fb6b47eff0292cb3f
Reviewed-by: Johanna Vanhatapio <johanna.vanhatapio@qt.io>
2021-09-27 08:18:21 +00:00
Johanna Vanhatapio
d5cb1e81a2 Doc: Update info on custom shaders
Task-number: QDS-4888
Change-Id: I64481edd0a8bb6553c657754ea5392a19a15cf27
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2021-09-27 06:40:00 +00:00
Henning Gruendl
f1962d6201 QmlDesigner: Fix ButtonRow hover
Task-number: QDS-5134
Change-Id: I50fa43721d1eed8d5a81184bae24a8419d50911e
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-09-24 15:32:40 +00:00
Henning Gruendl
0db724eb25 QmlDesigner: Cleanup alignment button related code
Change-Id: Ib6b20c5a3d0e92040bbb268be7a1a4df43e22f0f
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-09-24 15:32:32 +00:00
Henning Gruendl
0a8545c068 QmlDesigner: Collapse specific section by default
Collapse AdvancedSection and LayerSection by default.

Task-number: QDS-5136
Change-Id: Ia60c47095749e7181156a79a652d6a56633ee3a6
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-09-24 15:32:11 +00:00
Knud Dollereder
b75d91e57b Remove superfluous qDebug printouts
Change-Id: I804873f8066f2785905e1ea25efc035cad275a3e
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2021-09-24 10:08:56 +00:00
Alessandro Portale
edfdcd1a53 Core: Polish welcome screen grid hover animation
* Fix offset calculation (arrived at top in less than 200ms)
* Use "OutQuad" easing for the speed of the sliding text
* "Fade in" separator line and description during animation
* Animate covering of image by background color
* Draw rectangles with qdrawutil (fixes HighDpi)
* Change refresh timer from 5 to 10 ms

Change-Id: I53899227d875a3faf086ebc6b3d83e5eb9dcaa12
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-09-24 09:37:39 +00:00
Orgad Shaneh
76760d8d80 Debugger: Fix debugging of terminal apps with GDB < 10
Fixes: QTCREATORBUG-26299
Change-Id: I96ed413a4722799090307e6682d2ec70f4de9b56
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-09-24 07:05:16 +00:00
Eike Ziller
e84bc5f81f Modes: Temporarily re-add a removeMode function
Partially reverts 6a142dfd95

Looks like this was used by 3rdparty plugin(s) for a mode that is only
useful for some time and then should not be shown again.

Re-add removeMode from before 5.0, but do not trigger that automatically
from the mode destructor, so it doesn't interfere at shutdown.

This patch is just a binary compatible partial revert. Since removeMode
is broken in several aspects (e.g. corresponding commands are not
removed) and we don't really support adding and removing modes during
runtime, this should be replaced later on by a different way to handle
the usecase, like a "visible" property for modes, which could be useful
in other ways too.

Fixes: QTCREATORBUG-26270
Change-Id: Ief2a36d94bd09b0511a14f528b33fdbcc4c4222b
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2021-09-24 06:45:28 +00:00
Leena Miettinen
0e1ce368b9 Doc: Fix QDoc error by making link to QDS example conditional
Change-Id: Idda2614cddc24e2019c39590b1de8222632738c5
Reviewed-by: Johanna Vanhatapio <johanna.vanhatapio@qt.io>
2021-09-23 15:01:51 +00:00
Leena Miettinen
fe62385361 Doc: Fix the Qt Quick Application tutorial
- Keep the Window, but move the page into a separate QML file
  to which you add states
- Explain how to bind the icon to the rectangles in the states
  to make the UI scalable
- Update the transparent icon and instructions for setting the border
  transparent
- Add and update screenshots

Fixes: QTCREATORBUG-26291
Change-Id: I68c6b7b897c7824b43b9e0fa719e37864841ba9b
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2021-09-23 14:05:00 +00:00
Eike Ziller
b53512352e CMake: NinjaPath was never supposed to be written to the settings
It is a value written by the installer, and to be read from the install
settings. Writing it to the local user settings breaks it if the user
uninstalls Qt and installs it at a different location.

Also add a temporary fixup, removing the setting from the local user
settings, if it was already written there.

Amends beda749326

Fixes: QTCREATORBUG-26289
Change-Id: I27652031b13aaf17a5daff3bfba1312bf1158ec7
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-09-23 08:13:03 +00:00
Leena Miettinen
a6f29a5f31 Doc: Describe porting Qt 5-based QDS projects into Qt 6
Task-number: QDS-4720
Change-Id: If368bb19c98016761fbebfd9c81780dbf5f75705
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-09-22 11:46:29 +00:00
Cristian Adam
11fd8232b7 CMakePM: Display <File System> tree node only on failure
Fixes: QTCREATORBUG-25994
Fixes: QTCREATORBUG-25974
Change-Id: I383fe5c28d1f71c8f7939bc9fe4f1f0bf1d6a01b
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
(cherry picked from commit 36a0151c6d)
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2021-09-22 10:46:46 +00:00
Henning Gruendl
2e1bdabd1f QmlDesigner: Fix ColorEditor opening position
Fix ColorEditor being cut off at the top, when there isn't enough space
to fit.

Task-number: QDS-5076
Change-Id: If9dc832b89d64c60e11a3458e1d90e5d7e2f0450
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-09-21 17:06:51 +00:00
Henning Gruendl
4e1eb3727f QmlDesigner: Cleanup color logic code
Change-Id: I33019c06bc9c1f077ac88367f3b8ea279e2801c5
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-09-21 17:06:42 +00:00
Ivan Komissarov
f8f1732a1e Update Qbs submodule to the top of 1.20 branch
Change-Id: Ic9f108b1f0c96ee82bacb78da3c14998e95e53d3
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2021-09-21 13:05:29 +00:00
Jarek Kobus
128c7dfbef Implement heuristics for parsing version number
Similar solution exists in QtHelp module:
QString QHelpDBReader::qtVersionHeuristic() const

Fixes: QTCREATORBUG-26292
Change-Id: I9037785920e25428db0fa7f03f737c5ef66c4ac3
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-09-21 11:17:33 +00:00
Eike Ziller
04bb1ee5da Fix QtProjectImporter test for Qt 6.2 versions in PATH
In Qt 5, qmake is statically linked to the bootstrap library,
so just copying qmake somewhere results in a runnable executable.

In Qt 6 this changed, and qmake depends on the dynamic QtCore
library, and on Linux also on ICU. Copy these in addition to
the qmake executable. Keep the directory structure as in Qt, so
the dynamic linker finds them.

Change-Id: Ie4f6b617bc91d847b1e4fe38dc8a1c603eae4087
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2021-09-21 09:26:07 +00:00
Eike Ziller
56d346018a Acknowledgments: Fix path to cpluscplus lib
Change-Id: Id1a2f9797bff6b07d75d40c3ce5e6541aeea585e
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
2021-09-21 07:35:30 +00:00
Kai Köhne
96ba15dc3a MSVC: Fix C4996 in sqlite3.c
Fixes warnings
  sqlite3.c:43154: warning: C4996: 'GetVersionExA': was declared deprecated
  sqlite3.c:43164: warning: C4996: 'GetVersionExW': was declared deprecated

We know that we're running on Windows NT based versions (the default), so
we can as well skip this check.

Change-Id: Idd7db098645060bf8b9e449e59904f2f63fb0e0a
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-09-20 14:13:46 +00:00
Cristian Adam
b7ad67ccdf GitHub Actions: Fix tag release upload of artifacts
runner.os for uploading of artifacts is always ubuntu, and therefore
the runner.os comparisons were not working as expected.

Change-Id: I9e2bb418d4fee47aaf57a096a23cbd554051d1df
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-09-20 12:48:36 +00:00
Cristian Adam
3c41665b80 GitHub Actions: Do not build with tests on release tags
This should match the official releases.

Change-Id: I075e977121ffcaa32de37a9505be6c6296d7258d
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-09-20 12:38:14 +00:00
Eike Ziller
24e3cb3ab9 COIN: Use Qt 6.2.0 RC
Change-Id: Ic995d0b139de4c3203c8ad9672c46ac8edd5a4b1
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-09-20 06:14:37 +00:00
Ivan Komissarov
0032f0ec85 Update Qbs submodule to the top of 1.20 branch
Change-Id: I1b00b572cb009b9b43fe505659fe6821665e46fe
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2021-09-17 14:32:51 +00:00
Eike Ziller
8fa353bb30 Bump version to 5.0.2
Change-Id: Ia919fb9c976025000609033ed61ecb1c2fe71f7a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-09-17 12:23:30 +00:00
Leena Miettinen
b32728b99f Doc: Update Stack Layout screenshot
To display the new Properties view.

Task-number: QDS-4561
Change-Id: Icc297441439013e094a1325102e6651f34789bd4
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-09-17 12:09:24 +00:00
Thomas Hartmann
e58116169a StudioWelcome: Register help for qtquick3d
Change-Id: I6b5b8da97299341b262d09307a2adb03f7219b83
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2021-09-17 11:44:18 +00:00
Cristian Adam
67b8e8f9b1 Reaper: do not disconnect process before reaping
AbstractProcessStep is relying on signals which breaks with
the disconnect call.

Amends ebae255e49

Fixes: QTCREATORBUG-26271
Change-Id: I16ebaad68352be5c41492e5c4d4fbc3f032e2e39
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-09-17 10:26:16 +00:00
Henning Gruendl
8755b2336f QmlDesigner: Fix states list button icon alignment
* Fix button icon alignment after collapse and expand
* Fix parameter injection warning in StatesList

Task-number: QDS-5054
Change-Id: If842e48c15485f79b6515e781139dfb07cd6fa07
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-09-17 10:00:53 +00:00
Cristian Adam
69475d37fe CMakePM: Populate targets list on add new build step
The target list was recreated when the parsing of CMake project
finished.

But for already configured projects, the list was not used when
a new build step was added. This new step will only get the
targets list when the CMake project would be reparsed.

Fixes: QTCREATORBUG-25759
Change-Id: I54d12a71dacf9fcec2ad0f3e341fe8057880251d
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
(cherry picked from commit a88f1426c3)
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-09-17 09:16:30 +00:00
Cristian Adam
845230166b CMakePM: Allow loading of projects that do not have any targets
Fixes: QTCREATORBUG-25509
Change-Id: I4e56576f0d9fdffa50c81f4901fb30d17952553e
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
(cherry picked from commit 86825283ed)
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-09-17 09:16:12 +00:00
Eike Ziller
118883f66a qmake: Fix crash with Qt 6 when canceling parsing
In Qt 5, QFutureWatcher::isFinished was only true if the finished signal
was already sent. That changed in Qt 6, where it represents the state of
the QFuture instead. Use an explicit bool for representing "finished
signal was sent" instead.

Task-number: QTCREATORBUG-24098
Change-Id: I4dd8e1c7f6659b2856634d522fb1c0f7eef6741b
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2021-09-17 09:10:50 +00:00
Leena Miettinen
9aa3a20c16 Doc: Update info about custom control wizards
- Update GIF images, because some of them were looping and some not
- Also, the Custom Button styling has changed
- Add note about how to disable misbehaving hover effects

Change-Id: If8ad75d734ab2a8b87359122c041fbbdcfe00b8a
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-09-17 08:57:43 +00:00
Leena Miettinen
b1e67bc230 Doc: Update screenshots
Fixes: QDS-4561
Change-Id: Ie70227cd6873d603e2049e31aadfd43e66d9bdbd
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-09-17 08:57:32 +00:00
Alessandro Portale
1638c337c1 Welcome: Remove spacing between the link buttons on Welcome screen
The 5-pixel spacing causes the sensation of flickering while hovering
over the buttons. Other elements on the welcome screen (recent projectsm
sessions, etc.) don't have spacing, and therefore, the hovering feels
"smoother".

This change removes the spacing and compensates that by increasing the
link height accordingly.

Fixes: QTCREATORBUG-26275
Change-Id: I0159d65d941971c169faf2f156cd4f8c0ddd365c
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2021-09-17 08:45:13 +00:00
Leena Miettinen
9283f74bed Doc: Update screenshots about custom properties
Add an example of where custom properties should be used.

Task-number: QDS-4561
Change-Id: Idf99f63bc4c4a04b8b7912c98f15274ec7544b10
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-09-17 08:42:03 +00:00
Leena Miettinen
0efe414100 Doc: Update fourth part of entry-level tutorial
Task-number: QDS-5001
Change-Id: Iab790f9141424ef848ddeaa2566108bf7a75d18a
Reviewed-by: Johanna Vanhatapio <johanna.vanhatapio@qt.io>
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-09-16 14:36:49 +00:00
Christian Stenger
49c8471ef2 ClangTools: Adjust test files
Qt6 handles multimedia and multimediawidgets as add-on modules,
so they get installed only if explicitly checked while installing.
Make them optional for testing Qt6 as well.

Change-Id: I33b0686a61bf20ace790aa0c2bc27a5219d30aac
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2021-09-16 14:28:55 +00:00
Leena Miettinen
d8c1dfc789 Doc: Update third part of entry-level tutorial
Task-number: QDS-5001
Change-Id: Id1c8dc919f09846a3e7d7b257e9b974f9eeecbda
Reviewed-by: Johanna Vanhatapio <johanna.vanhatapio@qt.io>
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Tanja Remes <tanja.remes@qt.io>
2021-09-16 14:17:11 +00:00
Leena Miettinen
40cfd78435 Doc: Update the second part of entry level tutorial
Task-number: QDS-5001
Change-Id: If171a47c5aee4c8e6f5622e8217cc137de7bb6bb
Reviewed-by: Johanna Vanhatapio <johanna.vanhatapio@qt.io>
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Tanja Remes <tanja.remes@qt.io>
2021-09-16 14:16:27 +00:00
Mahmoud Badri
eb870fb5c4 QmlDesigner: Include the ID in the invalid ID message
Change-Id: Ieacf36991cbe5e5f96cdc8dc26413cbbaec25608
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-09-16 13:22:46 +00:00
Christian Kandeler
7c5a830111 CompilationDatabaseProjectManager: Fix unexpected double emit of signal
Do not rely on QFutureWatcher::isFinished(), which triggers a crash in
the plugin unit test with Qt 6 (race condition?).

Change-Id: I379d894ebd4a28a64b1e70e0cee6eef9ab720a14
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
(cherry picked from commit 32541fef3b)
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-09-16 12:44:13 +00:00
Marco Bubke
8c30b29d76 QmlDesigner: Decrease timeout for capture image
It was 10 min. Now it is 10 s.

Task-number: QDS-5077
Change-Id: I703721d08631590102611c5779929fdeae47d971
Reviewed-by: Knud Dollereder <knud.dollereder@qt.io>
2021-09-16 12:31:01 +00:00
Johanna Vanhatapio
eea23a83f6 Doc: Describe the Loader3D component
Task-number: QDS-4888
Change-Id: Ia05b374f79030613ce68bfa70950e503cd83d454
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2021-09-16 11:49:43 +00:00
Assam Boudjelthia
b9add29ae0 Android: Handle Qt 5 CMake projects target build dir retrieval
This makes sure that Qt 5 CMake android projects return the build dir
and not the android build libs folder.

Change-Id: I675e2ea2946beb63bbe08b9bf4b7d9603c386f09
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2021-09-16 08:41:33 +00:00
Leena Miettinen
2413aac32b Doc: Add notes about Iso Icon not being supported on Qt 6
Change-Id: If479873bd4da2b991ec27688a65b51187cb34184
Reviewed-by: Johanna Vanhatapio <johanna.vanhatapio@qt.io>
Reviewed-by: Tanja Remes <tanja.remes@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-09-16 08:02:42 +00:00
Robert Löhning
f529051b58 Squish: Be fuzzy when comparing snippet fetched from Pastebin.Com
Change-Id: If08b2b9136d55e2dddca6181c1075d845422a30b
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2021-09-16 07:17:55 +00:00