11. Replace local lambda with static method, otherwise getting:
"qarraydatapointer.h:110:17: error: pointer may be used after
‘void free(void*)’" on rhel-9.2-gcc12.
12. Use std::optional::reset() instead of "= {}", otherwise getting:
"error: use of overloaded operator '=' is ambiguous
(with operand types 'std::optional' and 'void')" on vxworks-imx6.
Amends 88ee3aa908
Amends 6621c68ca9
Change-Id: Ie1631e119cb89d23a6acb3b4c39199e6ebaf1ea1
Reviewed-by: hjk <hjk@qt.io>
Make issue counts clickable and directly jump to
the respective issue kind.
This approach mimics original dashboard view more
closer and avoids confusion on the user side when
trying to find the issue table.
Change-Id: Ic23368ea6d881b46950ef41c28d4cbf737163cf2
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This reverts commit 831b93905b.
Reason for revert: breaks Android and it looks like magic. For CMake one
should use a toolchain file. But this revert keeps the CMAKE_C|
XX_FLAGS_INIT parameters update / merging.
Change-Id: I1c3c61e4a9345a29e72db7f5f5a2d6e3fdba52f1
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
It's a check button, so it should behave like one, i.e. its current
state should be considered when adding new diagnostics, and it should be
enabled regardless of whether any diagnostics are currently visible.
Change-Id: I0e21ad5fdc5cd6a20fda7b40ea7eecd454d1e11f
Reviewed-by: David Schulz <david.schulz@qt.io>
- 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>
FilePath operations are relative expensive on Windows compared to the
cost of a string comparison, so always first check the file name before
checking any file meta data.
Change-Id: Ibb4c13d7e11e0c01bdf3706a62362f4c0a27d284
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
... when there is more than one engine.
Mildly-related-to: QTCREATORBUG-30355
Change-Id: Idaf41b97f51c384ccf6a437d9c9c8dec922affc6
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: hjk <hjk@qt.io>
Otherwise permanently unreachable devices will keep causing annoying
delays after every restart.
Change-Id: I85c6fd0a6964c7f25e4b61b8eb092fc606b146ad
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Adds a simple lua file wizard, and a lua plugin wizard.
Change-Id: I0ea08cdc5eabe7396cb49abd265fce16f5960416
Reviewed-by: David Schulz <david.schulz@qt.io>
Which fails to extract with (older?) p7zip from Linux distributions,
which is used for building online repositories.
Change-Id: Ia9032293841cf192b9b2e0ff820ca4a8b7f47763
Reviewed-by: Patrik Teivonen <patrik.teivonen@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
Let each aspect have a macro expander, and let aspect-owned lineedits
use this for expansion.
Change-Id: Ifa6f5a678cf81c169643e4145f41e69eafedeb93
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
agent.js was renamed to language-server.js. This patch changes the installation note
but requires a change to the translation files.
Change-Id: I02f825260c5a7a3c53fa938c2e074216210493eb
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Since the client lives longer than the lua context, its destruction would
also cleanup the custom handlers which had captured the lua function.
Calling anything as well as the destructor of a sol object after the lua
context is gone results in a crash, so make sure that we don't keep it
around any longer.
A better solution in the long term would be to allow custom handlers to
be unregistered in the Language Client.
Change-Id: I59ac39d9279dc5faf24d3fd3b29e8c7c00e2b48e
Reviewed-by: David Schulz <david.schulz@qt.io>
... and make use of that when renaming.
Fixes: QTCREATORBUG-30846
Change-Id: Id06a6df5db13325d17dcd69270604e754d7dee2a
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
And layouts, and empty label texts.
Task-number: QTCREATORBUG-31024
Change-Id: I8435327ddd75d0a218d2a50efe900a7d5ec6490f
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
6. Drop #pragma once header guides.
7. Remove trailing semicolons after Q_ENUM_NS.
8. Use QT_CONFIG(process) for QProcessTask.
9. Update copyright headers.
10. Enclose all classes into Qt namespace.
Amends 6621c68ca9
Change-Id: I42df9a04b029a65d025699eb02fd9f3d1c1a333a
Reviewed-by: hjk <hjk@qt.io>
If there was no exact match of the compiler executable in the JSON
database with one of our toolchains, we used to use a random toolchain
that was of the same basic type as the compiler given in the JSON file,
with no regards to target ABI etc.
Instead, we now use the kit toolchain in that case if it has a matching
type, as that one is assumed to be the user's preference.
Fixes: QTCREATORBUG-31001
Change-Id: I2c69a7fb328a034fdf097d306f9673a245bf4772
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit disables syntax checks for the .clang-format file,
enabling its use even if it contains errors.
Removed pop-up shown when save .clang-format file with
errors but left warning when editing it in Code Style Tab.
Fixes: QTCREATORBUG-30087
Change-Id: I37a0b1e9d602fcbe4fbbc27f7ab190bcd5c1a1fd
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Only noticeable with network issues.
Broke with 903d01b934.
Change-Id: I85e35c951b4c28b9201362ed17d4dae529ccb041
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
I believe this code path can be taken due to connection sharing.
Fixes: QTCREATORBUG-30828
Change-Id: I64a6142574719b85215379e304989f36b6bf46da
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>