The operator is not static otherwise it would be
just an unused function.
Change-Id: I01b8764adfdf8908d07362357211d64b55ea941e
Reviewed-by: hjk <hjk@qt.io>
We missed the case where only the enabled/disabled status was different.
Change-Id: Ic23e15f6843015feff2242cb67444dfa17cc5f2d
Reviewed-by: hjk <hjk@qt.io>
... when comparing type names. For instance, this is relevant when
deciding whether to offer the "Apply signature changes" refactoring
action.
Add fallback code for function lookups, which was relying on the relaxed
semantics for parameter types.
Fixes: QTCREATORBUG-9856
Change-Id: I2001b77034ff15e96a23e3359d19654d0f43f60b
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Sometimes the file is modified after adding it, either by Qt Creator itself
or by the user.
Running Diff on such a file may look strange. Instead of showing the entire
file, it shows the diff since it was added with its initial content.
Fixes: QTCREATORBUG-23441
Change-Id: I712cc574053f39753250685aec148d2b6d7db192
Reviewed-by: André Hartmann <aha_1980@gmx.de>
It looks very much as though the original author simply forgot to add
that return statement.
Fixes: QTCREATORBUG-23881
Change-Id: Ie93d2451bf1b491d01137285f983d657133c81c3
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Single chunks exceeding the limit were truncated and then shown
in a single line, potentially resulting in only a few chars if there
was a newline close to the cut-off point.
Now, don't restrict to a single line in that csae.
Additionally elide in the middle, assuming this is a better compromise
than truncating at either end.
Also, make the truncation more obvious, and mention the amount of
elided characters.
Change-Id: I850e2833e7f1f8be0f584d8e4439dd1a64f851d0
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
The youtube video demonstrates how
to develop your first app on NXP
i.MX RT1050 device.
Change-Id: Ie706a6ff6a5395816a5ec9daef13c0baad1daf2d
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
We did not notice because the JS array was auto-converted into a string.
Amends bcc2b5e08d.
Change-Id: I06ee43f78cb3081bdff0a02f8d446326a01bc2d1
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This now requires license templates file to be Unicode compatible,
effectively restricting it to plain ASCII in non-Unicode codebases.
Task-number: QTCREATORBUG-24098
Change-Id: I713fed1ddb288360abbdbb40c6ca67444eb62ef3
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
On Linux and macOS, clazy-standalone links against some dynamic
libraries which we need to ship.
Fixes: QTCREATORBUG-24344
Change-Id: I4946d2ae22fc9363445e6a3eecb8d9e40be5ef0e
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Having no namespace when inserting generated functions may insert
explicitly at the end of a header which is not always desired as we
need to take care of e.g. header guards as well.
Change-Id: I3b154ae936a96f2f8e7e34cda6b5bcdfcbc83faf
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
... by setEasingCurve().
Deprecation for 5.15.1/removal in 6 is looming.
Task-number: QTCREATORBUG-24098
Change-Id: Ic116cf78b8468f03f6b01e0b7af56584289589cc
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Rename QHashSeedType to QHashValueType and use it also for return
values.
Use qHashMulti directly instead of continuing using temporary QPairs.
Avoids ugly namespace tricks to find the new pair overloads, and is
actually clearer.
Classes used in signals cannot be forward-declared. ...
Change-Id: I22450a0c642437a43f876e8e89cc8788fff3db61
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
... between semantic re-highlighting and document visibility update.
Make semanticRehighlight() a no-op if the document is not currently
visible, and call it explicitly on an editor change.
Fixes: QTCREATORBUG-24290
Change-Id: Ife61f61d3fb82e8b283bf93ab77d16517f6c6f9c
Reviewed-by: David Schulz <david.schulz@qt.io>
This interferes with the general theming of the output pane
and the purpose is no more obvious.
This patch fixes using a wrong scrollbar style on the
QML Debugger Console.
Change-Id: I4dfeecb77746b345f35809dd5e1bcb27a0fcd604
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
Reviewed-by: hjk <hjk@qt.io>
We may add items that have sub-items already, so apply
the expansion to them as well if necessary.
Change-Id: Ibff4433c5a7c0a110461e46998cd39864f4ec929
Reviewed-by: David Schulz <david.schulz@qt.io>
This triggered a soft assert in DebuggerEngine::showMessage()
and cleaning up the status bar is not necessary at all.
Change-Id: I12d3d5cbc79f178af58ecb0a5c7a3130c880bdad
Reviewed-by: hjk <hjk@qt.io>
A plain string like "Android Device Desktop" is hard to parse,
especially when there's unfortunate line wrapping.
Use a proper list.
Fixes: QTCREATORBUG-24288
Change-Id: I560ef5e14f0775ab233b1258b04a1c39414be51c
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
std::optional is C++17, so the build with master as of commit
6a811936d8 on Debian testing
(amd64, GCC 9) previously failed as follows:
[ 86%] Building CXX object src/tools/sdktool/CMakeFiles/sdktool.dir/sdktool_autogen/mocs_compilation.cpp.o
cc1plus: warning: <<SRCDIR>>/src/libs/3rdparty/syntax-highlighting/CMakeFiles/QtCreatorPchConsole.dir/cmake_pch.hxx.gch: not used because `__cpp_nontype_template_parameter_auto' not defined [-Winvalid-pch]
In file included from <<SRCDIR>>/src/libs/utils/environment.h:32,
from <<SRCDIR>>/src/libs/utils/qtcprocess.h:28,
from <<SRCDIR>>/src/tools/sdktool/sdktool_autogen/YAZZEVSBVD/moc_qtcprocess.cpp:10,
from <<SRCDIR>>/src/tools/sdktool/sdktool_autogen/mocs_compilation.cpp:2:
<<SRCDIR>>/src/libs/utils/optional.h:44:12: error: ‘std::optional’ has not been declared
44 | using std::optional;
| ^~~~~~~~
<<SRCDIR>>/src/libs/utils/optional.h:45:12: error: ‘std::nullopt’ has not been declared
45 | using std::nullopt;
| ^~~~~~~
<<SRCDIR>>/src/libs/utils/optional.h:46:12: error: ‘std::nullopt_t’ has not been declared
46 | using std::nullopt_t;
| ^~~~~~~~~
<<SRCDIR>>/src/libs/utils/optional.h:47:12: error: ‘std::in_place’ has not been declared
47 | using std::in_place;
| ^~~~~~~~
<<SRCDIR>>/src/libs/utils/optional.h:51:11: error: ‘optional’ does not name a type
51 | constexpr optional<std::decay_t<T>> make_optional(T &&v)
| ^~~~~~~~
<<SRCDIR>>/src/libs/utils/optional.h:57:1: error: ‘optional’ does not name a type
57 | optional<T> make_optional(Args &&... args)
| ^~~~~~~~
<<SRCDIR>>/src/libs/utils/optional.h:63:11: error: ‘optional’ does not name a type
63 | constexpr optional<T> make_optional(std::initializer_list<Up> il, Args &&... args)
| ^~~~~~~~
In file included from <<SRCDIR>>/src/libs/utils/qtcprocess.h:28,
from <<SRCDIR>>/src/tools/sdktool/sdktool_autogen/YAZZEVSBVD/moc_qtcprocess.cpp:10,
from <<SRCDIR>>/src/tools/sdktool/sdktool_autogen/mocs_compilation.cpp:2:
<<SRCDIR>>/src/libs/utils/environment.h:100:12: error: ‘optional’ does not name a type
100 | static optional<EnvironmentProvider> provider(const QByteArray &id);
| ^~~~~~~~
make[2]: *** [src/tools/sdktool/CMakeFiles/sdktool.dir/build.make:65: src/tools/sdktool/CMakeFiles/sdktool.dir/sdktool_autogen/mocs_compilation.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:14801: src/tools/sdktool/CMakeFiles/sdktool.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
Change-Id: Icf33f04147ebf22db803be480f9be052508adec6
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This shall be used for layer names
Task-number: QDS-1556
Change-Id: I3ffce208d830f291de48105ec9cf92e76692f8bd
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>