| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adapt the troll print example
[ChangeLog][lupdate][Important Behavior Changes] Removed the
number heuristics feature. Users are advised to avoid hard-coded
numbers in translatable strings and use QString::arg instead.
Task-number: QTBUG-115962
Change-Id: I64e920e7b6496924f2c1ee6d07bea6e73964177a
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
(cherry picked from commit cda38d3d08e689deab506a11ed8c54a04d3f40d4)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit de619b5eec88a677e51d206fb32b5eb47a018108)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
To avoid git complaining about untracked files,
default ts file created by cmake are added.
They still have to be updated like explained
in the examples documentation.
Task-number: QTBUG-115686
Change-Id: I8b57c4c7e6920e1dcaed8dba7dda4f7088fa604b
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
(cherry picked from commit 3f16bd02ae50561a6965dae6efec3878801f5e0e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 9d201a41af62a9559fa242846c60b4d5e11faa03)
|
|
|
|
|
|
|
|
|
|
| |
This example is not expected to work on Android.
Task-number: QTBUG-106380
Change-Id: I09ab5340b0cca0554ef14acb1852befcaae7990d
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
(cherry picked from commit a6a2e897092352a3be526cb22410a332573e990c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 0a91ac627e84634993fc579d428e4bbc3d0b283a.
The example documentation does not match the flow introduced
by this change. The example explicitly talks about "No error
will occur if the file is not found.", and "If hellotr_la.qm
was found and contains a translation for "Hello world!", the
translation appears; if not, the source text appears."
Q_UNUSED added to satisfy nodiscard attribute.
Change-Id: I8e4cb6ed3fb81f7739aacd734f3107a8ec6899a1
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
(cherry picked from commit d8026c6defb5764eb1ee2649cd530b8f0e708675)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
| |
Change-Id: Id738952b6515449ec0c5f7d66e8c89352333d7ad
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
(cherry picked from commit e0a944ff626d0ad210408302355228b2bd46c088)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The '\meta category' command was used for tagging examples with a
specific category, used in Qt Creators Welcome mode.
As we want to also generate lists of examples belonging to a category
elsewhere in the documentation, replace the command with a macro that
expands to the original \meta command and also adds the example to
a group using the \ingroup command. This way, the category names can
be used as arguments to the \generatelist or \annotatedlist commands.
Task-number: QTBUG-112731
Change-Id: I28dfd6d5540dfe540bab942f9e9a93e9c239e206
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
(cherry picked from commit a3379894bba777d4dcc8dd6ced5149533bb127ed)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
| |
Fixes: QTBUG-112373
Change-Id: Ia2764196c5dd3f9e001f0585279862efbafa91b1
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
(cherry picked from commit ec9dacb2e1c26caa4ae146e6ca30187a1f0e24fa)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The main goal is to show the qmake vs. CMake workflows side-by-side, for
easier comparison. Previously, the entire CMake workflow was inserted
into the middle of the qmake workflow.
Other changes:
* Updated the console snippets to work with all CMake generators, not
just Makefiles.
* Removed a suggestion to manually craft a Makefile.
* Fixed a typo.
Change-Id: I3c5f3a56957160eddff2f0d6034e37c886966e62
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
(cherry picked from commit e055120820bf3a18387599d2d4e19939255d2a81)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* autoexec.bat no longer exists by default since Win XP.
* Windows no longer uses the LANG variable for setting display language.
* Passing an arbitrary file (that's not a *.pro file) to lupdate
requires the deprecated -pro option. Let's not mention it.
Change-Id: I7ad3dfc5031e2ea6db33ed88e12b41fd1bb8080a
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
(cherry picked from commit 729bc77d5880b81637def9e7bb2645022881d8ab)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
| |
The group got renamed to cmake-commands-qtlinguisttools in commit
5566a6d923.
Pick-to: 6.2 6.4
Change-Id: I85f6416cbb7b41650f9eaf38aa274eacb05cf884
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move i18n example out of qtbase, into qttools. Improve by
- removing hard-coded .qm files and .qrc file. Instead, use
CMake / qmake API.
- Add target language in .ts files
- Make file names match the locale (no->nb, jp->ja)
- Using QLocale::uiLanguages() instead of QLocale::system.name()
Change-Id: Ie7d496f38dd13078afab76eca3f7cff13ca27b68
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
|
|
|
|
|
|
| |
Task-number: QTBUG-105718
Change-Id: I2df3a8aec11f30f301e3143e9960156b6f45e614
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
CMakeLists.txt and .cmake files of significant size
(more than 2 lines according to our check in tst_license.pl)
now have the copyright and license header.
Existing copyright statements remain intact
Task-number: QTBUG-88621
Change-Id: I41a2c9aa6a933a4e3dda5d5b4c70c461912907b2
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Replace the current license disclaimer in files by
a SPDX-License-Identifier.
Files that have to be modified by hand are modified.
License files are organized under LICENSES directory.
Task-number: QTBUG-67283
Change-Id: I5335388c0472b0ee554234fc7eca60769e504660
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
| |
Task-number: QTBUG-101408
Change-Id: If6f25418bf3af66ad9bde2dba8bf529b8d202f83
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Remove # generated from xyz.pro comment from pro2cmake
- Remove "# special case" markers for pro2cmake
- Remove automatic use of CMAKE_AUTORCC
- Only opt into CMAKE_AUTOUIC if .ui files are involved
- Remove explicit setting of CMAKE_INCLUDE_CURRENT_DIR,
when unnecessary
- Combine multiple find_package(Qt6 ... calls)
- use REQUIRED COMPONENTS
- sort components alphabetically
- Fix wrong indentations
- Use (only) one empty line after multi-line commands
Pick-to: 6.3
Change-Id: If8bf84b498189fa681cfe5128bc8566026dabec0
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
| |
Pick-to: 6.2 6.3
Task-number: QTBUG-90820
Change-Id: I5ad7541596d39cb089f9af03b8a194b968659910
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Also, extend the documentation of the arrowpad and hellotr examples to
cover the CMake commands used to produce translations.
Fixes: QTBUG-96162
Change-Id: Ib6d6adb32709c34eb0feb8befdf2d8e66a59ca53
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Lucie Gerard <lucie.gerard@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Needed for subsequent change that will check and error out if the
version is lower than 3.16. We do that to ensure all policies
introduced by CMake up to version 3.16 have their behavior set to
NEW.
Pick-to: 6.2
Task-number: QTBUG-95018
Change-Id: I1191a6b4b5c13b2b6047a0e2a2ff8c3801f6762b
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
|
|
|
|
|
|
|
| |
Adapt to qtbase/74515a7a30b809a3ab0a2d67496e870ea3c872e6.
Pick-to: 6.2
Change-Id: I089970f5e2a7f16ba470aaf4d9e7f1fc9c3e50fd
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
| |
As well as the MACOSX_BUNDLE properties as necessary.
Task-number: QTBUG-87664
Change-Id: I26917656f6f2b653649765ebbea4e3f348b22ae7
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
| |
Task-number: QTBUG-87661
Change-Id: I06af51591b79f9432d09b08595f8af021118a6dc
Reviewed-by: Daniel Smith <Daniel.Smith@qt.io>
|
|
|
|
|
|
|
| |
Examples should exhibit good practice.
Change-Id: Ib1ec9c85ca4202ef6d0b5884aea101c64913507f
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
|
|
|
|
| |
Change-Id: I11146959edbec6b4577fdd339d0fcb807f53c95b
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
| |
Updated BSD license.
Change-Id: Ie2521f94a2e8ed423f989e902e5eb88512814f71
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
|
|
|
|
|
|
|
| |
Updated FDL license.
Change-Id: I726ee109b17070d79e19c9edcdba7780aa54b1f1
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Qt copyrights are now in The Qt Company, so we could update the source
code headers accordingly. In the same go we should also fix the links to
point to qt.io.
Change-Id: I7f14f408e04c5c4f73a913fae153adcffbebe38f
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Jani Heikkinen <jani.heikkinen@theqtcompany.com>
|
|
|
|
|
|
|
| |
Change-Id: I9b11dc8309c9739955e3acea12b564d6ad608f59
Reviewed-by: Akseli Salovaara <akseli.salovaara@digia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
|
|
|
|
|
|
|
| |
it makes no sense whatsoever
Change-Id: Ida65c7fb02e53bd3d1ccb319bdbcbec4c836b871
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
|
|
|
|
|
|
|
|
| |
Use the \group and \ingroup commands to have qdoc
list the examples. Edit the \brief contents.
Change-Id: Iae0769bd1272b03d94b9287b9fddf78df27e1f12
Reviewed-by: David Schulz <david.schulz@digia.com>
|
|
|
|
|
| |
Change-Id: I11440d60a709cbe4617aa0953c7971a6d731b73b
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
|
|
|
|
|
|
| |
Change-Id: I713620c8c5cf55147b1c5732d745569916a8e264
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
|
|
|
|
|
| |
Change-Id: I749a522894ae30219d1579d1d78456c944912204
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
|
|
|
|
|
|
|
| |
Move qdoc files, images, and snippets.
Change-Id: I6ab84892dc56c23bfd056faa0713a572c814a1c2
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
|
|
|
|
|
|
|
|
| |
Move docs from qtdoc to qttools. Move examples and example docs
from qtbase to qttools. Fix references to snippets and examples.
Change-Id: Ib9f89bac416473dcfd8b4d06a05f8d07ff7c2fd0
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
|
|
|