| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Minor gain in debug builds and when stepping.
Change-Id: I2540d309661e4babfd7331b068c17657ded2a098
Reviewed-by: David Schulz <david.schulz@qt.io>
|
| |
|
|
|
| |
Change-Id: I817b17259f3057ccbf9ba65f34e1977ddc5680fc
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
|
| |
|
|
|
| |
Change-Id: I56fabbfe32ab579ef5e9f7c8cc5fde220b99769a
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Result is a std::expected, so Result::value() throws. We don't use or
handle exceptions and always explicitly check before accessing, so this
is not useful, and static analyzers complain.
Use the non-checking and non-throwing operator* and operator-> instead.
Change-Id: I03cc9a97fa9f04da557837c2a5076828dcb7d0e0
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The 'auto' trick was only needed for the Qt 5 -> Qt 6 transition,
and it's unlikely that we will need it again.
There's still quite some variety in implementation patterns,
especially when it comes to Qt namespace and seed handling.
Change-Id: I4eaadccc0f3172be793007652f35b1755cf3600e
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
|
| |
|
|
|
| |
Change-Id: Ifb6129d05bb3c5be8e0572ea90222e6aec6a057d
Reviewed-by: hjk <hjk@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
FilePathification went a bit too far there: The result here can
only be used in connection to another "anchor" path, and almost
all users immediately converted it to a string, one way or the other.
So paddle back, and adjust callers.
For the few places that wanted to use the native separators in the
result, provide FilePath::relativeNativePathFromDir() as the OS cannot be
determined from the string alone.
Api: Utils::FilePath::relativePathFromDir() returns now QString
instead of Utils::FilePath
Change-Id: Ide9683989930f960fa19f8e778036abde6801e89
Reviewed-by: David Schulz <david.schulz@qt.io>
|
| |
|
|
|
|
|
| |
... and add them in code where necessary instead.
Change-Id: I2e6a2a0318bad055766f3d6c92ae0ffe08cb138a
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
|
| |
|
|
|
|
|
|
| |
The macro already contain a ';'. Removing the argument or
[[maybe_unused]] would maybe even a better approach.
Change-Id: I31750d10a4f252c667e7c0e5e13bf1085dbe11a2
Reviewed-by: hjk <hjk@qt.io>
|
| |
|
|
|
|
|
| |
Also update qmltypes file.
Change-Id: Iadd7c7e55ae3fd38302eb2a1c09e19a281b94cb3
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
toString() is almost always the wrong conversion, but unfortunately
too easy to find and often even working at least for local setup.
This here raises the bar as the non-availability of the "obvious"
toString() hopefully helps people to think about the semantics of
the needed conversion and choose the right toXXX() function.
The chosen new name is intentional ugly to reduce the likelihood
that this (still almost always wrong) function is used out of
convenience.
Change-Id: I57f1618dd95ef2629d7d978688d130275e096c0f
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
|
| |
|
|
|
|
|
| |
"warning: ‘int QMouseEvent::x() const’ is deprecated: Use position()"
Change-Id: Icb61991c68d7a596ed01a6b7a5c592348055a774
Reviewed-by: hjk <hjk@qt.io>
|
| |
|
|
|
|
|
|
| |
Those will be interpreted relative to the importing product in the
future.
Change-Id: I57f6159053acf1e0334d3289de1f93545e2e871b
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
if QT_DEPRECATED_SINCE(6, 0)
QT_DEPRECATED_VERSION_X_6_0("Use position().toPoint()")
inline QPoint pos() const { return position().toPoint(); }
...
Change-Id: If885b26c8e5f4d68ca1c5c7e4ffc495b0701b210
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
|
| |
|
|
|
|
| |
Change-Id: I850bff960601595d3273f3a8dedd3f7e6830e9ba
Reviewed-by: Jochen Becher <jochen_becher@gmx.de>
Reviewed-by: hjk <hjk@qt.io>
|
| |
|
|
|
| |
Change-Id: I985419bbb213aba899c83efb49b376e0f3338bd5
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
|
| |
|
|
|
| |
Change-Id: Ib1030959ae5eea763d3b93684b68ae6ae927839b
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
|
| |
|
|
|
|
|
|
|
| |
More replacements of QString with Utils::FilePath and removal of
QFileInfo and QDir will follow.
Change-Id: Iceec1c009c562bd9a05f9ab1d1a9f83ad48a4467
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
|
| |
|
|
|
|
|
|
| |
Change-Id: I53f9ec87030c4ac41ff34f61a54dd10a866b8c33
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Jochen Becher <jochen_becher@gmx.de>
|
| |
|
|
|
|
|
| |
Change-Id: I03925b708ac1741f6342023b455b0280a8bce584
Reviewed-by: Jochen Becher <jochen_becher@gmx.de>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
|
| |
|
|
|
|
| |
Change-Id: Iacb3e2bb9006d306852f18b50bbec322abb5acdf
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
|
| |
|
|
|
|
| |
Change-Id: I199e2c4402519479cb098ae2c6665cd7f0ea12a1
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
|
| |\
| |
| |
| | |
Change-Id: I0892d8e54930bb5a65dc51117b8ca7d70ce300a3
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Same fix as in commit 22f41fb751cd5b1b136e0c7fa15d8e3163bc912e
but in a different method.
Fixes: QTCREATORBUG-30413
Change-Id: I69790707005edc26c7d3e943d86db132184298e9
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
A new button in the top bar opens a filter for the model tree which
allows quick search for model elements
Change-Id: Ibfe229890cb79e64fdbbe62f74681add102b5ccf
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Adding missed integration of one change for linked files.
Change-Id: Ie3c98ef8ab013c67fe8d1b12ae9ac5d7f4556161
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
|
| | |
| |
| |
| |
| |
| | |
Change-Id: Iae832885278472bb42a588fc97967ae5ffad6b71
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
|
| | |
| |
| |
| |
| |
| | |
Change-Id: I1a5f8b19a4890e0bcbd5a2cf70fdee2cadf62a98
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
|
| |/
|
|
|
|
| |
Change-Id: I56af6a367c144e22c8113f69a2938080ddb2e750
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
|
| |
|
|
|
|
| |
Fixes: QTCREATORBUG-30413
Change-Id: Ie637e20d6308da2e1afcf3ff710f29c6a1695d58
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
Instead, iterate directly over the container.
Notably, sorting the result of keys() didn't play any
significant role in this contexts.
Change-Id: Iba82f3d503143ff0036509d0bf08c87747aeb40c
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
|
| |
|
|
|
|
|
|
| |
Make it static.
Change-Id: I05786425ade0d942b0e83349dc959a5dce72813e
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
|
| |
|
|
|
| |
Change-Id: Id947c0935b1aa4579e1c64d3e510db41103fbe27
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
| |
|
|
|
|
|
| |
Clang16 in C++20 mode.
Change-Id: I87801e362a3ba6e38cfebd319a7aee2ed4e45568
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
| |
|
|
|
|
|
| |
Change-Id: I36633128e061d0544e4752a65804b460371283f7
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
|
| |
|
|
|
|
| |
Change-Id: I4c84f264045797c70ec3022e3705f63341a1e7d9
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
| |
|
|
|
|
|
| |
lupdate would be confused by translation contexts starting with ::
Change-Id: Ie95e73436fd3cafc80a8e89f908efadc747e644c
Reviewed-by: hjk <hjk@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Following orphaned contexts are merged into ::qmt
qmt::ClassItem
qmt::DiagramController
qmt::DiagramSceneController
qmt::DocumentController
qmt::Exception
qmt::FileCreationException
qmt::FileNotFoundException
qmt::FileReadError
qmt::FileWriteError
qmt::IllegalXmlFile
qmt::ModelController
qmt::ModelTreeView
qmt::NullPointerException
qmt::ObjectItem
qmt::ProjectController
qmt::PropertiesView::MView
qmt::TreeModel
qmt::UnknownFileVersion
qmt::V
Change-Id: Iaf98c2bfc654452d44f6bed155be6ddfe7556b19
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
|
| |
|
|
|
| |
Change-Id: I0631ad6fdc9f341a162d879e54ff09fbdb74398e
Reviewed-by: hjk <hjk@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
GPL-3.0 is deprecated by SPDX.
Change done by
find . -type f -exec perl -pi -e 's/LicenseRef-Qt-Commercial OR GPL-3.0(?!-)/LicenseRef-Qt-Commercial OR GPL-3.0-only/g' {} \;
Change-Id: If316a498e3f27d2030b86d4e7743b3237ce09939
Reviewed-by: Lucie Gerard <lucie.gerard@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since we also license under GPL-3.0 WITH Qt-GPL-exception-1.0,
this applies only to a hypothetical newer version of GPL, that doesn't
exist yet. If such a version emerges, we can still decide to relicense...
While at it, replace (deprecated) GPL-3.0 with more explicit GPL-3.0-only
Change was done by running
find . -type f -exec perl -pi -e "s/LicenseRef-Qt-Commercial OR GPL-3.0\+ OR GPL-3.0 WITH Qt-GPL-exception-1.0/LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0/g" {} \;
Change-Id: I5097e6ce8d10233993ee30d7e25120e2659eb10b
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Since we do not support Qt < 5.15 anymore, and as a first step
for getting rid of our special FindQt5.cmake.
Change-Id: Icc5dbaf9b0a3a622b1f609ff114b9decb6d2856c
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
|
| |
|
|
|
| |
Change-Id: Ia898cc019a0534a97d20a3dc48e69c6617773766
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
| |
|
|
|
|
|
| |
Change-Id: Ib185d0dbe7df2e5452502278d9a2c3151cf9812e
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
|
| |
|
|
|
|
|
| |
Change-Id: I19078a791afa1c74cd34e59b033525e029755d7e
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
|
| |
|
|
|
|
| |
Change-Id: I3e51c9477b6995ec06b119fb4518a53aa1d71ec9
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
|
| |
|
|
|
|
|
|
|
| |
For simpler calling code.
Change-Id: Ia0a16a28770fd172f74d06a626148248bf5d3c0c
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
We've been requiring C++17 since Qt 6.0, and our qAsConst use finally
starts to bother us (QTBUG-99313), so time to port away from it
now.
Since qAsConst has exactly the same semantics as std::as_const (down
to rvalue treatment, constexpr'ness and noexcept'ness), there's really
nothing more to it than a global search-and-replace.
Task-number: QTBUG-99313
Change-Id: I88edd91395849574436299b8badda21bb93bea39
Reviewed-by: hjk <hjk@qt.io>
|
| |
|
|
|
| |
Change-Id: Ic89f2a9598faadbda964f71dbe84bfd5400aec4f
Reviewed-by: hjk <hjk@qt.io>
|
| |
|
|
|
|
| |
Change-Id: I972a7fe0842a0310ba5df1233a4f417627dad87c
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
|