Commit Graph

791 Commits

Author SHA1 Message Date
Eike Ziller
b402f35481 Merge remote-tracking branch 'origin/8.0' into 9.0
Conflicts:
	doc/qtcreator/src/qtquick/qt-design-viewer.qdoc
	src/plugins/qmldesigner/components/assetslibrary/assetslibrarywidget.cpp
	src/plugins/qmldesigner/components/edit3d/edit3dwidget.cpp
	src/plugins/qmldesigner/components/materialbrowser/materialbrowserview.cpp
	src/plugins/qmldesigner/components/navigator/choosefrompropertylistdialog.cpp
	src/plugins/qmldesigner/components/navigator/navigatortreemodel.cpp
	src/plugins/qmldesigner/designercore/model/abstractview.cpp
	src/plugins/qmldesigner/designercore/model/import.cpp
	src/plugins/qmldesigner/designercore/model/model_p.h
	src/plugins/qmldesigner/designercore/model/texttomodelmerger.cpp
	src/plugins/qmlprojectmanager/qmlproject.cpp

Change-Id: I4236bf0da9306abf201f4679259e72dd7c1eddbe
2022-11-01 15:38:49 +01:00
Leena Miettinen
d173f532c7 Doc: Describe conditions for automatically finding ccache on macOS
Task-number: QTCREATORBUG-27876
Change-Id: I01f671c3f2b36e97c56ce3649ef5ab38d1a067c3
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2022-10-31 08:47:05 +00:00
Leena Miettinen
18553f051c Doc: Remove \if defined statements from files not used in QDS
Change-Id: Ib6c3bf5a89faab97fd28b47e033925c2f4f30f55
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2022-10-31 07:38:50 +00:00
Leena Miettinen
5759da754e Doc: Use filename extension of ok.png to fix qdoc warnings
Change-Id: Ic33d9c4e8a3af523e087fc1284cb374e7fd37ec0
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2022-10-27 14:31:23 +00:00
Leena Miettinen
596529651b Doc: Fix link to Qt 6 based Qt Design Viewer
Change-Id: I68a10b4508feb6760f28ef63d29fa54bc1ae37f3
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2022-10-27 13:06:17 +00:00
Leena Miettinen
86a24b707d Doc: Add info and examples of using CMake presets
Task-number: QTCREATORBUG-27876
Change-Id: Iaaea164d7a8395d6ddc7580db72790187b719eda
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2022-10-27 06:44:48 +00:00
Leena Miettinen
642ba31f8b Doc: Describe "Show subfolders inside source group folders"
...in Preferences > CMake.

Task-number: QTCREATORBUG-27876
Change-Id: I0d71e0281413433e6acfdd7023c138c422a8712f
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2022-10-26 08:32:26 +00:00
Mats Honkamaa
552831ead4 Doc: Update documentation on how to share apps online
Provide basic information and instructions about sharing applications online

Task-number: QDS-7155
Change-Id: I69632f370a452c1b9cc03ebac260f0382a89449b
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2022-10-25 11:23:20 +00:00
Leena Miettinen
85cf6f3365 Doc: Describe Configuration field in CMake build settings
Update screenshots.

Task-number: QTCREATORBUG-27876
Change-Id: Ib0424bef44ac29078a86445da5032011ffc7ff94
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2022-10-24 12:19:52 +00:00
Leena Miettinen
4fee43c76f Doc: Use "which" in clauses that add supporting information
Fixes: QTCREATORBUG-28364
Change-Id: I98bbff1886fc63d024dd9ce57720274b598bf6de
Reviewed-by: David Schulz <david.schulz@qt.io>
2022-10-24 09:26:01 +00:00
Leena Miettinen
59b92b6417 Doc: Create separate topics for Qt Design Viewer in QC and QDS manuals
The process in the two apps now differs too much for single-sourcing
the docs to be helpful.

Change-Id: I3aa60c9f2219d19843f5a4c635fc49c83548f13f
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
Reviewed-by: hjk <hjk@qt.io>
2022-10-21 13:24:00 +00:00
Leena Miettinen
4c936be3a9 Doc: Update Image Viewer snapshot and add icons to instructions
Arranged the feature list according to the order of icons on the
toolbar and added icons.

Edited some text.

Task-number: QTCREATORBUG-27876
Change-Id: I4357329fbc137ea39b87e3630de507981d1611e5
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2022-10-20 12:31:00 +00:00
Leena Miettinen
b4c3431768 Doc: Fix qdoc command \section to \section1
Change-Id: I500a5dc5e84e19e975904cc5d04a465f736dc86b
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2022-10-20 11:43:09 +00:00
Robert Loehning
f27444a213 Doc: Rephrase code snippet description
...to also cover the case of writing new bug reports.

Change-Id: Ia98231c836df256313f7b7cb42f3e05bf3b8866b
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2022-10-18 12:41:32 +00:00
Leena Miettinen
4ebfd4b6cf Doc: Update instructions for adding B2Qt Devices
Update screenshots to use the dark mode.

Task-number: QTCREATORBUG-27876
Change-Id: I1b6483f76d7f14485ffc13b465e84f378494ea3f
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-10-18 12:27:23 +00:00
Leena Miettinen
31e24208b5 Doc: Describe using CMake presets for configuring and building
Update screenshots.

Task-number: QTCREATORBUG-27876
Change-Id: I62135a0254b730b2cbbad65f5bac7b1594ee454e
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2022-10-18 06:38:57 +00:00
Leena Miettinen
8aaf60218c Doc: Add alternative terms for "shadow build" to the glossary
Change-Id: I36e160840520778f5ef7012ef72fb1abb967a3c5
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2022-10-18 06:38:43 +00:00
Leena Miettinen
de357a138e Doc: Update docs after CMake preferences were moved to separate category
...from tabs in Build & Run and Kits categories.

Task-number: QTCREATORBUG-27876
Change-Id: I4f808eaaa32fa978e3ef06d0a3f2a9739d8ef726
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2022-10-14 14:21:40 +00:00
Leena Miettinen
c51ca1fd82 Doc: Improve quality of Squish plugin icons
And add the button name to text to help users find it in UI.

Change-Id: I3d7096ac13855b697c97f6affe146a088241259a
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2022-10-14 09:16:45 +00:00
Leena Miettinen
51e31713ff Doc: Describe the Hide/Show Right Sidebar button in build output
Task-number: QTCREATORBUG-27876
Change-Id: Ie0804bccb034d138afd1cca5facbc1bd3cae8cb3
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2022-10-12 07:15:12 +00:00
Leena Miettinen
5741d8ec05 Doc: Describe Follow Symbol Under Cursor to Type in code editor
Task-number: QTCREATORBUG-27876
Change-Id: I17250cdde3ad4c722dbccbb486f27abda58a9ed1
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2022-10-12 07:14:49 +00:00
Leena Miettinen
4b42f05439 Doc: Update Help mode screenshots to show help in dark mode
Use \image alt text more consistently.

Task-number: QTCREATORBUG-27876
Change-Id: Icc655eb5d05cfdcb16f9eedc836de710ee1ad59d
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2022-10-11 11:58:36 +00:00
Leena Miettinen
0e2409b0d6 Doc: Describe image viewer Set as Default option
Task-number: QTCREATORBUG-27876
Change-Id: Ibe2b7f39c23b60df13debab7de21d7e999f51448
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2022-10-11 11:00:30 +00:00
Tasuku Suzuki
52672b5f6c SessionDialog: rename Switch To to Open and reorder buttons
To be consistent with the SessionNameInputDialog that has the button
"... and Open" to switch to a session.
Buttons should be ordered by like a typical file menu
- new
- open(ex- switch to)
- save(rename/clone)
- close(delete)

Change-Id: I875446352100500eaae4b0ecef4faa6442aef539
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2022-10-11 10:53:29 +00:00
Leena Miettinen
0c2a86b63f Doc: Describe new preferences for refactoring actions
Task-number: QTCREATORBUG-27876
Change-Id: I37513cc641db034eaf1737eee4f25c5ba6b7fd82
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2022-10-10 15:41:27 +00:00
Leena Miettinen
b1af1502a0 Doc: Describe following symbol under cursor for QRC files
Task-number: QTCREATORBUG-27876
Change-Id: If4fa6235fe450617753e5f4a753ca491a92a0613
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2022-10-07 13:13:28 +00:00
Leena Miettinen
49378ced3c Doc: Describe Squish plugin
Fixes: QTCREATORBUG-27890
Change-Id: Icc203a96f08c785f016130480c45c988d26ac371
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2022-10-06 07:07:56 +00:00
Leena Miettinen
3667b5ea18 Doc: Describe Text Editor > Font & Folors > Line spacing
Update screenshot.

Task-number: QTCREATORBUG-27876
Change-Id: If5eef7243e94492551480f790286d0538d552cd7
Reviewed-by: David Schulz <david.schulz@qt.io>
2022-10-05 11:59:58 +00:00
Leena Miettinen
9accbdac02 Doc: Update info about Clang and clangd preferences
And the Show Preprocessed Source action in the code editor
context menu.

Task-number: QTCREATORBUG-27876
Change-Id: I43ca26d6ee7bb5e0441a37aeb1f7eecbb4ba8fde
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2022-10-05 11:22:47 +00:00
Leena Miettinen
94ab264d45 Doc: Describe create cursors at the ends of selected lines
...by pressing Alt+Shift+I

Task-number: QTCREATORBUG-27876
Change-Id: Ibdf25f97ec4c705b62e0c0f78239c9004cc45fce
Reviewed-by: David Schulz <david.schulz@qt.io>
2022-10-05 10:06:52 +00:00
Leena Miettinen
eeb1cd22ce Doc: Describe new Text Editor > Display preferences
- Visualize Indent check box
- Tint whole margin check box
- Update the screenshot.

Task-number: QTCREATORBUG-27876
Change-Id: Ie61cf82e35f8dda75e0aeea08eda92993ff36a71
Reviewed-by: David Schulz <david.schulz@qt.io>
2022-10-04 07:32:59 +00:00
Leena Miettinen
bea4dd861d Doc: Describe new locator options
- Open as Centered Popup
- Triggering all kinds of actions with the "t" filter

Task-number: QTCREATORBUG-27876
Change-Id: I6aebe62726fae9ba68d4f841cce6ee4cf7434747
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2022-09-30 12:46:36 +00:00
Leena Miettinen
65d6c663e3 Doc: Describe the Help > Change Log option
Task-number: QTCREATORBUG-27876
Change-Id: I484070f77695652642c6b2a12a57b2d0ec691708
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2022-09-30 07:14:43 +00:00
Christian Kandeler
787de7eede Documentation: Remove CMAKE_INCLUDE_CURRENT_DIR from example
It's not needed.

Change-Id: If831963bc1b38545134254aba1b814f1d332fcdb
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2022-09-26 14:55:13 +00:00
Eike Ziller
5d55cfdae5 Merge remote-tracking branch 'origin/8.0'
Conflicts:
	share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/ColorEditor.qml
	share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioTheme/icons.ttf
	src/libs/utils/fileutils.cpp
	src/plugins/qmldesigner/components/edit3d/edit3dwidget.cpp
	src/plugins/qmldesigner/designercore/include/abstractview.h
	src/plugins/qmldesigner/designercore/include/nodemetainfo.h
	src/plugins/qmldesigner/designercore/metainfo/nodemetainfo.cpp
	src/plugins/qmldesigner/designercore/model/model_p.h
	src/plugins/remotelinux/linuxdevice.cpp
	tests/auto/utils/fileutils/tst_fileutils.cpp

Change-Id: I26a21e2523d3d725fdb8c548a531cdbdaeaeca20
2022-09-19 09:54:06 +02:00
Leena Miettinen
a7c0bffc5c Doc: Use "Coco" as product name and link to Coco Manual at doc.qt.io
Instead of "Squish Coco" and linking to the manual at doc.froglogig.com.

Change-Id: Ibac31680b38aec093f40f06ed22cd5f518839cd7
Reviewed-by: Harri Porten <harri.porten@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
2022-09-19 06:51:06 +00:00
Eike Ziller
29f9f0d822 Improve Clangd settings page
- add tooltips to the labels
- move the completion settings together
- move the "threshold" settings together
- move the indexing option together with the worker threads option
- mention that we fallback to a built-in indexer if clangd background
  indexing is turned off
- add tool tip to worker threads option that mentions that this is also
  used for background indexing
- adapt documentation

Fixes: QTCREATORBUG-28071
Change-Id: I89b00a586fa79fd5ba25c4d187e36d5cfc2d4903
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2022-09-06 09:11:06 +00:00
Eike Ziller
04e50438eb Utils: Remove Utils::optional
Since we are now requiring macOS 10.14 we can remove our local
implementation of optional and use std::optional for macOS too.

Change-Id: I2bd018261b68da64f7f031a812045dd7784697e1
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
2022-09-01 06:58:04 +00:00
Eike Ziller
a2f21d40f5 Merge remote-tracking branch 'origin/8.0'
Conflicts:
	src/plugins/debugger/debuggerdialogs.cpp
	src/plugins/qmldesigner/components/materialeditor/materialeditorview.cpp
	src/plugins/texteditor/fontsettingspage.cpp

Change-Id: I5a6accd2065e0d8320045b57ade7b54a9a09aae0
2022-08-31 11:03:13 +02:00
Mats Honkamaa
422a20864e Doc: Update view names in documentation
Changing the following view names:
Form Editor -> 2D
3D Editor -> 3D
Connection View -> Connections
Curve Editor -> Curves
Transition Editor - Transitions

Task-number: QDS-7316
Change-Id: Id9b719b368cf5f7156319a597e94f0a3eb7c89ab
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2022-08-30 09:02:08 +00:00
Eike Ziller
fe4e74af75 Adapt attributions to removal of Utils::variant implementation
Amends 84c1d6572b

Change-Id: I6cf02d577babb35537338447e4918776bd3012fd
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
2022-08-29 08:21:05 +00:00
Lucie Gérard
a7956df3ca Use SPDX license identifiers
Replace the current license disclaimer in files by
a SPDX-License-Identifier.

Task-number: QTBUG-67283
Change-Id: I708fd1f9f2b73d60f57cc3568646929117825813
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2022-08-26 12:27:18 +00:00
Leena Miettinen
bddac59a95 Doc: Fix arguments to start debugging Qt Quick applications
A dash was missing.

Fixes: QTCREATORBUG-28093
Change-Id: Ic7fbf8fda8d23fdc1eabf98b53240824a24aacc5
Reviewed-by: hjk <hjk@qt.io>
2022-08-23 07:14:22 +00:00
Leena Miettinen
cd87abf3fa Doc: Add commas and fix style issues
Change-Id: I10d1e11c5981704b5ae5e7690f3df036af9873b3
Reviewed-by: hjk <hjk@qt.io>
2022-08-23 07:14:08 +00:00
David Schulz
95a278760a Doc: update remote CDB setup instructions
Mention the dependencies of the cdbextension and instruct to copy the
full folder instead of just the dll.

Fixes: QTCREATORBUG-27914
Change-Id: If14d331af66437bc8723fc16fc72354cccd4e0d6
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2022-08-22 18:13:48 +00:00
Fawzi Mohamed
774010d96e Add information on how to set up qmlls
Fixes: QTCREATORBUG-28025
Change-Id: Id9a74a15f1fd716f714e8f87fc2d986f9b952e94
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2022-08-11 07:08:00 +00:00
Leena Miettinen
ff476cd87c Doc: Describe filtering Clang Tidy and Clazy checks
Task-number: QTCREATORBUG-27560
Change-Id: Iafd13201227b026d47f38aecb096c742e18552ca
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2022-07-15 06:53:35 +00:00
Leena Miettinen
48ebab7c58 Doc: Fix links in the Glossary topic
- "Target Platforms" has been replaced with separate topics
  for "Embedded Platforms" and "Mobile Platforms"
- Linking within the Glossary did not make sense because
  the whole page fits on the screen, so nothing happens when
  clicking the links

Task-number: QTCREATORBUG-27560
Change-Id: I55fe0b98685f67aab7ad0c9a00d28ac744235a9a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2022-07-15 06:49:29 +00:00
Leena Miettinen
cc2a79fb2e Doc: Fix reference to "Locals and Expressions" view
They are now two separate views.

Task-number: QTCREATORBUG-27560
Change-Id: Iab659bd915c213d11db08b3a2b8749ebdbc5e70c
Reviewed-by: hjk <hjk@qt.io>
2022-07-14 13:52:57 +00:00
Leena Miettinen
1e0cd24020 Doc: Update how-tos
- Fix menu paths to preferences
- Refer to existing screenshots of Preference pages
- Add information on setting preferences for
  automatically inserting matching characters
- Update the Completion preferences screenshot to show all options

Task-number: QTCREATORBUG-27560
Change-Id: Ib820c9bd19dc71ce109a4a59d40d6f276eb001ac
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2022-07-14 13:20:03 +00:00