Commit Graph

1400 Commits

Author SHA1 Message Date
Leena Miettinen
9cb4e8042a Doc: Replace \badcode with \code to show JSON highlighting
...in the online docs. Does not work in the helps.

Change-Id: I6391ff40be2607eb026153deec418e9389954b7d
Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2024-06-26 13:11:12 +00:00
Leena Miettinen
064f77a5a8 Doc: Update screenshot of Preferences > Axivion
Add the new options and a link to the docs to the change log

Task-number: QTCREATORBUG-30604
Change-Id: I50acab63b6d7a49c5e2dbf7ebd772f88280fb3a3
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-06-26 07:09:45 +00:00
Leena Miettinen
2f76130a49 Doc: Update info about QML Language Server
- Rename topic as "Configure QML Language Server", as QMLLS
  is now turned on by default
- Describe new preferences
- Remove "QML Language Server" from checkbox labels
- Add a link to the docs to the change log

Task-number: QTCREATORBUG-30604
Change-Id: I397b1747a3d23d728c78dc2eae000839655c4f32
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-06-25 07:44:24 +00:00
Leena Miettinen
b4ece2e056 Doc: Update topics about reading documentation
- Describe the Open Online Documentation option
- Edit the style
- Use How To: Read Documentation as \sa for all topics in the group

Task-number: QTCREATORBUG-30604
Change-Id: I7219ef9a38e993fc1387dd0ece9c8dfe762387d1
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-06-24 14:33:51 +00:00
Leena Miettinen
107a783452 Doc: Describe File > Open Workspace
...which opens a directory as a project and creates a
.json project file.

Task-number: QTCREATORBUG-30604
Change-Id: Ieadcddb298cbf50f25353d344dce0cd1820095e8
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-06-21 13:01:51 +00:00
Eike Ziller
12c1731489 Merge remote-tracking branch 'origin/14.0'
Conflicts:
	src/plugins/qmljseditor/qmljseditingsettingspage.cpp
	src/plugins/qmljseditor/qmllssettings.h

Change-Id: I49b97101467a6e80653c0f5f3e3fe5801dca5274
2024-06-21 13:54:42 +02:00
Sami Shalayel
2809b27be8 doc: document new qmlls checkbox for older versions
Also document the new behavior in the documentation about enabling
older qmlls versions.

Task-number: QTCREATORBUG-31088
Change-Id: I619119f5fec077a50712566bd8fa32b414e239dc
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2024-06-21 07:31:46 +00:00
Leena Miettinen
2f2ed24092 Doc: Update info on CMake presets
- Described overriding CMake project settings in CMake presets
  or a CMakeLists.txt.shared file
- Added an example of setting debuggers
- Added an example of cross-compiling and running on the wine emulator

Task-number: QTCREATORBUG-30604
Change-Id: I04f26d98e21b1a1a214de5ab4451ac1e758e489e
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2024-06-21 06:39:36 +00:00
Leena Miettinen
450397f12d Doc: Update screenshots of environment editor
Support for user comments in the editor was already
described in an earlier change.

Task-number: QTCREATORBUG-30604
Change-Id: I69f147681211256be9e25cf63c5b0b8dbd15f452
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-06-20 06:45:00 +00:00
Leena Miettinen
113275118e Doc: Describe overriding values from Preferences > CMake > General
Collect the settings to a table with links to where each setting
is documented.

Task-number: QTCREATORBUG-30604
Change-Id: Ia06076cdd7f51851f58307119716b4ed3cef630e
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2024-06-20 06:44:44 +00:00
Christian Stenger
391e7ae34a Wizards: Redo sub project handling
If the user tries to add a sub project the decision for the
parent project must happen directly on the intro page
to avoid asking for build system or kit information later on.
Any of these information are provided by the parent project
and can therefore be skipped in case of having a sub project.
So, move this decision to the first page and on the last page
only let the user decide to which sub node of the chosen
project the new project will be added to.
The old approach set the IsSubproject marker quite too late
to handle this appropriate, so explicitly set this already
on the first page.
For now there should be only qmake based projects which are
capable of adding sub projects at all, but this patch should
be a generalized preparation for having similar functionality
in other build systems.

Fixes: QTCREATORBUG-30281
Change-Id: I8f1de4fa05f46d68ac2ddec788840d473adb015e
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-06-19 12:04:43 +00:00
Leena Miettinen
b0428120c4 Doc: Describe the option for hiding unconfigured kits
Task-number: QTCREATORBUG-30604
Change-Id: Ia36c9734937cb7de4e07b417ef36dee178f24f3c
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-06-19 11:11:11 +00:00
Leena Miettinen
ab78847af8 Doc: Update model editor docs
- Describe new model element properties
- Update screenshots
- Update style

Task-number: QTCREATORBUG-30604
Change-Id: I8b296a610ce330d6c382f10e2ff3d8d9994ad503
Reviewed-by: Jochen Becher <jochen_becher@gmx.de>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-06-19 08:25:51 +00:00
Cristian Adam
36e84b1c54 Doc/Wizards: Update minimum CMake version to 3.16
Qt Creator due to the usage of CMake File-API was already requiring
CMake 3.14.

Qt 6.7 now requires CMake version 3.16, thus the version requirement
bump.

Note that Qt SDK is shipping CMake version 3.27.

Fixes: QTCREATORBUG-31079
Change-Id: Ife26d178b80949941cb808a1fbd91389d6d723bc
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-06-19 08:12:41 +00:00
Leena Miettinen
b08421af2e Doc: Mention how conditions on SCXML transitions are shown
Task-number: QTCREATORBUG-30604
Change-Id: Ib1c7806951d63c558e0a98aea2f618c2c397acaa
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-06-18 13:10:25 +00:00
Leena Miettinen
c1c462ab11 Doc: Mention "Compiler Explorer Qt & C++ Source" template
Task-number: QTCREATORBUG-30604
Change-Id: I9f21d21086cff38923a2ef2f398d68b2f8652470
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-06-18 07:52:44 +00:00
Leena Miettinen
becb0af00a Doc: Add more topics to \ingroup creator-how-to-manage-kits
- Add links to the kit management topics from other topics
- Always use \l{Kits} to link to Preferences > Kits
  This has lived a little, as I've changed the category names

Change-Id: Ibcb137824a23bfe7e320a215eb461f689c43db77
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-06-17 14:33:45 +00:00
Leena Miettinen
e8a85f9974 Doc: Describe options for updating Python Language Server
Task-number: QTCREATORBUG-30604
Change-Id: Ie41a971271e3f350218d45777ed081bc23167f91
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-06-17 08:47:36 +00:00
Leena Miettinen
70941abad9 Doc: Add Type Hierarchy to the list of supported LSP features
Task-number: QTCREATORBUG-30604
Change-Id: Ic8925e990a14a38383f465295d857d15221693df
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-06-14 14:46:57 +00:00
Leena Miettinen
096c4ae18d Doc: Describe Open With > Qt Design Studio for .ui.qml.files
Task-number: QTCREATORBUG-30604
Change-Id: I4049e6717cb3e0811bed78a15a9be9c1fdda28d2
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-06-14 14:02:02 +00:00
Leena Miettinen
a3a543a55f Doc: Add use cases for Add Curly Braces quick fix
- Update and add examples
- Make punctuation in the topic more consistent
- Add a link to the docs to the change log

Task-number: QTCREATORBUG-30604
Change-Id: I723af29117a4b35a70eed61058c5d43da285242d
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-06-14 12:02:02 +00:00
Leena Miettinen
f1fd60077c Doc: Add example of Convert Function Call to Qt Meta-Method Invocation
Task-number: QTCREATORBUG-30604
Change-Id: I9245b4eb35f6cc951ba70583a628870b53040e7b
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-06-14 09:40:55 +00:00
Leena Miettinen
9aeb396836 Doc: Describe Preferences > C++ > Code Style > Statement Macros
Task-number: QTCREATORBUG-30604
Change-Id: I8ce44b3ed677076801d3ec96cdf33704a97f4efe
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-06-14 07:29:20 +00:00
Leena Miettinen
ad2b6eeeb3 Doc: Describe Preferences > C++ > Code Model > Enable indexing
Task-number: QTCREATORBUG-30604
Change-Id: I93e2e251f58e335c6f4491fd9e7e84e69528611e
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-06-14 07:29:13 +00:00
Leena Miettinen
45f262f92c Doc: Describe new Clangd preferences
- Updated screenshots
- Added option names and location to the change log

Task-number: QTCREATORBUG-30604
Change-Id: I1554d6b7dbd588619eb992ef906d1bcef056f8c5
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-06-13 14:30:19 +00:00
Leena Miettinen
5665c349d1 Doc: Describe new C++ quick fixes
Task-number: QTCREATORBUG-30604
Change-Id: I08ee0478660b9166b1a6f2d1451ceab0d0c79789
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-06-13 13:36:08 +00:00
Leena Miettinen
ca90dcdc13 Doc: Change the title of a tutorial to move it down the list
This is a temporary fix until the real fix ends up in Qt 6.9
and we start using QDoc from there to build the docs. Then,
we can rethink the title.

Change-Id: I95332b18f7b53fd9b01d0b986275c958add0f00e
Reviewed-by: hjk <hjk@qt.io>
2024-06-13 11:06:44 +00:00
Leena Miettinen
25290aaf05 Doc: Split up the table of C++ Quick Fixes
Organize quick fixes in tables in alphabetic order
according to where they are available.

The one big table was getting very hard to read and
new quick fixes are added all the time.

Change-Id: Ieaff98b7cdb2d781b14630fa4db77b4b261f4573
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-06-12 13:04:46 +00:00
Leena Miettinen
9ee39e5141 Doc: Describe how to add optimized self-built Qt
Fixes: QTCREATORBUG-30841
Change-Id: Id5c2fe0fcf925812b9abc8d8f53557aeeb917e32
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-06-12 08:27:07 +00:00
Leena Miettinen
6c98cb780d Doc: Describe configuring C++ code model for a project
Task-number: QTCREATORBUG-30604
Change-Id: I8f3634fe4282ebe3d364f7762fe651ddb872313f
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-06-11 12:23:18 +00:00
Leena Miettinen
3e40f2f0e4 Doc: Add a note that Docker plugin needs to be enabled
And a link to how to do it.

Change-Id: I4c2ed3e64306629db39bdf085db973c04bbb65f2
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-06-11 11:44:53 +00:00
Leena Miettinen
4c2c709256 Doc: Add links to related topics from "Configuring Qt Creator"
Edit the style.

Change-Id: I3f0404b7d049cfa0e8f6eb530768d31f459ea1fe
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-06-11 08:30:38 +00:00
Leena Miettinen
3cf9f64791 Doc: Update info about connecting Linux-based devices
- The device wizard instructions should not mention USB, as
  USB connections are detected automatically
- The descriptions in the Extension Manager should use
  "network" when both wired and wireless connections are
  supported

Change-Id: I29a7279c413b335280fc5f2fa254e8922ecac5a9
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-06-11 06:06:52 +00:00
Christian Kandeler
f65c54fa3e Wizards: Remove remaining uses of classToHeaderGuard()
Amends 335c552bda.

Change-Id: I4f43e74f74cd42c4139e91b80abe89bf371411ef
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-06-10 14:08:15 +00:00
Teea Poldsam
048df016ab Doc: Add links related to previewing the design
Fixes: QTBUG-125475
Change-Id: Id40bfff892d0b27d361d8e66317242c10592140b
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-06-06 11:38:35 +00:00
Christian Stenger
4a9b2deb3e Docs: Describe changes on Axivion plugin side
Change-Id: Iefdd4d33fbb5b29f8afec8899d8a4373cc0f2436
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2024-06-05 11:11:59 +00:00
Christian Stenger
5b93e34c00 Utils: Allow comments in environment items
This patch allows commenting environment changes or adding
comments to the batch edit widget.
To mark a line as comment prefix it with '##'.

Modifying the environment by using the batch edit mode
allows using '#' to disable variables.
Mis-using this to disable statements of the environment
items widget is tempting and other tools explicitly allow
it this way. But when doing so, the environment may get
some unforeseen modifications.
So, explicitly provide a mechanism for comments and be
more clear about this inside the documentation.

Change-Id: I6a58d0d00e996a3f886ec30e826cade324321818
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-06-05 10:48:24 +00:00
Leena Miettinen
440c579ec0 Doc: Remove references to Qt 4 and < Qt 5.15
Leave only mentions to things visible in the UI and
to compatibility functions.

Fixes: QTCREATORBUG-30883
Change-Id: Id63d791f79363c2f4c2602bb8c0ed656a9ceab29
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2024-06-04 10:28:19 +00:00
Leena Miettinen
73e8dfba44 Doc: Remove the "Add WebAssembly kits" topic
This now happens automatically.

Task-number: QTCREATORBUG-30604
Change-Id: I205f57127333297ac53ae7276a683ffd70b10519
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-05-29 15:02:18 +00:00
Leena Miettinen
b4d345db2a Doc: Restructure "Building Applications for the Web"
Remove the requirements and link to Qt for WebAssembly docs.

Task-number: QTCREATORBUG-29361
Change-Id: I73b708953834fa0b239805c0ea10232c3fa440f5
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-05-29 09:54:31 +00:00
The Qt Project
e7cf251abe Merge "Merge remote-tracking branch 'origin/qds/dev'" 2024-05-29 08:10:42 +00:00
Assam Boudjelthia
fadfddc905 Android: refer to ANDROID_SDK_ROOT instead of ANDROID_SDK in docs
Change-Id: I3087977486460823ab26d903976155c4799f8b6d
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2024-05-28 18:25:42 +00:00
Assam Boudjelthia
27eba6d63f Android: remove note about minimum required Android SDK Tools version
Android SDK Tools version 25.2.5 has been released years ago,
and recent versions in at least the last 5+ years don't fit the
note, so no need to carry it around anymore.

Change-Id: Ieadbed612415863f5bc2dc13e274281c617e3a55
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2024-05-28 18:25:34 +00:00
Assam Boudjelthia
4f2d2ccdf8 Android: remove outdated note about emulator startup bug
This note has no details on what the bug is about, and in
any case, I'm not aware of such a bug in any recent version
affected by such a bug.

Change-Id: I32bb2a6ffa873630d3f884da3d8e2dbeb0a35648
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2024-05-28 18:25:27 +00:00
Tim Jenssen
4515fba526 Merge remote-tracking branch 'origin/qds/dev'
Conflicts: src/plugins/qmldesigner/CMakeLists.txt

Change-Id: I250c8e5284ddb0f335c440999b8920762419c89b
2024-05-28 19:06:18 +02:00
Tim Jenssen
8790cbc9de Merge remote-tracking branch 'origin/13.0' into qds/dev
Change-Id: I6dcba6ce7a9dec1c14dd6ad27732337c60eb7def
2024-05-28 15:14:38 +00:00
The Qt Project
0c6b2b43a7 Merge "Merge remote-tracking branch 'origin/13.0'" 2024-05-28 07:17:55 +00:00
Leena Miettinen
b4c83a1a41 Doc: Describe hiding long paths in the locator
Task-number: QTCREATORBUG-30604
Change-Id: I1de86d364dc97b331abbe6010b103b33eed4cbee
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-05-27 14:00:26 +00:00
Leena Miettinen
f2d4fa794a Doc: Reorganize "Adding Docker Devices"
Task-number: QTCREATORBUG-29361
Change-Id: I1946c4667c4b5c27040988747ba4d25f0a429ed4
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-05-27 09:12:46 +00:00
Leena Miettinen
b01a7a18f5 Doc: Reorganize info about developing for QNX Neutrino devices
- Include text from the remote Linux device docs
  (from a separate .qdocinc file)
- Remove the embedded platforms topic as the info is now in the
  overview and How To topics.
- Remove the note about QNX support being experimental.

Task-number: QTCREATORBUG-29361
Change-Id: I5ad807905ead7322900e9cdeb8f7e8660751d265
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Marianne Yrjänä <marianne.yrjana@qt.io>
Reviewed-by: Inkamari Harjula <inkamari.harjula@qt.io>
2024-05-27 09:11:56 +00:00