aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add change log for 10.0.2v10.0.2Eike Ziller2023-06-131-0/+76
| | | | | Change-Id: I88edcb5e93f689b0a835e4952083a7b958b845c3 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* QmlDesigner: Fix puppet build after quick3d private API changesMiikka Heikkinen2023-06-122-4/+22
| | | | | | | | | Change-Id: I3668853886306fe00d5da916aa458559964a9af0 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> (cherry picked from commit 9817df63fb9eae342d5bf6f28f526aa09b17e8de) Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Update qbs submodule to HEAD of 2.0 branchChristian Kandeler2023-06-091-0/+0
| | | | | | Change-Id: I65d713ee07c4b7c74623b39cd77367e7eb72b623 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* ClangFormat: Fix that formatting was wrongly disabledEike Ziller2023-06-081-1/+1
| | | | | | | | | | | | | | | | | | | After starting Qt Creator with the Beautifier plugin, turning its automatic format on save option on, and restarting Qt Creator _without_ the Beautifier plugin, clang format was no longer formatting on save. The clang format based formatting is supposed to be disabled if - the Beautifier plugin is enabled, and - its automatic format on save option is enabled. Fix the check for the first condition, the plugin can be present but disabled, explicitly check if it is enabled. Change-Id: I5c9c270dd47ceec665aebca5b613f0c4a5357d72 Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* SquishTests: Update tst_opencreator_qbs for Python3Robert Löhning2023-06-081-2/+2
| | | | | | Change-Id: If0e03204c49e80eb2bfca6e0d14413aad9d790f4 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* ClangFormat: use fromUserInput to prevent assertsDavid Schulz2023-06-051-2/+2
| | | | | | | Change-Id: I9f33c8e8ef276d771d727a6678cf72e80e7d46d9 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* McuSupport: Update test dataSivert Krøvel2023-06-011-6/+52
| | | | | | | | Change-Id: I56a82274bd34ac9a34a785c43cc066ca6598fbaa Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Yasser Grimes <yasser.grimes@qt.io>
* ProjectExplorer: Consider the case of no active targetChristian Kandeler2023-05-311-1/+3
| | | | | | | | | | ... in BuildManager. Fixes: QTCREATORBUG-29207 Change-Id: Icbcdc957cd9105f7c4b9bc27fc9feb34dd547955 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Update qbs submodule to HEAD of 2.0 branchChristian Kandeler2023-05-311-0/+0
| | | | | | Change-Id: I962397da7fa19d4ba0948550a0cf35c9278637c8 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* Update qbs submodule to HEAD of 2.0 branchChristian Kandeler2023-05-261-0/+0
| | | | | Change-Id: I44c759f26b98da440cc75cce4b8da97d4b202054 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* CppEditor: Fix raw string highlighting with embedded empty linesChristian Kandeler2023-05-252-1/+2
| | | | | | | | | | | We missed an early return in highlightBlock(). Task-number: QTCREATORBUG-29200 Change-Id: I3f32c2948ff778a9b558850235058537fcd48fd1 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io>
* German translation: FossilEike Ziller2023-05-251-129/+131
| | | | | | Change-Id: Icc9ffe9f992619e5f4bd1a8689f11aa998f9c8ab Reviewed-by: Robert Löhning <robert.loehning@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* Fix crash when examples are in multiple categoriesEike Ziller2023-05-252-5/+42
| | | | | | | | | | | | | | | When items are added into multiple categories, we got into a double delete when cleaning up, e.g. when changing the shown examples to a different Qt version. Sort copies into categories and delete the originals as a quickfix. Cleaner would be if we didn't allocate them on the heap in the first place. Fixes: QTCREATORBUG-29197 Change-Id: I6490111aba87335b0f7189c4957ed1da8681806f Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Examples: Move categorization to examplesparserEike Ziller2023-05-254-52/+69
| | | | | | | | For easier testing. Change-Id: I11f9de3f4fbcc2c85c196f1b59b2147e73ea8209 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* CMakePM: Fix Qt detection for Presets with toolchain fileCristian Adam2023-05-241-5/+9
| | | | | | | | | | | | | When CMAKE_TOOLCHAIN_FILE and CMAKE_PREFIX_PATH were both set, the later was ignored. This resulted in Kits being created without Qt and without Qml Debugging. Task-number: QTCREATORBUG-28982 Change-Id: Ib45b4ac8335391f85a0b9c321196597d1c0a7a3f Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* CMakePM: Expand ${hostSystemName} for build presetsCristian Adam2023-05-241-0/+1
| | | | | | | Fixes: QTCREATORBUG-28935 Change-Id: Ie645d80a9743108e3760096b6829e881677e249b Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* QmlEditorWidgets: Fix color popup for Rectangle widgetAlessandro Portale2023-05-231-4/+9
| | | | | | | | | | | | The color buttons for background color and border color did not open the color picker popup. The buttons need to be set checkable, which broke while "inlining" .ui files. Amends: 200a66644ef3d02bfb9969f6e9010f35fbec62ae Fixes: QTCREATORBUG-29195 Change-Id: Icd71df1bcfad6472a90691d2c353f7039b52004e Reviewed-by: hjk <hjk@qt.io>
* CodeAssistant: do not schedule processor deletion too earlyDavid Schulz2023-05-231-14/+14
| | | | | | | | | Calling displayProposal might spawn another eventloop that potentially deletes the processor before the async proposal handler finished. Fixes: QTCREATORBUG-28989 Change-Id: I3a8ddb9180cb7737a37ea39dc59d922e83615ed6 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Update qbs submodule to HEAD of 2.0 branchChristian Kandeler2023-05-221-0/+0
| | | | | | Change-Id: I5e8f30c4eefbddd2660e5b68b8a13837c70cdfe4 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Doc: Hide text and links that only apply to Qt Creator ManualLeena Miettinen2023-05-171-0/+2
| | | | | | | ...from the QDS manual. Change-Id: I24be3b656922b1c10643f6ef274f1fa91c8330df Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
* German translation: CVSEike Ziller2023-05-161-80/+80
| | | | | | Change-Id: Iac295e700edf365b06b01bbb3a20c2f2f190a5ab Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Robert Löhning <robert.loehning@qt.io>
* SquishTests: Update tst_create_proj_wizardRobert Löhning2023-05-152-6/+13
| | | | | | Change-Id: Id17f5d1a68da7fe7c9f45dc5b62ab3fe1039f753 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* SquishTests: Make suite_tools Python3 compatibleRobert Löhning2023-05-152-8/+11
| | | | | | | | Except for tst_designer_edit which needs a bigger update. Change-Id: I8300a9491ec34b4d8deeed39f02fc59281cc20c9 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* SquishTests: Fix using invalid paste IDsRobert Löhning2023-05-151-3/+3
| | | | | Change-Id: Ibc48506ff1632cbfe8d662cd00ed057af7d16a6a Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* ClangFormat: Fix clangformat ignores configuration fileArtem Sokolovskii2023-05-153-8/+9
| | | | | | Fixes: QTCREATORBUG-29145 Change-Id: I6950151aaab9df51cfdd0af0ad9cf3c7b35c0636 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* German translation: VcsBaseEike Ziller2023-05-151-36/+36
| | | | | Change-Id: I7b9dc7a2e6868481ab900b56acce2a084b203bd9 Reviewed-by: Robert Löhning <robert.loehning@qt.io>
* Registryaccess: Fix defined but not used warningBjörn Schäpers2023-05-121-4/+5
| | | | | | | | | | | | | In file included from .../src/plugins/debugger/registerpostmortemaction.cpp:6: .../src/shared/registryaccess/registryaccess.h:26:21: warning: 'RegistryAccess::autoRegistryValueNameC' defined but not used [-Wunused-variable] 26 | static const WCHAR *autoRegistryValueNameC = L"Auto"; I don't think using static in a header is a nice thing, inline would work, but we have constexpr which implies inline. Change-Id: I7b872e65a554a9a9feb39845717c5dba7ba6777c Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Merge remote-tracking branch 'origin/9.0' into 10.0Eike Ziller2023-05-122-11/+4
|\ | | | | | | Change-Id: I4264592dbf3a8bf105ad507cb4496777cd0e92b3
| * Coin: Switch to the new packaging tools scripts location9.0Patrik Teivonen2023-05-122-11/+4
| | | | | | | | | | | | | | | | | | | | | | Script location is changed from qtsdk.git to tqtc-qtsdk.git. Adjust the coin instructions to use the new location. This change should be picked to all the branches in use. Task-number: QTQAINFRA-5506 Change-Id: I78abb36781cfaaff72870c297ba152066ac5f385 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* | CMakePM: Stretch the CMake parameters column on resizeCristian Adam2023-05-121-2/+2
| | | | | | | | | | | | | | | | | | | | Makes sure that the CMake parameters columns are properly stretched when Qt Creator window is being resized or maximized / restored from maximized state. Fixes: QTCREATORBUG-27257 Change-Id: Ifb4d439fb758dcc5b2593be917ba35e9c79f2840 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* | CMakePM: Cancel current build before locator "cm <target>"Cristian Adam2023-05-121-0/+3
| | | | | | | | | | | | | | | | | | | | In case the current project is building and the user starts a "cm <target>" in Locator, now the build is canceled before starting a a "cmake --build --target <target>". Fixes: QTCREATORBUG-26699 Change-Id: I27ed9ba5b8d917dce94835a5462e4e64e7515bd9 Reviewed-by: hjk <hjk@qt.io>
* | GitHub Actions: Use universal for macOS only for releasesCristian Adam2023-05-121-1/+5
| | | | | | | | | | | | | | For the regular checks we should be as fast as possible. Change-Id: If5b14f6ac48aebdefced137f74fc8ecdd72f741b Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | ClangFormat: Remove redundant KeepLineBreaks propertyArtem Sokolovskii2023-05-121-3/+0
| | | | | | | | | | | | Change-Id: I74250bde4a224d89b078f127da4e7b63454b03a6 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* | ClangFormat: Improve conversion from and to ClangFormat styleArtem Sokolovskii2023-05-121-3/+13
| | | | | | | | | | | | | | | | | | | | Improved conversion from ClangFormat style settings to CppCode style settings and the other way around. Task-number: QTCREATORBUG-29069 Change-Id: If4f75259f7fe77397fc144a83370749a49d25297 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | AutoTest: Fix handling of multiple fails of testsChristian Stenger2023-05-121-1/+1
| | | | | | | | | | | | | | | | | | Broke with d05c5b7d07194b7c0fe938e88e63cfaab9ee5f4d. Fixes: QTCREATORBUG-29146 Change-Id: If7cc7f943c16113785a21b661a545e00331f1dcd Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io>
* | ClangFormat: Fix code style preferences are grayed outArtem Sokolovskii2023-05-117-19/+51
| | | | | | | | | | | | | | | | | | Code style preferences are grayed out even when formatting mode is set to disable. Fixes: QTCREATORBUG-29129 Change-Id: Icf82fa0751f9291122c2af55111b6bd5fac85c7b Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | Debugger: Fix defined but not used warningBjörn Schäpers2023-05-111-6/+4
| | | | | | | | | | | | | | | | Move the currentError function where it is used. Change-Id: Iba669d677b35abc0c9291572c2ccb1df3cd2ed56 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* | Doc: Don't mention qmake in Qt Quick debugging instructionsLeena Miettinen2023-05-112-11/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | The same field is available for both qmake and CMake projects. Use a screenshot from a CMake project. Also point to "Preferences > Build & Run > Default Build Properties" for globally enabling QML debugging and explain what "Use Project Default" and "Leave at Default" mean. Fixes: QTCREATORBUG-29089 Change-Id: I3d007d10ca3247dc387eaf21d4d4623d7e90167d Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | CppEditor: Fix an error raised by Clang 16hjk2023-05-101-1/+2
| | | | | | | | | | | | | | | | error: integer value -1 is outside the valid range of values [0, 255] for this enumeration type [-Wenum-constexpr-conversion] Change-Id: I1b029099634dcc8f11071aad6a974ec0c41077ce Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | QtVersionManager: Fix a warning about missing initializerJarek Kobus2023-05-092-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It fixes the following warning: warning: missing initializer for member ‘QtSupport::Internal::ExampleSetModel::ExtraExampleSet::qtVersion’ Amends bdfa412b14174e7e81b899ae8323fc78ddd7916e Change-Id: Ieb984664953f53d458297970e09678c499a26197 Reviewed-by: Eike Ziller <eike.ziller@qt.io> (cherry picked from commit a5ad7221841e9fd2c358f1b2a43cfb0fc0c819b9) Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Marco Bubke <marco.bubke@qt.io>
* | SquishTests: Improve version detection for importsRobert Löhning2023-05-091-4/+4
| | | | | | | | | | | | Change-Id: If38aa92c22c3390859f738ad5bfa5bacf47302ec Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* | SquishTests: Fix formatting of exception messageRobert Löhning2023-05-091-1/+1
| | | | | | | | | | | | | | Amends 8d03220017bf7e5c7be51fc36acb56fbde9e3e13 Change-Id: I05266fe6152a8ac2601890e8dcf32fc68d0989d3 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | SquishTests: Some more Python3 adaptionRobert Löhning2023-05-091-1/+1
| | | | | | | | | | | | Change-Id: Iee0fd4107c3423d72a1dc51b0087837e4de46537 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | CMakePM: Store CMake Autorun state for all toolsCristian Adam2023-05-083-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Amends 2f39b51bdc1f73e2d87cc641a8501fd04ee76b4f The default tool's value is taken as default global value, then will be saved for all tools. This fixes the case when the false Autorun value for the default CMake tool would always be set as global autorun with no option to actually set global Autorun value due to the "upgrade" path mechanism. Change-Id: I17076bc0c77b087c5d4048fdfe74ddf91d837fd4 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* | FakeVim: Fix build with Qt 6.6Eike Ziller2023-05-081-8/+10
| | | | | | | | | | | | | | | | | | The connect doesn't work with incomplete type FakeVimHandler::Private anymore, so move the code. Change-Id: I686cd19a985f965cebf7d0a927cff4dc80ae746d Reviewed-by: hjk <hjk@qt.io> (cherry picked from commit e56e3b6f374e00179eb0537198437864dddc47f2)
* | Utils: Avoid watching directories of watched filesDavid Schulz2023-05-081-13/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not watch directories unconditionally, but only if they contain removed files to check whether those files are readded. This should reduce the number of needlesly watched directories to a minimum and fix performance regressions introduced by 61598eca15e14af64c20d314db382973dfccb2d2. Fixes: QTCREATORBUG-28957 Change-Id: I8fe387e7de32b0fb585074330c7f6ca7eae44730 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> Reviewed-by: hjk <hjk@qt.io>
* | Debugger: fix vanishing editor tooltip on expandDavid Schulz2023-05-081-18/+13
| | | | | | | | | | | | | | | | | | | | | | fetchMore is called multiple times before expandNode and seems to invalidate the index that is passed to expandNode. Since we only need to fetch more when we want to expand the item we might as well just integrate the code of fetch more into expandNode. Fixes: QTCREATORBUG-29083 Change-Id: I0e60e9bb03b53de2e86eea232fb5bb98046bbb80 Reviewed-by: hjk <hjk@qt.io>
* | SquishTests: Log used Python versionRobert Löhning2023-05-081-0/+1
| | | | | | | | | | Change-Id: I60cb928382840f34800af6a8ee1ed7f084acfb93 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | Bump version to 10.0.2Eike Ziller2023-05-082-4/+4
| | | | | | | | | | Change-Id: I8722d122d18e78054d844a4f4e75cf7d2ef746ef Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | SquishTests: Don't test.verify state of checkbox in getBuildIssuesRobert Löhning2023-05-052-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | - It generates a ridiculously large number of test results in comparison to what's actually tested - In tst_memberoperator, it is used in waitFor(). Thus, it depends on timing and the number of test results varies from one execution to another Change-Id: I7d4ad8f87590b4fc2dda51e9eda703961c7acd9e Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>