Commit Graph

4019 Commits

Author SHA1 Message Date
Morten Sørvig dce23a8a51 wasm: Add documentation for dynamic linking
Document as "developer preview" and give an overview
of how to use as well as the main technical limitations.

Pick-to: 6.6
Task-number: QTBUG-63925
Change-Id: If7b2f3d5edca7a93632689719fb3d55db9d41b3a
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Reviewed-by: Piotr Wierciński <piotr.wiercinski@qt.io>
2023-08-17 21:37:48 +10:00
Topi Reinio 17f35126dc Doc: Fix broken links
Remove links to examples that no longer exist, and fix linking to
page/section titles that have changed.

Fix other minor issues in passing.

Pick-to: 6.5 6.6
Change-Id: I6420fd7319e021f8a31f1776b31fabd05631c145
Reviewed-by: Andreas Eliasson <andreas.eliasson@qt.io>
2023-08-17 07:31:47 +00:00
Tomi Korpipaa 65a7653634 Add link to QtGraphs module to whatsnew
Pick-to: 6.6
Change-Id: I4a09e33872b2752ab66b2975760caa0ca42a9aad
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2023-08-16 04:45:31 +00:00
Ivan Solovev fa6bbdcaf8 Whatsnew 6.6: Mention QBluetoothUuid updates
The QBluetoothUuid refactoring was done with source and binary
compatibility in mind, but it's still a complicated change, so it
makes sense to mention it in the 6.6 release notes.

Pick-to: 6.6
Change-Id: I5886d1572bb7869dcf8bb033b918c5bf14110378
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
2023-08-15 18:11:03 +02:00
Qt Submodule Update Bot d10f39d945 Update dependencies on 'dev' in qt/qtdoc
Change-Id: I2b8fcd941e7f15ffcf7e350214db01810400b7c9
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-08-14 19:36:01 +00:00
Kai Köhne 0bc36e534e Dice: Extract calculation of 45degrees
Don't calculate this inside the for loop.

Pick-to: 6.5 6.6
Change-Id: I09d46e363325071086332d901235f0feeabbb474
Reviewed-by: Jonas Karlsson <jonas.karlsson@qt.io>
2023-08-14 18:25:28 +02:00
Kai Köhne 94d585bc44 Doc: Fix links to AnimationController in Calcqlatr example
Both QtQuick and Qt3D feature an AnimationController type. Make sure
the right one is linked to.

Pick-to: 6.5 6.6
Change-Id: I292765f5ccc7fcd8228e461fc375b0a9b71768d6
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
2023-08-14 18:25:05 +02:00
Ivan Solovev 85946cf78b Whatsnew 6.6: mention QtBluetooth behavior change on handling permissions
Pick-to: 6.6
Change-Id: I21f166e95385ab70149eba82801dc2a1e36e6677
Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
2023-08-11 17:28:55 +02:00
Ivan Solovev 4e65dba307 Whatsnew 6.6: mention QtPositioning behavior change on handling permissions
Pick-to: 6.6
Change-Id: Ie260a7f04c05aa1423cd15ee31b353fc28e47eea
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
2023-08-11 17:28:52 +02:00
Ivan Solovev e88873b453 Whatsnew 6.6: remove entry for QtSerialBus
Nothing new was added to the module

Pick-to: 6.6
Change-Id: I8cb5b4c3959d9f8a76eca6623c8edff21543daf1
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
2023-08-11 17:28:49 +02:00
Kai Köhne 0f05ed1e01 Examples: Explicitly mention Quick3D requirement in the documentation
Quick3D is an optional component in the online installer. As the examples are part of qtdoc,
they are however installed & available also if Quick3D is missing.

Let's at least mention the dependency in the respective examples' documentation.
Add a general 'Running the Example' section if missing, too.

Pick-to: 6.5 6.6
Fixes: QTBUG-114998
Change-Id: If4d3b48b3d0352a0359f6962d4eb1bc2e1e67c95
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
2023-08-11 13:58:36 +02:00
Kai Köhne 6e1dc6d33f Doc: Update compiler in snippet to Visual Studio 2022
If you download Visual Studio nowadays, you most likely have
2022, not 2019.

Also use amd64, as this is the most likely default, and people
can just copy/paste.

Pick-to: 6.5 6.6
Change-Id: I049caae1e0b5fb205c977eb87137006bfe3b2e31
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2023-08-11 10:36:56 +02:00
Topi Reinio 840ebecf5b Doc: Restore links to the Plug & Paint example sources
The three examples, 'Plug & Paint' and its plugins, have been moved to
manual tests. This example is tightly integrated to the deployment
documentation for Windows, macOS, and Linux platforms, where it serves
as a tutorial for deploying a Qt application that has plugins of its
own.

While the deployment tools for each platform automates much of the
process, it makes sense to maintain documentation for users who need
to create deployment packages manually.

Add \externalpage links to a source repository for the examples,
remove excess linking to them. In passing, fix a few issues in
deployment and plugin-related docs.

These changes fix around 30 documentation warnings for broken
links to the Plug & Paint example docs.

Fixes: QTBUG-115988
Pick-to: 6.6 6.5
Change-Id: Ifd29ae2a9f16796a520ca7ab4eb6702ccb295326
Reviewed-by: Andreas Eliasson <andreas.eliasson@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2023-08-11 07:47:40 +00:00
Tor Arne Vestbø 52e4e04b5c iOS: Add note about enabling Rosetta-based run destinations in Xcode
Task-number: QTBUG-101276
Pick-to: 6.6 6.5
Change-Id: I589f97ea076379f78a430a2a4c78008d570ede89
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2023-08-10 18:14:11 +02:00
Qt Submodule Update Bot 78468bd16e Update dependencies on 'dev' in qt/qtdoc
Change-Id: I84851100ce5bf32692571e999ecb1c8077c74a70
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-08-10 13:51:29 +00:00
Andreas Eliasson ffd37e45cc Doc: Update docs on how to install Xcode Command Line Tools
In newer versions of Xcode, it's not possible to download the Command
Line Tools from the Xcode application.

Fixes: QTBUG-115961
Pick-to: 6.6 6.5
Change-Id: I67053922ed6a43ba9815a3b96e15627958ac3c63
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2023-08-10 13:36:15 +02:00
Kai Köhne 51c5b597aa Add full list of example categories to examples metadata
Add the full list of all example categories in the right order
to QtDoc metadata. This will generate a matching list in the
matching examples-manifest.xml file, and allows Qt Creator to sort
the categories correctly.

Pick-to: 6.5 6.6
Change-Id: I45dccf4d7fd0020e25f19e22a5bfebb44f640cca
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-08-07 10:38:31 +02:00
Nicholas Bennett 51ece6de49 Docs: Change 31 to 33 in snippet
6.5 and 6.6 require android platform 33.
I changed the reference on getting started page from 31 to 33.

Fixes: QTBUG-115700
Pick-to: 6.5 6.6
Change-Id: I7218787d8e9a071fc621096b4c15039e57845e52
Reviewed-by: Rami Potinkara <rami.potinkara@qt.io>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2023-08-04 13:44:37 +03:00
Kai Uwe Broulik fa60212bd1 EGLFS: libinput supports touch device mapping
It was added in Qt 5.14.

Pick-to: 6.6 6.5 6.2 5.15
Change-Id: I054dab7404c84ee3ac09dbdd988ee9b59c96f525
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
2023-08-03 12:00:46 +00:00
Paul Wicking ae74037b59 Doc: Move \target command to inside table cell
`\target`s generate a span where they occur. If they occur outside a
table cell, QDoc generates illformed html. Fix such instances by moving
the offending line into the table cell they target.

Task-number: QTBUG-115247
Pick-to: 6.6 6.5
Change-Id: I75004d8aab424b5d905261ece75097beaa24d8cc
Reviewed-by: Luca Di Sera <luca.disera@qt.io>
2023-08-03 09:40:53 +02:00
Tasuku Suzuki da86fa0016 Whatsnew 6.6: fix link to ColumnLayout::uniformCellSizes
Pick-to: 6.6
Change-Id: I58ced04a38df9ba46a668872ad0388d1b8e5ef98
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
2023-08-02 21:26:02 +09:00
Nicholas Bennett 31eae760c5 Docs: Update Using OpenSSL with Qt for Android Page
Changed details around the deprecated flag, and the updated inclusions
for the cmakelists file.

Fixes: QTBUG-114994
Pick-to: 6.5 6.6
Change-Id: Ie6e77907362d32a5d21c4bde844d9e68678c1aa8
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2023-08-02 09:02:09 +00:00
Andreas Eliasson 202bb17981 Doc: Replace \code with \qml for QML code snippet
Let's start off with proper QML color theme on the
'First Steps with QML' page.

Pick-to: 6.6 6.5 6.2 5.15
Change-Id: Idb37305ef2e58177bea25757a12057e1cf6f5077
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
2023-08-01 08:32:21 +00:00
Jøger Hansegård af709fd6c8 Fix typo in WASM platform doc
This fix changes the misspelled name 'Emcsripten' to the correctly
spelled 'Emscripten' in the WASM platform doc.

Change-Id: I062d499648aee98534f8d2cf0464fdfde972a798
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Mikołaj Boc <Mikolaj.Boc@qt.io>
2023-07-31 16:06:37 +02:00
Qt Submodule Update Bot 570f3c8c64 Update dependencies on 'dev' in qt/qtdoc
Change-Id: Id1b4b153342b0dd4625b397e5acad705ce04a382
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-07-29 01:59:36 +00:00
Friedemann Kleint 5462256d17 MediaPlayer demo: Create a loadable module
Establish a common file layout allowing
Python and C++ to use loadFromModule().

Add a manually created qmldir file for usage by Python and the qml tool
(note CMake will still generate its own).

Pick-to: 6.6
Task-number: PYSIDE-2206
Change-Id: Idf2564ed84bd6c95e76dacdfbc0a9691c64e5f15
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2023-07-28 10:49:16 +02:00
Qt Submodule Update Bot d86a00d24d Update dependencies on 'dev' in qt/qtdoc
Change-Id: Ic96449850525957d95e78d031045cc623ddce0bd
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-07-26 22:41:02 +00:00
Alexey Edelev 8de0f2836f Remove deprecated sync.profile
Task-number: QTBUG-112418
Change-Id: I997b9581268123f53a28ebee5239c80c73eaca00
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2023-07-26 12:35:36 +00:00
Jaishree Vyas bf31ac457b Doc: List of all Qt overviews which are now termed as explanation
The autogenerated list of overviews was adding the \group command which
included all the groups instead of overviews.
The idea here is to categorize the overviews later on once we have
the list of all overviews.

Task-number: QTBUG-114762
Pick-to: 6.5 6.6
Change-Id: I7dd312258c27662354a7b0f59f947ca82317f53f
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
2023-07-19 07:26:33 +02:00
Jaishree Vyas 346b55b09c Doc: Remove \ingroup all-examples command from the docs
Fixes: QTBUG-115044
Pick-to: 6.5 6.6
Change-Id: Id85b8f94c68e1524a8b930e6164926066a0d6a0e
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
2023-07-18 15:46:45 +02:00
Eike Ziller 89b8058f3d Fix URL for ARM Qt Creator repository
Pick-to: 6.6 6.5 6.4
Change-Id: Id95ead101a597500ba4e1ea9531389f2d1f9e57f
Reviewed-by: Simo Fält <simo.falt@qt.io>
2023-07-17 14:14:02 +00:00
Jonas Karlsson 41625c4721 Dice example: remove workaround
The bug is fixed but the workaround was actually not needed to begin
with since the bug only affects nodes with a position and a parent with
scale which is not the case here.

Pick-to: 6.5 6.6
Change-Id: I99766586d2671b3286085d54c7cf8cca7e0f9b7b
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
2023-07-17 12:09:56 +00:00
Kai Köhne a57fb42070 Fix build of FX Material Showroom example on Windows
* Shorten the file names for *plugin.cpp by specifying
  a CLASS_NAME.
* Add sources from Qt Design Studio components instead
  of cloning from qtquickdesigner-components.git. This
  avoids issues with the very deep directory structure
  of above repository.

While at it, move also the MaterialBundle plugin from
asset_imports to just imports.

Task-number: QTBUG-115108
Pick-to: 6.5 6.6
Change-Id: I63d5fde474fbda93cfabec20e2349854755cc4cb
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-07-17 13:23:02 +02:00
Vladimir Minenko 091ce579db Add a new section about modules which leave the TP status
This section should list such modules or it can be empty if there are
relevant changes in that release

Pick-to: 6.6
Change-Id: Ia9e4115e63ff41c7fc84732762a15df06022daee
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
2023-07-11 12:57:41 +00:00
Kai Köhne 8ebd4be2bf Doc: Update list of example categories
Adapt & extend the list of example categories to give almost all
examples a 'natural home'. This will require adapations in other
repositories ...

Pick-to: 6.5 6.6
Change-Id: I5e3ed1298167fade92f357a484e5a5e0974c10d7
Reviewed-by: Tuukka Turunen <tuukka.turunen@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2023-07-11 11:57:25 +02:00
Volker Hilsheimer 34926345dd Whats New Qt 6.6: QUti/WindowsMimeConverters
Pick-to: 6.6
Change-Id: I03234ea5758b8f5ccc26a9d0a4b1508a6bfad42a
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
Reviewed-by: Safiyyah Moosa <safiyyah.moosa@qt.io>
2023-07-11 11:25:28 +02:00
Qt Submodule Update Bot 86fe5ab907 Update dependencies on 'dev' in qt/qtdoc
Change-Id: I3fd9af5158c8c297b73fa3fc1cbb4041e931949f
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-07-07 11:01:11 +00:00
Tarja Sundqvist f17b563ed3 Update changes in third party modules
Some third party modules got updated:
- libtiff
- public suffix list
- libpng

Change-Id: I21a4de814c29a60aaa01b30954571712bbaf00bf
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
(cherry picked from commit 82f4ffa62b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-07-07 08:59:42 +00:00
Alexandru Croitor 32c9e3f6f0 CMake: Make qtdoc tests standalone projects
Add the boilerplate standalone test prelude to each test, so that they
can be opened with an IDE without the qt-cmake-standalone-test script,
but directly with qt-cmake or cmake.

Boilerplate was added using the following scripts:
https://git.qt.io/alcroito/cmake_refactor

Manual adjustments were made where the code was inserted in the wrong
location.

Task-number: QTBUG-93020
Change-Id: I7365aaefb8c6325c39219b2e359367602b3d47d7
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
2023-07-05 17:47:31 +02:00
Andy Nichols d5b758a0de Add what's new for QtQuick3D 6.6
Pick-to: 6.6
Change-Id: I9a28acb63ffb69333e684f3790a301658ee72747
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
2023-07-05 15:04:00 +02:00
Friedemann Kleint de79604a91 DocumentViewer demo: Remove code making the JSON model editable
It is a viewer after all, with no save functionality.

Pick-to: 6.6
Change-Id: I9a6f2c2809719abe33238b23a30cc9a06dc43c19
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2023-07-05 11:57:26 +02:00
Friedemann Kleint 5e62422bcc DocumentViewer demo: Small polish of the PDF plugin
Apply a few fixes that were already done for the other plugins.

Pick-to: 6.6
Change-Id: I3b94547023f77952a670cb7c0385b15e7ddd03ce
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2023-07-05 09:06:18 +02:00
Friedemann Kleint 843367eac0 DocumentViewer demo: Fix warnings about closed QIODevice when paging PDF
Apparently, QPdfViewer needs an open file.

Pick-to: 6.6
Change-Id: I891f6eeb5a96344bdfce483e77c67b80b1666676
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2023-07-05 09:06:14 +02:00
Friedemann Kleint 09cb56314c DocumentViewer demo: Actually build the PDF plugin
Pick-to: 6.6
Change-Id: I29f7dacd1c57d87505894e54918c5d2f53626378
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2023-07-05 09:06:11 +02:00
Shawn Rutledge 3aec6b1fd9 doc: Discourage use of widgets for touch input
https://doc.qt.io/qt-6/all-examples.html was rather misleading:
"Touch Input Examples: Using Qt's touch input capability"
did not mention Qt Quick at all, and gave the impression that these
examples would be the starting point if you want to develop applications
for a touchscreen. It hasn't been true for more than a decade.

Pick-to: 6.6
Change-Id: If7f198fcd411543448add86860eb32297045f966
Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
2023-07-04 20:52:05 +02:00
Allan Sandfeld Jensen bf3ec4cddb Add what's new for Qt WebEngine 6.6
Pick-to: 6.6
Change-Id: I8d72e46153eb2cc069180e9bd6f63cb0d54a9f4c
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
2023-07-04 16:55:14 +02:00
Friedemann Kleint 17e7109f01 Examples: Use consistent organization names and settings paths
Set the organization name to "QtProject".
Set an application name to Hangman to be used by QSettings.
Remove unused QSettings instance from Thermostat.
Let QSettings in Document Viewer use defaults.

Pick-to: 6.6
Change-Id: I8ebaeb444cd18bab95424f0efea670b02d41e657
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
2023-07-04 13:43:26 +00:00
Fabian Kosmale 810164b1c2 Add QtQML section to whatsnew66
Change-Id: I7153480218ab115e75cedf40e188d697eb32dc30
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2023-07-04 11:29:52 +02:00
Mitch Curtis 65163c8fa2 Doc: add new features for Controls in 6.6
Pick-to: 6.6
Change-Id: Ia795a3831b229ecbab5908dcb3f9b8bf7e69fb60
Reviewed-by: Matthias Rauter <matthias.rauter@qt.io>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
2023-07-04 15:58:33 +08:00
Qt Submodule Update Bot efc98499d5 Update dependencies on 'dev' in qt/qtdoc
Change-Id: I738a421387e699dbfb6c7074c0a7d330ddd8f9d6
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-07-04 05:45:51 +00:00