aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix debugging with LLDBv9.0.0-rc1Eike Ziller2022-11-091-1/+1
| | | | | | | Broke with bb11788a0ac868d9f89970a202df52b07c32c190 Change-Id: Ie02a36b98be83bd4721eacc834321a5494c584a3 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Merge "Merge remote-tracking branch 'origin/8.0' into 9.0" into 9.0The Qt Project2022-11-0929-98/+388
|\
| * Merge remote-tracking branch 'origin/8.0' into 9.0Tim Jenssen2022-11-0929-98/+388
| |\ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/plugins/qmldesigner/components/assetslibrary/assetslibrarywidget.cpp src/plugins/qmldesigner/components/componentcore/modelnodeoperations.cpp src/plugins/qmldesigner/qmldesignerplugin.cpp Change-Id: I24216ae3f83cdde3493b4a6274e24a72f75820fc
| | * Doc: Add Effect Maker documentationMats Honkamaa2022-11-0816-2/+194
| | | | | | | | | | | | | | | | | | | | | | | | Task-number: QDS-7669 Change-Id: I49f77d61b018516bd3b460fd92c8fa620ec10d81 Reviewed-by: <amr.elsayed@qt.io> Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
| | * QmlDesigner: Show proper warning if .qep file has no componentAmr Essam2022-11-047-48/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When dragging an empty effect, a messagebox shows with an option to open QQEM Task-number: QDS-8155 Change-Id: I2afbf7ffb9cb58243f3635fe3a7aee999ab68713 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
| | * QmlDesigner: Add option for layer.effect when creating effectsThomas Hartmann2022-11-031-3/+21
| | | | | | | | | | | | | | | | | | | | | | | | Task-number: QDS-8162 Change-Id: I9b98d4ae264f4b6a703eb5bfdeb6e1fb546e5a37 Reviewed-by: <amr.elsayed@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
| | * QmlDesigner: Enforce rules for QML component namesThomas Hartmann2022-11-031-8/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since a QML component is generated from the effect, the same rules for names should apply. Task-number: QDS-8152 Change-Id: I607c2771401fec2259b1e1aac9a37707aa1328b7 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
| | * QmlDesigner: Avoid error messages when adding effectThomas Hartmann2022-11-032-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Removing the summary page * Adding DoNotOpenFile option By default, the wizard expects to open a file. Setting DoNotOpenFile to true does suppress this. Task-number: QDS-8151 Change-Id: I62264733788dbbe1b017beaa428356548a1a3692 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
| | * QmlDesigner: Show Effect wizard only in enterprise versionThomas Hartmann2022-11-022-6/+24
| | | | | | | | | | | | | | | Change-Id: If0c99beec083514ed5c531bb7a67cd7a392c3108 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
| | * QmlDesigner: Move effect wizard to qmldesigner/studio_templatesThomas Hartmann2022-11-012-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | This is the folder QDS looks for the wizards. Change-Id: Id69f50f48eeb4668dff2840a36149408e0709a06 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* | | CMake/translations: Use lconvert for cleaning ts filesEike Ziller2022-11-091-6/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For the translation process it is nice to keep obsolete items and locations, but we do not want these submitted in the end. So while translating we'd have patches: 1. lupdate cleaned of obsolete and line numbers 2. wip: lupdate with obsolete and line numbers 3. translation of plugin X 4. translation of plugin Y and before submitting we want to remove the wip patch (2). But, running lupdate with "-no-obsolete -locations none" for cleaning the ts file has a slightly different sorting than without it, which leads to conflicts when removing the wip patch (2). Instead run lupdate with obsolete items and line numbers first, and clean the ts file with lconvert afterwards. That keeps the diff between patch (1) and (2) minimal, and results in a clean rebase process when removing patch (2). Change-Id: I3b8ac7c30dc6eb0e501be765eb6e64069007a5bd Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* | | Changes: Mention debugger performance once morehjk2022-11-091-0/+1
| | | | | | | | | | | | | | | Change-Id: I0a44a4348c8f3bdac20e28cc15cff7093aef634d Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* | | Debugger: Avoid some temporary containers when parsing escaped charshjk2022-11-091-8/+9
|/ / | | | | | | | | | | Change-Id: Ia9af6801de6f745388e464fc806297d396c66160 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: David Schulz <david.schulz@qt.io>
* | ProjectExplorer: Fix potential race conditionMarcus Tillmanns2022-11-095-5/+15
| | | | | | | | | | | | | | | | | | | | | | When using BuildStep::runImpl() it was possible for the async part to still be running while the BuildStep is already deleted. This change returns the Future so that users can wait for it to finish. Change-Id: I27c0fc8741c59851c5ab8f5cb858fbcda923c14d Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* | Chinese translation: Run lupdate for qtcreator_zh_CN.tsEike Ziller2022-11-091-25437/+30020
| | | | | | | | | | | | | | | | | | | | | | in preparation for the translation. Result of `lupdate . -no-obsolete -no-ui-lines -locations none -ts share/qtcreator/translations/qtcreator_zh_CN.ts` Change-Id: I1e7389aae93f1aee8594f35e53531ee53e5f0ed6 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Xu Shitong <xushitong@uniontech.com> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | ClangCodeModel: Adapt to new upstream featureChristian Kandeler2022-11-082-20/+10
| | | | | | | | | | | | | | | | See https://reviews.llvm.org/D130015. Change-Id: I2c2590265f2d7a2c2b5e966b0dc65ceff6b1b3e6 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: David Schulz <david.schulz@qt.io>
* | Debugger: Avoid quadratic behavior for larger debug outputhjk2022-11-084-97/+86
| | | | | | | | | | | | | | | | Task-number: QTCREATORBUG-28111 Change-Id: I0567b6af9f74c2d335d19a52765834ef7cee9449 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* | More change log for 9.0.0Eike Ziller2022-11-081-1/+61
| | | | | | | | | | Change-Id: Ic902972be6fe5c68e7675a10d5127672612e8f1d Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* | Debugger: Remove some debugging codehjk2022-11-081-1/+0
| | | | | | | | | | | | | | Avoids a possibly large temporary string. Change-Id: Ic20cccedc35df0172c3586054f098e2c0f4b69c2 Reviewed-by: David Schulz <david.schulz@qt.io>
* | Editor: delete assist interface in lsp/clangd supportDavid Schulz2022-11-086-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | The complete memory management in the code assistant needs an overhaul. For now just delete or at least track the assist interface with scoped pointers. Fixes: QTCREATORBUG-28408 Change-Id: I0bd4cfaa36a660b6fd5bb467af3b13414ed76e63 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* | QmlJS: Fix cursor position and breakpoints when reformattingEike Ziller2022-11-083-22/+14
| | | | | | | | | | | | | | | | | | | | | | | | Use the intelligent partial text replacement logic that is also used for e.g. the Beautifier formatters. Fixes: QTCREATORBUG-28349 Fixes: QTCREATORBUG-25218 Change-Id: I9ae4052df27c8aa2012106a8ef8f624ba5f3c30b Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: David Schulz <david.schulz@qt.io>
* | Android: Fix reference to out of scope variableMarcus Tillmanns2022-11-081-1/+1
| | | | | | | | | | | | Change-Id: I49ea5c059ed68230e368d8de2aaddca979019bfa Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* | German translation: Welcome pluginEike Ziller2022-11-081-7/+7
| | | | | | | | | | Change-Id: I8d50831e3fc20364c4738c0fe64ca2feacf72c41 Reviewed-by: Robert Löhning <robert.loehning@qt.io>
* | German translation: TextEditor pluginEike Ziller2022-11-081-83/+87
| | | | | | | | | | | | | | Change-Id: Ie4dfe8001ecb51e7f012080230da0ca4c0ccd56f Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: Robert Löhning <robert.loehning@qt.io>
* | CMakeProjectManager: Deduplicate string "-DQT_QML_DEBUG"Alessandro Portale2022-11-081-4/+4
| | | | | | | | | | Change-Id: Ice9bc9b1ee17d477a484b9f4d630737f6633c06c Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | McuSupport: Update library path for Windows platformKwangsub Kim2022-11-083-6/+43
| | | | | | | | | | | | | | | | | | | | | | The Qt shared library for Windows desktop platform has been moved from Qul 2.3.0 to support MinGW toolchain. The updated library path needs to be configured correctly. Task-number: QTCREATORBUG-28303 Change-Id: I7cf8150bfb4a66731904ea49089849496305f22e Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | MesonPM: Only set tools if possibleChristian Stenger2022-11-081-0/+2
| | | | | | | | | | | | | | | | | | Avoids triggering a soft assert. Change-Id: I86dd6fd3876504abc3ecf5b543e7c86d886bb4c2 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Alexis Jeandet <alexis.jeandet@member.fsf.org> Reviewed-by: hjk <hjk@qt.io>
* | AutoTest: Log info messages as wellChristian Stenger2022-11-081-2/+7
| | | | | | | | | | | | | | | | Amends f792dc0216fc1fdae1e9d4421ccb489cae2aac2f. Task-number: QTCREATORBUG-28394 Change-Id: I5bf9bb29a56e57ce0440ac1a831d6d552f93d791 Reviewed-by: David Schulz <david.schulz@qt.io>
* | QmlJS: Fix Follow under cursorMarcus Tillmanns2022-11-0811-27/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When trying to jump to a symbol in a qml file the Qml Model may find the location in a generated .qml file in the build folder. QtCreator searches in all generated .qrc files to try and find the source file so it can jump to it instead. Previously not all auto-generated ".rcc" folders would be found as only the folders of targets (executables) were searched. Plugins or Static Libraries were not searched. With this fix, all projects nodes are searched for the ".rcc" folder and therefore also finds them for Dynamic / Static libraries and plugins. Fixes: QTCREATORBUG-27173 Change-Id: Ic51ac8fbc82c15785cbefd76787942a512ecf3db Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io>
* | Doc: Update File System view screenshot to show the numberLeena Miettinen2022-11-083-1/+1
| | | | | | | | | | | | | | | | ...that is referred to in the text. Change-Id: If5f343d2b25ecf5cfc4761f2a1326903f8925f36 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | Doc: Add debugger troubleshooting informationLeena Miettinen2022-11-085-18/+69
| | | | | | | | | | | | | | | | | | From https://wiki.qt.io/Qt_Creator_Windows_Debugging Task-number: QTCREATORBUG-27876 Change-Id: I36b19311387a93f729aea1bbc28db125e1d1230c Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: hjk <hjk@qt.io>
* | Doc: Use "remote Linux" instead of "generic remote Linux"Leena Miettinen2022-11-0827-98/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Reflect the term changes in the UI. - Move info about SSH port property to the wizard step list. - Make the topic names in "Deploying to Devices" shorter. - Remove some unnecessary "if defined(qtdesignstudio)" conditions from topics that are not used in the QDS Manual. Task-number: QTCREATORBUG-27876 Change-Id: I2282257f245c31af82a41ea0e533407bf1cbd775 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io> Reviewed-by: hjk <hjk@qt.io>
* | ClangCodeModel: Fix persistent SwitchDeclDef objectChristian Kandeler2022-11-081-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | If both AST and document symbols are available right away, the ClangdSwitchDeclDef object emits its done() signal before it is connected and stays around, potentially firing off new "follow symbol" requests to the bewilderment of innocent users. Fixes: QTCREATORBUG-28183 Change-Id: I972c8d4d9d7b7435e293d76fe710b19c9c4fb287 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: David Schulz <david.schulz@qt.io>
* | Add -language command line option for overriding UI languageEike Ziller2022-11-072-12/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | I run Qt Creator in german, but for responding to questions and generally looking things up I regularly want to run it temporarily in english. A command line option makes that easier than having to start Qt Creator, navigate to the settings, and restarting it, and doing the same again to revert back to german. Change-Id: I7c0d84375ffc97e5c7607307fd3f785f2c315c3d Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* | Doc: Update info on Docker devicesLeena Miettinen2022-11-076-41/+81
| | | | | | | | | | | | Task-number: QTCREATORBUG-27876 Change-Id: I837ce8b8aeea5d238e98a70b7b5754be46d2e34a Reviewed-by: hjk <hjk@qt.io>
* | McuSupport: Use lower case platform name for CMake configurationsDaniele Bortolotti2022-11-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | QUL_PLATFORM name is converted in CMake to lower case, resulting in misleading warnings about platform name due to case mismatch. Fixes: UL-6641 Change-Id: I25df689c91dca65ef67c80d9527c0afe7952278b Reviewed-by: Yasser Grimes <yasser.grimes@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | Restrict Python application wizards to desktopEike Ziller2022-11-075-5/+5
| | | | | | | | | | | | | | | | Fixes: QTCREATORBUG-28258 Change-Id: I9814abe093efbff0b7b15711d4773c8cbcdc8e41 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: David Schulz <david.schulz@qt.io>
* | AutoTest: Fix Catch2 output handlingChristian Stenger2022-11-071-1/+16
| | | | | | | | | | | | | | | | | | Handle warnings or explicit failures instead of ignoring them. Fixes: QTCREATORBUG-28394 Change-Id: I5ccde8e7b9dfa1118f42ea881b9152069616193f Reviewed-by: David Schulz <david.schulz@qt.io>
* | Utils::Id: Make access to internal cache thread safeJarek Kobus2022-11-071-7/+23
| | | | | | | | | | | | | | | | | | | | Secure all accesses to internal cache with QReadWriteLock. Move firstUnusedId into secured scope, too. Fixes: QTCREATORBUG-28415 Change-Id: I99d23213ec169b2b74748f54c98b834f88ab6a3d Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: hjk <hjk@qt.io>
* | SquishTests: Fix tst_CSUP04Robert Loehning2022-11-071-1/+1
| | | | | | | | | | Change-Id: I4d9546c13451d8e56a1bc616c3ac8a7640db3204 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | SquishTests: Update tst_QMLS01Robert Löhning2022-11-072-4/+5
| | | | | | | | | | | | Change-Id: I8313aa6dbd9120341bcd9eee7b8d7c72f051a9b9 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | German translation: ExtensionSystemEike Ziller2022-11-071-8/+9
| | | | | | | | | | | | Change-Id: Ia74823094434138889bf6699283e183a925584bf Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Robert Löhning <robert.loehning@qt.io>
* | Core: Silence wizard handlingChristian Stenger2022-11-071-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | The way wizards get created has changed. Originally the factory had been able to return an empty list in case something was wrong. This list's items had been processed. Now it just returns a nullptr for each item as they get processed now one by one. This triggers soft asserts when e.g. having only a subset of plugins loaded like when running plugin unit tests. Amends 1cf6b031cfdf7344eb2ce6a403aa1029b7b8f75e. Change-Id: Ia91df462ea52efe301c2dca07bc69aeb2f569b78 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | clang-format: Adapt to LLVM 16Björn Schäpers2022-11-062-0/+8
| | | | | | | | | | | | Change-Id: I2e35f92db6de10b1e4bf173f0864f0cd893a011f Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | Update qbs submodule to HEAD of 1.24 branchChristian Kandeler2022-11-061-0/+0
| | | | | | | | | | | | Change-Id: I521dd1cd921197392b359aee8e3b9fb9546a6cbd Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* | McuSupport: Make legacy kit creation match QtCreator 8Sivert Krøvel2022-11-042-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The default path for the STM32 Cube Programmer was recently changed for legacy packages. This means that Qt for MCUs 2.2 kits created with QtCreator 9 and kits created with QtCreator 8 would have different paths. This is not ideal as a basis for automatically creating new kits when changing Qt for MCUs version. This change makes QtCreator 9 create legacy kits in the same way QtCreator 8 did. Change-Id: I8b1fa4a0d673f746edf058aee292e6d42ca2cdcf Reviewed-by: Yasser Grimes <yasser.grimes@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | Revert "McuSupport: CMake expects programmer path to include the bin folder"Sivert Krøvel2022-11-0410-36/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit e558fc4d1f24c8e4e295c7fa381fb321d840cc33. Reason for revert: Because this is incompatible with how QtCreator 8 makes kits, it breaks the kit when changing versions. A fix for the original issue was made in Qt for MCUs to accommodate not having bin the path, allowing the detectionPath to be bin/... in matching with legacy code. Change-Id: I64c670398287b3ec9beec0aa6fac02325b322664 Reviewed-by: Yasser Grimes <yasser.grimes@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* | McuSupport: Do not update paths in kits for different SDK versionsSivert Krøvel2022-11-041-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When updating paths for a target in Devices > MCU, the paths were updated in the corresponding kits for all Qt for MCUs versions. This would break existing kits made for a different version than the currently active one. With this change, only kits made for the same SDK version as the currently selected target will be modified. Task-number: UL-6755 Change-Id: I6fda050094b5603914fbbc29a5fc2e83d974a2d6 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Rainer Keller <Rainer.Keller@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | German translation: BookmarksEike Ziller2022-11-041-3/+3
| | | | | | | | | | Change-Id: I4ee0d059d30b99742a1706e6e5769e71251ae6b7 Reviewed-by: Robert Löhning <robert.loehning@qt.io>
* | litehtml viewer: Show link targets in tool tipEike Ziller2022-11-042-1/+14
| | | | | | | | | | | | | | | | | | | | Like done for the other backends. Fixes: QTCREATORBUG-23027 Change-Id: Idc1f7ee2f6240e6c488a9d7d65ead3be6846d303 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>