aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* CMake: Fix crash when opening project15.0Eike Ziller2025-02-041-1/+2
| | | | | | | | | | | | | | | | | The CMakeBuildStep can be part of a deploy configuration, and then the buildConfiguration() relies on the "active" build configuration. That can be nullptr under some conditions, e.g. we got crash reports for loading projects, where ProjectExplorer::Target::addConfigurationsFromMap might either not restore any build configuration for some reason, or not set an "active" one. Restoring the deploy configurations in that same method afterwards, then leads a call to baseEnvironment() of the deploy step (=CMakeBuildStep) and a crash. Change-Id: I763d9fdbc7a6055eac384e4c5040c3f7b245d3cb Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* EM: Replace Qt 6.8 only function with backwards compatibleMarcus Tillmanns2025-02-041-2/+2
| | | | | | | | Amends: 2ad4ff803658033c800e409499bc10c99c96363c Change-Id: I4ee9b825f0e7af37d26ec47b4b6bce57efc4debb Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io> Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* EM: Take filename from content-dispositionMarcus Tillmanns2025-02-031-2/+35
| | | | | | | | | This allows us to get the real filename even from urls that do redirection. Our unzip routine on Windows fails if the filename does not end in .zip which this patch fixes as well by naming the file as intended. Change-Id: I29746e67ce91953e1fee26d697a7f251527c54c4 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Revert "TextEditor: Tweak the refactoroverlay painting for HighDPI"Marcus Tillmanns2025-01-311-4/+2
| | | | | | | | | | | This reverts commit ddf1072d53dce57eca9219f8cdd55c22b8d9d142. Reason for revert: The code was necessary for Qt 5, and was partially reverted before. Fixes: QTAIASSIST-159 Change-Id: I8cef677f92b15b6bc4a4d3b4d1095c325d1f07a5 Reviewed-by: Artur Twardy <atw@spyro-soft.com> Reviewed-by: David Schulz <david.schulz@qt.io>
* Lua: Fix crash on exitMarcus Tillmanns2025-01-311-1/+6
| | | | | Change-Id: Ia03bcdc79902301f774c829f8dbacb6d625cf6a0 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Lua: Fix tear-down of lua pluginsMarcus Tillmanns2025-01-311-3/+7
| | | | | Change-Id: Ia556d59b717aef1c8e4fb0fb06010214786d0519 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Lua: Cleanup InfoBar entriesMarcus Tillmanns2025-01-315-168/+216
| | | | | | | | Also changes InfoBarDisplay::update to completely disconnect the resulting widgets when an entry is removed. Change-Id: Ic32ee8a1c9ee8dcd026e4a0cb7521b07323ca892 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* qdb: set working directory for the qdb server processSamuli Piippo2025-01-291-1/+1
| | | | | | | | | | Use the binary's directory as the working directory for the qdb watcher process so that users current working directory is not blocked by it. Fixes: QTCREATORBUG-31976 Change-Id: I316f36ddc85d29aa4baeb64b06104437111f36cc Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Lua: Fix QString encoding on Windows to be Utf8 as wellMarcus Tillmanns2025-01-291-2/+2
| | | | | Change-Id: Ib4bf7bec136db5b1e2a21ec565bdf62a75f08c0b Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* Unarchiver: Improve ordering of methodsEike Ziller2025-01-291-7/+11
| | | | | | | | | | | | tar depends on other tools to extract anything else than tar itself, so it is not reliable. CMake does actually not rely on tar, but directly uses libarchive for the various archives, so it is the more reliable choice, if available. For example, tar on Linux might not be able to extract 7zip files, but CMake can. Change-Id: Ib5672557ada9619dd42697eb480eebc654a9d26d Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Utils: remove unnecessary cloneTo() override that doesn't overrideThiago Macieira2025-01-281-6/+0
| | | | | | | | | It just passes through to the base class... which will change source- incompatibly in Qt 6.10. Change-Id: I8b2f380b273cce0964cefffd9a3c3474ce645100 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* Add newly released courses to the learning-listing in the Welcome-modeVille Lavonius2025-01-281-0/+63
| | | | | | | | Followup work needed: icons missing, default icon used for the time being. Change-Id: Ifa3da0252c4ada472ed5eed23e0d4e7ac645ea53 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Editor: fix crash when text is auto completed outside of visible areaDavid Schulz2025-01-271-5/+5
| | | | | | | | | | | | | | Setting a text cursor also ensures that the cursor is visible. If this operation is done inside a begin/endEditBlock we might operate on an outdated layout which returns a potentially invalid line that causes an assert in the code that ensured the cursor is visible. closing the edit block before setting the text cursor makes sure the layout is invalidated and correctly recalculated before ensuring that the cursor is visible. Fixes: QTCREATORBUG-32401 Change-Id: Ibb6913a8fef9b0d0178f4da0cf9044a25f622007 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Doc: Add steps for installing the Qt AI Assistant extensionLeena Miettinen2025-01-242-0/+13
| | | | | | | | | Users were missing the step where they have to use an external repository to see AI Assistant in Extensions Change-Id: Id0aef647625c9c8730cf77118f2a5a7f28b0f29c Reviewed-by: <peter.schneider@qt.io> Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* ExtensionBrowser: Switch to "getAll" apiMarcus Tillmanns2025-01-241-1/+1
| | | | | Change-Id: Ibe2aab9167fdb9ec45b132fd85834460039dd581 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* CMakePM: Fix location for the junctions folderChristian Stenger2025-01-221-3/+5
| | | | | Change-Id: If8228304e364e7af85be534589a6101e18741bfa Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* Core: Add missing returnv15.0.1Marcus Tillmanns2025-01-221-1/+1
| | | | | | | Amends 89702040cd43f6b4c5dd4c7e79bf79f30413749e Change-Id: I2096c33dd3bb24a064a74b0356a29edc5859df11 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Plugins: Fix Plugin installation from archive / fileMarcus Tillmanns2025-01-223-2/+37
| | | | | | | | | | | Previously the spec returned and used was initialized from the temporary folder after extraction. That folder is deleted though once the install wizard is done. We now re-create the spec after copying the files to their final destination. Change-Id: Ia6b2f3c67a9d89687fece97e59143c00689ae513 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Core: Load plugin spec after installMarcus Tillmanns2025-01-221-2/+3
| | | | | | | | If we don't load the spec, the rest of the App has no way to tell that we installed the plugin. Change-Id: I80a6058696172f91e3f930a9c98f3c7a00f38c38 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* RemoteLinux: Fix timeouts when deploying filesEike Ziller2025-01-221-7/+6
| | | | | | | | | | | The default timeout for runBlocking is 10 seconds, which means that whenever deploying a file e.g. over a network connection takes longer, deployment fails. Just set a really large timeout for now, under the assumption that this code path (passing a large amount of data to a process) is only used for deployment. Change-Id: Id5b4902ca97c32f4f024c624e02c0eb341aa7e59 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* ExtensionManager: Refresh View after installingMarcus Tillmanns2025-01-223-0/+8
| | | | | Change-Id: Id4963d52d07aaf8f7e5a3904f95dc3accf204f80 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Doc: Describe the "findMacro" argument that replaced "mx"Leena Miettinen2025-01-201-1/+1
| | | | | Change-Id: Ie18030d727cb448431cfb554e010b0d52195dd30 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Doc: Remove docs for the obsolete "errorString" argumentLeena Miettinen2025-01-201-5/+0
| | | | | | | ...from save() and reload(). Change-Id: I25ecc485fe14182ade8a9e8a5b0179fe59af9206 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Doc: Fix QDoc warnings in tasktree.cppLeena Miettinen2025-01-201-2/+15
| | | | | Change-Id: Ie55d7828998d847e85d62fe7ba9693b94c33e614 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* Doc: Add docs for the FilePathWatcher class to fix a link to itLeena Miettinen2025-01-201-0/+8
| | | | | Change-Id: Ic9f0aea828e423118b74455a40ca7210b73e3284 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Doc: Remove docs for a removed classLeena Miettinen2025-01-201-13/+0
| | | | | | | Fixes a QDoc warning. Change-Id: I338a622587a9ce4478f45643e90260bcc67382f3 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* GitHub Actions: Upload MSI packagesCristian Adam2025-01-201-0/+8
| | | | | | | | They are generated by the 'Build' step anyway. Would be useful to have them uploaded as build artifacts. Change-Id: Ie5dd6b284e5ba4f4ffeb4e3845e2d74f62ca55e4 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Doc: Fix QDoc warnings in icore.cppLeena Miettinen2025-01-201-1/+9
| | | | | Change-Id: I2d042af2c2e7f7678b76a519256f6983428e22a4 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* ExtensionSystem: fix variable name in API referenceLeena Miettinen2025-01-171-4/+4
| | | | | Change-Id: Ifd476bc69b61b852177b1a93467dd9b1888b4efd Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* GitHub Actions: Update Qt to 6.8.1Cristian Adam2025-01-171-71/+51
| | | | | | | | | Qt Creator 15 has been officially compiled against Qt 6.8.1. Also the MinGW compiler used has been bumped to MinGW GCC 13.1.0 Change-Id: I9795df138b50960300b0e39d01928122b661f25f Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Doc: Remove obsolete screenshotsLeena Miettinen2025-01-175-1/+1
| | | | | | Task-number: QTCREATORBUG-30604 Change-Id: Icb6f0a5f6003c2845d3be88d9e07a706beef9ee3 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Update qbs submodule to HEAD of 2.5 branchChristian Kandeler2025-01-171-0/+0
| | | | | Change-Id: I6befd84513f5415a1f9440fde14368c813e07580 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Update change log for 15.0.1Eike Ziller2025-01-172-0/+24
| | | | | Change-Id: I9c857fa0f1a67dd5c6821e6eb71f524044955392 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Revert "Utils: Fix quoting on Linux"hjk2025-01-172-43/+1
| | | | | | | | This reverts commit 97a37eb6fd, breaks tst_Process::iterations. The new tst_CommandLine::testMultiQuote_win() fails in the CI, too. Change-Id: I657b7bbf073a06a3175c88a25eba019dad2c830d Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* ProjectExplorer: Fix crash when no configuration is setMarcus Tillmanns2025-01-161-2/+7
| | | | | | | Amends 02d7e59a2e51e22026cee8eadd509e7508c008ec Change-Id: I5deb955e6fd9a0257e9aabf0edb19ed6f2cd3fde Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* QMakeProjectManager: Fix mkspec path for remote devicesMarcus Tillmanns2025-01-161-2/+3
| | | | | | Task-number: QTCREATORBUG-32325 Change-Id: I3169f56acb5e8e94004825cfe55e8614edb9d498 Reviewed-by: hjk <hjk@qt.io>
* SilverSearcher: Fix finding the toolEike Ziller2025-01-161-1/+4
| | | | | | | | | | The documentation tells the user to adapt the PATH in the Preferences > Environment > System. Setting that as the environment got lost in 9a0285ba0e1f2aeae4dd8e3d75d005acefcfe2ef Fixes: QTCREATORBUG-32335 Change-Id: I3e06fe6a5195b5571e723c0e58cb81c592bf1082 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Utils: Fix quoting on LinuxMarcus Tillmanns2025-01-162-1/+43
| | | | | | | | | | | To double-quote, we need to use '"'"' instead of \' since that does not work. Also adds a test for it. Task-number: QTCREATORBUG-32325 Change-Id: I9c5b92e29de264ffb71c3b299746ee68052c8859 Reviewed-by: hjk <hjk@qt.io>
* Utils: Add overloads for CommandLine with osTypeMarcus Tillmanns2025-01-162-0/+18
| | | | | | | | | | | | | In the next commit we want to test these functions, so we need to make sure that we can specify their osType. We will also need these functions when we are combining command lines from different platforms e.g. on docker where the host might be windows, but the docker image is Linux (or vice versa). Task-number: QTCREATORBUG-32325 Change-Id: I7d01bdc5f292b6bf6b76d03856f6d4e588e371ab Reviewed-by: hjk <hjk@qt.io>
* AutotoolsProjectManager: Re-add initial project parsingChristian Kandeler2025-01-161-1/+6
| | | | | | | | Amends 01cc0e74991fd32c20847f8c02d4fc673d6bb115. Fixes: QTCREATORBUG-32305 Change-Id: Icae39c882d7c911b12dbf4dd3442af7abcbd64d6 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Crashpad: Explicitly enable crash_handler only for main appEike Ziller2025-01-161-0/+1
| | | | | | | | That is the default, but this enables us to tweak the behavior in the crash_handler correspondingly. Change-Id: Ia580a580d4fb9ec8cfe90a3cb7c10471d86f3f41 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Utils: Add a missing #include <QDebug>hjk2025-01-161-0/+1
| | | | | | | This is needed to make it compile with current Qt 6.9. Change-Id: I1ef7d906ad5d5dba18c5180ca2606e19c4580610 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* Crashpad: Fix linking on WindowsEike Ziller2025-01-151-0/+6
| | | | | | | | | Looks like symbols moved to client/common.lib (CrashReportDatabase, CrashpadInfo, Settings) in newer versions of Crashpad. Need to link against it to avoid missing symbols. Change-Id: I18506105c098379ee9325138ca4a5197a622e2f7 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Crashpad: Explicitly enable handling if crashpad is enabledEike Ziller2025-01-151-0/+5
| | | | | | | | | This defaults to kUnset, which is interpreted as enabled by vanilla Crashpad. We want to turn that around, so we have more control over which processes are handled by Crashpad. Change-Id: I877acd5b6fa1e222648f031e68be3837422e96d9 Reviewed-by: hjk <hjk@qt.io>
* Welcome: Fix the parameters of two academy linksVille Lavonius2025-01-151-2/+2
| | | | | Change-Id: I34dcccc4b4170d01c2055ad22502fc5c90120fed Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Lua: Expose stretch function in box layoutArtur Twardy2025-01-154-0/+19
| | | | | | Change-Id: I52bb81e01561950785252d362d31d6142844fcac Reviewed-by: <lie@spyro-soft.com> Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* Lua: Add minimumWidth property to WidgetOptionsArtur Twardy2025-01-154-0/+14
| | | | | | Change-Id: I7c7ed3fc8b5ac907f9e6fc7ea161d1b263c9a5de Reviewed-by: <lie@spyro-soft.com> Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* Doc: Add the "Use Git" category to the sidebar TOC under "How To"Leena Miettinen2025-01-151-0/+1
| | | | | Change-Id: I6388ef67ffd931120d1a819326dd1e575d98d7aa Reviewed-by: AndrΓ© Hartmann <aha_1980@gmx.de>
* SquishTests: Improve tst_git_local for slow machinesRobert LΓΆhning2025-01-131-1/+3
| | | | | Change-Id: I8ad2b9a2e7118527a898bd6868e72346837d02c7 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* qbs build: Use the same deprecation flags as the cmake buildChristian Kandeler2025-01-131-0/+2
| | | | | Change-Id: I5b07c5e8f9a02448b819d7d7b8f815f6139be9b2 Reviewed-by: Christian Stenger <christian.stenger@qt.io>