Commit Graph

67787 Commits

Author SHA1 Message Date
Robert Loehning
dd4beac2a3 Squish: Don't use underscore in project name
We'd have to escape it so openDocument()
can find it in NavigationTreeView.

Change-Id: I0be07874fdb6b8fba7a3a2e01e2927a79a47e358
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-04-02 09:45:50 +00:00
Assam Boudjelthia
8009962584 Android: remove automatic sdk setup ambiguity
Use label text instead of icon for Auto SDK download button.

Fixes: QTCREATORBUG-23774
Change-Id: I5f10bafb0cdf88210f7121504778885291169e07
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-04-02 09:12:32 +00:00
Tim Jenssen
e571c98661 QmlDesigner: fix a rarely happen crash
It was difficult to reproduce, but happen regular while importing
something from design tools.

Task-number: QTCREATORBUG-23707
Change-Id: I93e8c8cf9d44ecf20f5754ae48a0599f056a8610
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-04-02 09:12:31 +00:00
Christian Kandeler
7834f172ce ProjectExplorer: Fix copy-paste error in AbstractProcessStep
Change-Id: Id345f3c2c51d4ac4b773113c7e22533ebcbcfaf7
Reviewed-by: hjk <hjk@qt.io>
2020-04-02 08:55:31 +00:00
Miikka Heikkinen
35c0deac5e QmlDesigner: Add highlight color to edit 3D view toolbar buttons
Task-number: QDS-1752
Change-Id: Ice390cd1c53f26b48aca5789c2a1c7736ffa990a
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2020-04-02 08:35:58 +00:00
Leena Miettinen
6741eb9293 Doc: Update guidelines for writing Qt Creator documentation
- Include information about writing Qt Design Studio Manual
  from its README file
- Update information about building the docs

Change-Id: Iaaff47ca3f07c859aa726e7e7f571042a8aadd48
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-04-02 07:07:52 +00:00
Leena Miettinen
7f558b983d Doc: Describe the Restrict to Threads button
Update screenshots.

Task-number: QTCREATORBUG-23364
Change-Id: I8e79ad4682024862a05f4529a828464125bd639b
Reviewed-by: hjk <hjk@qt.io>
2020-04-02 07:06:44 +00:00
hjk
9b97f12669 RemoteLinux: Rename some gdbServer variable to debugServer
It could be lldb-server at some time, too.

Change-Id: I5a8210e05189902d1cef9b41e14df0b585bcb86b
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-04-02 06:31:44 +00:00
hjk
d746b4ab2d Debugger: Rename some gdbserver variable to debugServer
It could be lldb-server at some time, too.

Change-Id: Iba4bd0d073ba74e10dd579f0115570ccd4189da3
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
2020-04-02 06:24:42 +00:00
hjk
d1173d2136 Android: Use BuildSystem in AndroidExtraLibraryListModel
... instead of Target. The model is tied to an ApkBuildStep, i.e.
already per-BuildConfiguration.

Make the update depend on its BuildSystem parsing state, not any
in the target.

Change-Id: I72c00b9c40bfb7bee0375ae7b3f912f27bd18ca8
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-04-02 05:48:25 +00:00
Lars Knoll
47e576528e Port QtCreator over to use filterRegularExpression
QSortFilterProxyModel::filterRegExp is going to go away in Qt6,
so port over to use QRegularExpression instead.

This required some changes where setFilterWildcard/FixedString()
was being used, as those would instantiate QRegExp based filters
in Qt 5, and will use QRegularExpression in Qt 6. Use the generic
setFilterRegularExpression here, to keep things portable between
5 and 6.

Change-Id: I6379be781aa3821b10ba783c088f82c1a0970911
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-04-01 20:36:49 +00:00
Viacheslav Tertychnyi
0ae676d84a ProjectExplorer: Fix build progress bar update
When using CMake, if the build queue includes two or more
steps (Rebuild or Build All), the build progress bar did not
update properly after completing the first step.

Change-Id: I1a72e9e8494233a7dca73bdb6c1b51717af1d53d
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-04-01 14:07:40 +00:00
Christian Kandeler
3b740fccc8 QbsProjectManager: Ensure project data update on target switch
... if necessary.

Fixes: QTCREATORBUG-23767
Change-Id: I9a79eebcab348fe0b37d76b31dcbf088d56fc3ca
Reviewed-by: hjk <hjk@qt.io>
2020-04-01 13:51:08 +00:00
hjk
553c3c2c74 Android: Use the new Target::activeBuildKey() function
Change-Id: I051874a2b44129740b2ecc19f7ff401663d8bf0a
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-04-01 13:42:08 +00:00
Christian Kandeler
11cd79adca ProWriter: Fix removeVarValues() function
This function wrongly assumed that there is always an empty line between
variable assignments. For instance, When renaming a header file in a
project file where HEADERS follows right after SOURCES, the function
would erroneously claim that it removed the header file from the SOURCES
segment, so follow-up code added the name name there instead of to
HEADERS.

Fixes: QTCREATORBUG-23720
Change-Id: I55288b22fe16fa0593b277d8808ab5d64ba90549
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-04-01 13:39:43 +00:00
hjk
f83347ec00 ProjectExplorer: Introduce an Targer::activeBuildKey()
... redirecting to activeRunConfiguration()->buildKey()

This will allow the user code side to be moved closer to a setup
that will allow to shift the build data stored in project nodes
to the build system.

Change-Id: Icdf03e77bf61ee03b3a16855ac67652c205402fa
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-04-01 13:19:50 +00:00
hjk
c2627298d8 ProjectExplorer: Introduce "extra data" handling for build system
That's meant to replace the per-ProjectNode storage, which cannot (or
is hard to be) used correctly for target/buildconfig/buildsystem
dependent data.

For now just redirect to the node storage to enable the users to
port to the new interface before finally changing the storage as such.

Change-Id: I14d30b4d68c93bac0f14b787e82d00d1e0ada3b2
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-04-01 13:19:32 +00:00
Leena Miettinen
f75e54160d Doc: Update info about debugging
- Describe GDB server init and reset command fields
- Update screenshot
- Describe hiding and showing columns in views

Change-Id: Ifdbec54f7f9f5c07e82c9c6915cd267a031c0c25
Reviewed-by: hjk <hjk@qt.io>
2020-04-01 10:02:20 +00:00
Leena Miettinen
c80fc180a3 Doc: Describe the command to run Cppcheck on selected files
Task-number: QTCREATORBUG-23364
Change-Id: If21f647e5d7bbafae1d14b489aadd57d423cc663
Reviewed-by: Sergey Morozov <dev@gres.biz>
Reviewed-by: hjk <hjk@qt.io>
2020-04-01 08:18:07 +00:00
Thomas Hartmann
7222df86d1 QmlDesigner: Rename signal
The name clicked is missleading.

Change-Id: I2782d1af5c0bd8a58c24729f043291b482cec6a8
Reviewed-by: Aleksei German <aleksei.german@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2020-04-01 08:10:09 +00:00
Brook Cronin
247ffa0e1b fix formatting
Change-Id: Iaf49d5fa3239209e68f30762cc565fe3833b571e
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-04-01 08:08:44 +00:00
Brook Cronin
9ad7358613 add new icon font, update mapping in constants
Change-Id: Idbaa82a22ac317fc9089f76fc5de506e3f4bba5c
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-04-01 08:08:21 +00:00
Leena Miettinen
5bb880aa67 Doc: Describe managing Heob settings profiles
Task-number: QTCREATORBUG-23364
Change-Id: I2ebb9291f36c593074f58c701eee1e434710007b
Reviewed-by: Hannes Domani <ssbssa@yahoo.de>
Reviewed-by: hjk <hjk@qt.io>
2020-04-01 06:56:47 +00:00
Viacheslav Tertychnyi
fc7ba444df Fix Russian translation
Change-Id: I8d9534e5fa1e8a44a0cfa0f22fe74e54e6b10d15
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Reviewed-by: Anton Kudryavtsev <antkudr@mail.ru>
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
2020-03-31 16:48:23 +00:00
Thomas Hartmann
33cc991321 QmlDesigner: Fix tooltip
Task-number: QTCREATORBUG-23786
Change-Id: Ia87f6c711c8fb46dd8ac74802e224a5e7382aa46
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2020-03-31 14:22:52 +00:00
Aleksei German
e076ed50ac QmlDesigner Add Default Label
Change-Id: Id2f3f1be68f3b6f00b80d4959aeb597137086541
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-03-31 13:06:46 +00:00
Miikka Heikkinen
ee81b5d895 QmlDesigner: Exit puppet asynchronously in case of failed icon render
The application event loop is not yet active at setup time, so just
calling qGuiApp->quit() directly doesn't actually exit the application.

Change-Id: Iccae4dd59d92b593205c2057b189774f827ffcda
Fixes: QDS-1875
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2020-03-31 11:43:11 +00:00
Tobias Hunger
0880cfb75c TreeScanner: Do not trigger signals in destructor
Do not trigger signals in the destructor of the treescanner. The
object is not prepared to handle anyone reacting to that signal
anymore.

This fixes the crash described in QTCREATORBUG-23781.

Task-number: QTCREATORBUG-23781
Change-Id: Ia00173f8734461f1d484fa6f7a86f3a45f970e3f
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-03-31 09:23:12 +00:00
Miikka Heikkinen
e0751d56d0 QmlDesigner: Colorize light gizmos
Light gizmo icons and models are now colored based on the light color.
Image provider is used instead of simpler ColorOverlay component,
as ColorOverlay doesn't properly handle transparency when rendered
offscreen in puppet.

Change-Id: If6af915bca9bea2cb48ac23ac6c5ba46dc150e3b
Fixes: QDS-1733
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-03-31 07:39:16 +00:00
Venugopal Shivashankar
704d0eb882 Doc: Update the MCU options screenshot
In addition, replaced the explicit list
of hardware platforms with a link to the
Qt for MCUs documentation.

Task-numger: QTCREATORBUG-23764
Change-Id: I11b7a35a8307e3dbe832a77b43213c5049b73793
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2020-03-31 07:31:50 +00:00
Tim Jenssen
6419a37c8a QmlDesigner: fix some unused warnings
Change-Id: I4d4cd211eaa90d2cde9135f2ca80d75ea1e30fca
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-03-30 22:42:22 +00:00
Assam Boudjelthia
96e5eca1c3 Docs: update Android docs to reflect the latest changes
Docs affected:
* Connecting Android Devices
* Deploying Applications to Android Devices
* Specifying Run Settings for Android Devices

Task-number: QTBUG-80390
Change-Id: I17fecd4d947644d8cc6071af68addbc2199ad82e
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2020-03-30 18:57:41 +00:00
Eike Ziller
9a149e295b Merge remote-tracking branch 'origin/4.12'
Conflicts:
	src/tools/qml2puppet/CMakeLists.txt

Change-Id: Id6243b0f725a68075d789bf35e771113b742645b
2020-03-30 17:27:55 +02:00
Eike Ziller
41099a5eed Update change log for 4.12
Change-Id: I54a9e875c4b80bab4234bfb000cea15dc47b72e0
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2020-03-30 15:07:43 +00:00
Christian Kandeler
4e199eed8d OutputFormatter: Re-add handling of stand-alone carriage return
Amends 054e7c2164.

Change-Id: If8ee94c3377ff71c8b5d87d431d8b6a2c87bb6f6
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2020-03-30 13:56:38 +00:00
Richard Weickelt
9230237856 Update qbs submodule to HEAD of the 1.16 branch
Change-Id: I3a4fd475623790a1a34a15d530c5f4ea53603792
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-03-30 13:15:10 +00:00
Miikka Heikkinen
9a2eedf196 QmlDesigner: Show selection and gizmo for scene root light/camera
Change-Id: Ib650a5e331cf2936ef20a47abec5086bb08f06d2
Fixes: QDS-1857
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2020-03-30 12:30:33 +00:00
Kai Koehne
df1152dd95 Doc: Warn about using emsdk --embedded
The Qt installation instructions for WebAssembly so far recommended
using emsdk --embedded. Anyhow, this does mean that the .emscripten
file will _not_ be put into the user's home directory, as Qt Creator
expects.

Change-Id: I0301d97e96baf0976b93ff7fc80e4f0cb058ea2e
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2020-03-30 12:12:52 +00:00
Miikka Heikkinen
92aca4db8d QmlDesigner: Remove focus setting from EditView3D
There is no keyboard handling on puppet side anymore, so no need to
set focus, either.

Change-Id: I00ebf7de1ac0b339c1323a62a61a1c086123d848
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2020-03-30 11:24:58 +00:00
Miikka Heikkinen
cbb7099902 QmlDesigner: Fix scene root finding logic
If there's a single node child on View3D, detect that as scene root
when another non-node direct child of View3D is selected.

Change-Id: Ib538b0ae368e7b460700a99e4c450a15586c2f62
Fixes: QDS-1865
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
qds/v1.5.0-beta1
2020-03-30 11:24:49 +00:00
Robert Loehning
d3cf1549ee TargetSetupPage: Translate less HTML
Change-Id: I5dadcffcf6bb776d1c3e16f611783861428e61b9
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-03-30 11:17:19 +00:00
hjk
2444595fbc Qmake: Move context build action handling to build system
Among others, this removes the wart introduced in 4d3d2d0dfb.

Change-Id: Iafa63f6e4cca327a1d1dd6a8bbcfaa10032327db
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-03-30 10:21:55 +00:00
Thomas Hartmann
7a7ee71f22 QmlDesigner: Do not support rectangle gradient in Qt for MCUs
Change-Id: Ida324bf0647234a0ecff6689265767c0925d9115
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2020-03-30 10:02:04 +00:00
Christian Kandeler
29488fbdaf Qbs: Suppress spurious warnings about mismatching compiler paths
Apparently, MSVC toolchains set their compiler paths asynchronously, so
don't complain if it's empty initially.

Fixes: QTCREATORBUG-23725
Change-Id: Id800fa01d6368d244ec879181d12f6f7c7f1bf0a
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
2020-03-30 10:00:04 +00:00
Mahmoud Badri
621a823a53 QmlDesigner: Enable toggling the helper grid on/off
Also remove the toolbar buttons from the puppet side and few other
clean-ups.

Task-number: QDS-1849
Change-Id: I075753552043a9f1bc649f6baf54dc7b689e4f64
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-03-30 09:57:03 +00:00
Miikka Heikkinen
8288d6e97b Fix compile issue when there is no quick3dassetimport module
Change-Id: I769a977f8422e002ed5680c1788aa6d3948f0534
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2020-03-30 09:27:21 +00:00
Kai Koehne
c3fca6e718 Doc: Fix MinGW link
Change-Id: Iff955512f1a4032304f37391d27c6fd4d732cb19
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2020-03-30 08:27:32 +00:00
Kai Koehne
39297fecb4 Doc: Do not suggest to put sed in PATH
Later on it is suggested to put it in the Kit's environment.

Change-Id: I8268dac16bd03b9e7b1474cfece91f9e403d72bb
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2020-03-30 08:27:10 +00:00
Miikka Heikkinen
6cf8d7d645 QmlDesigner: Create thumbnail for imported 3D assets
Qmlpuppet now allows creating icon from qml source code.

Invoke qmlpuppet with following arguments to create icons:
--rendericon <size> <icon file name> <icon qml source>

E.g. --rendericon 24 ~/my_icon.png ~/my_icon.qml

Two icons are created, one with size x size dimensions and
one with double the dimensions and "@2x" injected into the file name.

3D asset import utilizes this icon rendering to produce item library
icons for imported components.

Change-Id: I92c62c80d961f5f61a0ce1c09b32bbcbf80ea56c
Fixes: QDS-1052
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-03-30 07:59:03 +00:00
Ville Nummela
1194340b85 Disable "Save All" when there are no documents to be saved
Fixes: QTCREATORBUG-22072
Change-Id: I6c84e0004d1ada27bfcec59f509d066f1b03ca2c
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-03-30 07:52:40 +00:00