aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Change log for 11.0.1v11.0.1Eike Ziller2023-08-021-0/+77
| | | | | Change-Id: I259dd9542b78786d657d9bc431c5e09280e85ae2 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* CMake/macOS: Fix framework paths with CMake >= 3.27Eike Ziller2023-08-021-15/+25
| | | | | | | | | | | | | Previously the "compileGroups" > "includes" section contained paths to frameworks, like "<Qt>/lib/QtCore.framework" which we use to add a framework path of "<Qt>/lib" to the code model. These paths moved to a new "compileGroups" > "frameworks" section in file-api in CMake >= 3.27, so we need to read this section as well. Fixes: QTCREATORBUG-29450 Change-Id: Ica685006d1373fdc3efee6029acf4a7f7e8528f3 Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* Update qbs submodule to HEAD of 2.1 branchChristian Kandeler2023-08-011-0/+0
| | | | | Change-Id: Iedb3708df80a1dcfeb7663ccff90fc7b4be4a400 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* SxmlEditor: Fix crash with transitions and onEntry eventsArtem Sokolovskii2023-08-013-7/+20
| | | | | | | | | | Fixed a crash in SxmlEditor that occurred when transitions and onEntry/onExit events were displayed together. Fixes: QTCREATORBUG-29429 Change-Id: Idca72ac1a661355a2caaa3f16457e4cfb9aaa785 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* EnvironmentKitAspect: Distangle VSLANG related codeEike Ziller2023-08-011-20/+29
| | | | | | | | | | | | Avoid funny side effect in "currentEnvironment". Explicitly update the `Force UTF-8 MSVC compiler output` check box on initialization, and when the user edited the environment. Fixes: QTCREATORBUG-29382 Fixes: QTCREATORBUG-29425 Change-Id: I2b2615fa392ef0e4ee087d86207302b149a10768 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* IncrediBuild: Fix missing UI in build stepsEike Ziller2023-07-311-1/+2
| | | | | | | Regression introduced by 35c60cd7b42a83b2c1642e2b32ea7f4f08ac4ad1 Change-Id: I6e184ed8f7cca61547b762cfd40132755af39d6c Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* SquishTests: Expect failure when renaming classRobert Löhning2023-07-311-2/+5
| | | | | | | Task-number: QTCREATORBUG-29012 Change-Id: I3b6955d73c4908332c509d71a19afed60c2f42da Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Beautifier: Fix setting customized style (again)Eike Ziller2023-07-311-4/+2
| | | | | | | | | | | | | | | Amends 4de56e2683010c8b22848191405150b4d0e69c82 BoolAspect only changes its value if the check box is "clicked", so when the customized style check box is clicked, the BoolAspect for usePredefinedStyle does not change its value even though the check box does. Fixes: QTCREATORBUG-28525 Change-Id: Ie14c7669c7b41ef1a27dcb5ee69f610b773105fe Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Update qbs submodule to HEAD of 2.1 branchChristian Kandeler2023-07-311-0/+0
| | | | | | | Change-Id: Ia4a7fe9c80b2936678a80b1b0a4e25f6695d6097 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>
* Fix saving of keyboard schemes in presence of broken shortcutEike Ziller2023-07-281-4/+34
| | | | | | | | | | | | | | | | | | QKeySequence can consist of weird keys, and QmlDesigner accidentally set one to \u0002. Trying to write this into an XML attribute results in QXmlStreamWriter simply failing and never writing anything. Aside from fixing QmlDesigner in another patch, make sure that we only write valid characters to the XML, by using the same checks as in QXmlStreamWriter and writing/reading as hex-encoded as a fallback. Also print a warning, if saving the keyboard schemes fails for any reason. Fixes: QTCREATORBUG-29431 Change-Id: Ief656ea42db3c1dceeb3f90a851eb9000b63f0c6 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* QmlDesigner: Add context object to a connectionAleksei German2023-07-281-2/+2
| | | | | | | Fixes: QTCREATORBUG-29438 Change-Id: I3662737acf3d80c17c8004594540220296971ef3 (cherry picked from commit cfadc5a984f059b59d87194e2c7a98b92a98ad26) Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* SquishTests: Adapt test of navigation treeRobert Löhning2023-07-281-2/+2
| | | | | | | | Extends b57f72e3c8 to another test. Change-Id: I419ce4fb05667fd22a1e913ef7122b191e12a34a Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* QmlDesigner: Fix wrong priority versus shortcutEike Ziller2023-07-281-1/+1
| | | | | | | | | | | The arguments were mixed up, resulting in a shortcut of `\u0002` Amends 14b86100b52990570308f0ec3f7c727801d4ab85 Fixes: QTCREATORBUG-29431 Change-Id: I10cf959a9f9b24df1d1f544ad3ea80b1b2060751 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* German translation: Remote LinuxEike Ziller2023-07-281-71/+82
| | | | | | Change-Id: I307ccc3c1a31124e5470abd1bdb2c6a80cb6794f Reviewed-by: Robert Löhning <robert.loehning@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* German translation: WebAssemblyEike Ziller2023-07-281-21/+25
| | | | | | Change-Id: If526d36406855ae90c06e9ea76ba6fe8a6a92848 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Robert Löhning <robert.loehning@qt.io>
* SquishTests: Fix expected proposalsChristian Stenger2023-07-281-1/+2
| | | | | Change-Id: Id835185e621fac6adba3e1db15d1a3d782b571df Reviewed-by: Robert Löhning <robert.loehning@qt.io>
* German translation: Haskell, Qnx, SerialTerminal, SilverSearcher, VcpkgEike Ziller2023-07-281-40/+40
| | | | | | Change-Id: I36d842b7641e81f5310dd4e31fa61c9ddab8e362 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Robert Löhning <robert.loehning@qt.io>
* SquishTests: Don't use lists of dictsRobert Löhning2023-07-272-20/+18
| | | | | | | ...when that doesn't have any advantages. Change-Id: I0c58e30ae0b9e278e3336646332279f6243719d0 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* SquishTests: Adapt test of navigation treeChristian Stenger2023-07-272-19/+1
| | | | | | | | | | | Explicitly disable loading ClangCodeModel plugin to avoid slowing down the load and parse of the projects by the indexer as we are measuring the time for these. Beside this adapt the expected tree for macOS - there are a couple of files and subtrees that are present only conditionally. Change-Id: Ibc000d0908e652700820f8eee4b17effdf48f637 Reviewed-by: Robert Löhning <robert.loehning@qt.io>
* SquishTests: Don't initialize an entire list for reading one itemRobert Löhning2023-07-277-15/+16
| | | | | | | | The point of Python3 returning objects instead of lists is that it will iterate just as far as items are actually being used. Change-Id: If4d9742bb47aa9cac1166a0ff6f10d211829fd85 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* SquishTests: Skip too old Qt on WindowsChristian Stenger2023-07-272-2/+11
| | | | | | | | | | | When creating a command line project from wizard we end up with code that is not compilable on Windows when using too old Qt versions. Explicitly do not use the older Qt versions as this fails to build and the whole tests would need to get adapted to handle this appropriate instead. Change-Id: Ia8a253a0c5d8d20ea181dd33dc8d31cb83cb31c3 Reviewed-by: Robert Löhning <robert.loehning@qt.io>
* SquishTests: Adapt cmake based speedcrunch testChristian Stenger2023-07-273-1/+43
| | | | | Change-Id: Ic4c22311828f2c0364cbc514b98d2cb4e7d1b86a Reviewed-by: Robert Löhning <robert.loehning@qt.io>
* Debugger: Allow usage of Python 2 based GDB versionsCristian Adam2023-07-271-6/+6
| | | | | | | | Amends 7a210c41b42e4bd2f3db4a145f6d11e463d48254 Fixes: QTCREATORBUG-29440 Change-Id: I5991f7954c4831b732ea2b391e5542fab96a308e Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* Terminal: Improve paste performanceMarcus Tillmanns2023-07-266-17/+84
| | | | | | | | | | | | | | | Pasting large amounts of data on macos would block the App indefinitely. The issue was a blocking call to ::write. The first fix for that was to set O_NONBLOCK on the tty stdout fd. The second fix was to pass the actual result of the write back to the caller so they can react to it. In the TerminalSurface we now check if the write was successful and if not we buffer the data and try again later. Change-Id: Ibc92cce57fad88b5e9aa325197b42e17bec5e746 Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Git: Switch order of GitClient and GerritPlugin constructionhjk2023-07-251-1/+2
| | | | | | | | | | | | The GerritPlugin constructor calls GerritParameters::fromSettings() which then calls calls detectApp() if there is no curl (or no ssh/GIT_SSH). On Windows this ends up calling GitClient::instance()->gitBinDirectory() which crashes as the GitClent instance does not exist at this time. Work around by switching the construction order. Change-Id: I0b1172d6b7ec96502a51684578b78042a42a95ca Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* ProjectExplorer: Fix crash on toolchain re-detectionChristian Kandeler2023-07-252-3/+6
| | | | | | Fixes: QTCREATORBUG-29430 Change-Id: I8233371f70c3889ef81a3f111c298205712a2838 Reviewed-by: hjk <hjk@qt.io>
* GitHub/COIN: Use Qt 6.5.2Eike Ziller2023-07-252-2/+2
| | | | | Change-Id: Id2c7b7080ac2efb05e93d88804007fc3f61e1dc3 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* Terminal: Fix nano pasteMarcus Tillmanns2023-07-251-1/+7
| | | | | | | | Nano does not work well with pasted \n, so we replace them with \r. Change-Id: I2518e6e2095b5ee76e8eca55dede7ed708f21b9e Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* German translation: BareMetalEike Ziller2023-07-241-57/+60
| | | | | Change-Id: I67beed63915ed2f5f14abef529512aa3560d15ae Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Debugger: Fix inverted logic for adding magical search pathshjk2023-07-211-1/+1
| | | | | Change-Id: I8471242cd422a68a2652ff23741d0615380e2e8d Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Bump version to 11.0.1Eike Ziller2023-07-212-4/+4
| | | | | Change-Id: I94e939f2cf81adedea914873dc0b5aa87decdb2f Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Debugger: Fix core loading dialogCristian Adam2023-07-211-1/+4
| | | | | | | | | With lldb on Windows I had cases when the "OK" button would be disabled even though I had the files set for both fields. Change-Id: I510e63d0e27e685df7c5c3f6e6f1d608f0e63bb0 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* Issues: Prevent ever-growing sessionEike Ziller2023-07-212-11/+17
| | | | | | | | | | | | | | | | | The session contains a list of disabled issue categories, and that was growing with each start of Qt Creator, accumulating entries for categories that are added as "disabled by default". When adding a category as "disabled by default", it would unconditionally append it to the list of disabled categories. This list is saved and restored at Qt Creator restart, and then, when the category is added by the code as disabled by default, it was appended again, now appearing twice. Use a set for the disabled categories internally to avoid this. Change-Id: I0e2fae92d5b78d6bcc13d946f27241ddb8da84b6 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Doc: Fix reference to an image whose format changed to WEBPLeena Miettinen2023-07-202-2/+2
| | | | | Change-Id: I123af115096b17fdbe500af37f25704a45ad78a1 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Doc: Change Extending Qt Creator Manual \page to index.htmlLeena Miettinen2023-07-201-2/+2
| | | | | | | | | | | It was extending-index.html to solve some issues that were caused when generating the manuals from the same sources, but those seem to have been solved. The name index.html was already used at doc.qt.io for version 10.0. Change-Id: I16c11d286107141f49cf28824cef998bd233d975 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* sdktool: Fix writing filesEike Ziller2023-07-201-1/+1
| | | | | | | | | | | | Fix an error when copying the file operations to sdktool. resolveSymlinks was (basically) always returning an empty string. Instead it should return the first file path that is not a symlink. Amends bb4d9c92e77f44b55f06a8b8080b5f35d363a1f5 Change-Id: Id6bfcc3332c14f074ab635e11ca0536b5326dbb1 Reviewed-by: hjk <hjk@qt.io>
* SquishTests: Adapt to different ui approachChristian Stenger2023-07-201-1/+1
| | | | | | | | | Using the window title property on macOS is not reliable as message boxes do not get any there. Use the expected text of the message box instead. Change-Id: I36dc865dcce6ba98643f0174887de12c197b3222 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* SquishTests: Fix used short cut on macOSChristian Stenger2023-07-201-6/+13
| | | | | | | | | Modify used short cut on macOS again. This tends to break depending on OS version, underlying keyboard layout and maybe even more causes. Change-Id: I79b0e281128b8f779307782038aa9fb42510b633 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* SquishTests: Handle codec problemsChristian Stenger2023-07-202-2/+9
| | | | | | | | | | | | | Reading files depends on the system encoding and will return a bytes object instead of a str even for text files on some Windows setups. Handle this by explcitly converting to str if needed. Handle possible decoding issues by falling back to UTF8 encoding when running into decoding error while decoding on Windows. Change-Id: I8c1f24ff052710e4b1927399d54e321088e3b171 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* SquishTests: Adapt to different texts on macOSChristian Stenger2023-07-191-1/+2
| | | | | Change-Id: Ie97003fd7de907d1a0f3ac71d6244dd68e2bf833 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* German translation: GitLabEike Ziller2023-07-191-66/+66
| | | | | Change-Id: I7efac2f2ef7ad5ce981de8cd33952597f5d940b9 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* German translation: DockerEike Ziller2023-07-191-53/+54
| | | | | Change-Id: Idf6f26e2b2f0f4c803cebc7c0fe52ee22af96332 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* SquishTests: Adapt to Python 3Christian Stenger2023-07-191-2/+2
| | | | | | | | A dict's values object is not a list as it had been in Python 2. Explicitly convert it. Change-Id: Iab54a5833b77c6890b108065657da3ff73c96f7f Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* Squish: Fix menu handling on macOSv11.0.0Christian Stenger2023-07-181-0/+7
| | | | | | | | | | | | | | Some menus inside QC have special numbering - but this only applies to Linux and Windows. On macOS we do not add this special numbering. Additionally this patch stabilizes the triggering of submenus. When they get triggered it takes a split of a second until the items inside the menu are usable. Let squish wait until the sub menu is fully present before trying to activate some of its items. Change-Id: I32c688a937ada1da07506d4ebd22730e4f2bcaef Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* German translation: CopilotEike Ziller2023-07-181-34/+37
| | | | | | Change-Id: I70abcdee4c38923d03450a43413e34782d2af160 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Doc: Fix navigation links from how-to and reference topics in QDS ManualLeena Miettinen2023-07-186-5/+35
| | | | | | Change-Id: Ie3ea9be3b62c6a7da91debcd9b28e422d5bc7dd6 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Pranta Ghosh Dastider <pranta.dastider@qt.io>
* Cmake: Make line edit in formatter settings editable againhjk2023-07-181-3/+8
| | | | | | | ... and improve layout a bit Change-Id: Ib1f7626259ca59190804faab5e2f453e8520de58 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Changelog: Fix documentation linksEike Ziller2023-07-171-7/+7
| | | | | | | It is doc.qt.io, not docs.qt.io Change-Id: I3487b3634cfc0f960f0a34456742f1ab7616f37a Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* CMakePM: Use staging dir only when selectedCristian Adam2023-07-141-1/+1
| | | | | | Fixes: QTCREATORBUG-29223 Change-Id: Ibc31b73ddda4f3906929ec1a4ff13eca84a704c8 Reviewed-by: hjk <hjk@qt.io>
* Examples: Add new/renamed categories for Qt 6.5.3 to sorting infoEike Ziller2023-07-141-9/+13
| | | | | | | Change-Id: I565c8f47219f462c0d37504f6a97975e11504876 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>