aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add change log for 9.0.2v9.0.2Eike Ziller2023-02-171-0/+102
| | | | | Change-Id: Ie94ae6ffab82fcc9eb86275d57c5990f5f1d8ae3 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Link with Qt: Remove now harmful checkEike Ziller2023-02-171-8/+0
| | | | | | | | | | | | | | | | | | | | | | The check was trying to find out if the Qt Creator installation is part of the online installer or a Qt installer, by checking if there are install settings without the key "Settings/InstallSettings". Since we made Qt Creator optional in the installer, the install settings contain that redirection key anyway, so it is no longer an indicator for Qt Creator being part of the online or an Qt installer anymore. Actually the check now _disables_ the Link with Qt button for the commercial Qt Creator offline installer on macOS, because that ships install settings that add the plugin path to the commercial plugins outside the Qt Creator app bundle, but does not contain "Settings/ InstallSettings". Just remove the check. Change-Id: I88c3ef007a728dff0f4214e5a5683ffcede23796 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: David Schulz <david.schulz@qt.io>
* Fix opening Terminal on macOS 13Eike Ziller2023-02-141-1/+7
| | | | | | | | | | | | | | When Qt Creator is notarized. Using "open" results in a privacy error. A workaround is to use osascript. Unfortunately then the terminal window does not close automatically anymore. Fixes: QTCREATORBUG-28683 Change-Id: I9861d7bd5100fd28b46b774fa465c970758a3a3f Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Let Debian packages install to /opt/qt-creatorEike Ziller2023-02-141-1/+1
| | | | | | | | | instead of /opt directly. Seems to be more conventional Change-Id: I6d3b0b973684b6f72c096eeb4f2b572012f30351 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: hjk <hjk@qt.io>
* SquishTests: Avoid known bug with CMake-based Widgets projectsRobert Löhning2023-02-131-1/+2
| | | | | | | | | ...and start testing it again as soon as the report is closed. Task-number: QTCREATORBUG-28787 Change-Id: Ib33efb6ef2851726a183576bfde5db0a1a5d8c38 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* SquishTests: Explicitly convert QString to strChristian Stenger2023-02-091-1/+1
| | | | | Change-Id: Idcd70a18ed5535d8ad76c09007558cb96f20d178 Reviewed-by: Robert Löhning <robert.loehning@qt.io>
* SquishTests: Avoid crash in testChristian Stenger2023-02-091-0/+7
| | | | | | | | | | Workaround crash inside a test that may happen if the test tries to wait for an object when the AUT is gone already. Check for a clean exit and only if this is not the case try to continue with the error handling. Change-Id: I65f3e72cd343ec527ad822de915bc0c49c263153 Reviewed-by: Robert Löhning <robert.loehning@qt.io>
* CMake: Fix editing of CMAKE_PREFIX_PATHEike Ziller2023-02-081-1/+1
| | | | | | | | | | | | | When editing e.g. CMAKE_PREFIX_PATH in the initial configuration settings it was resolving the path(s) in there, thinking that it was relative to the project directory. Fix that after editing the resolved file path was set as the new value, instead of the raw unexpanded data. Fixes: QTCREATORBUG-28779 Change-Id: I14d097e3a3a51b78006dd30a67b08477cfe0f2d8 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* Editors: Fix message box when opening broken code style fileEike Ziller2023-02-081-2/+3
| | | | | | | | | The file name is not supposed to be the button label. Fixes: QTCREATORBUG-28746 Change-Id: I45ee2a860da8f7ffefc6d72c0d85b7f6a261489c Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* CMake: Detect cmake from ARM homebrew on macOSEike Ziller2023-02-071-2/+3
| | | | | | Change-Id: I67c539c9e9a42de086df9e0c12fa4e661494e121 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* UpdateInfo: Fix never ending progress spinner in settingsEike Ziller2023-02-071-1/+2
| | | | | | | | | When searching for updates from the settings page. We need to always send the signal that the search finished. Fixes: QTCREATORBUG-28745 Change-Id: Ia4c764081916fdde4175799ab6d74fb7c4045810 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* GitHub/Linux: Fix missing chrpath for deploymentEike Ziller2023-02-071-1/+2
| | | | | | Change-Id: If1ea7b04bd6636183c90a2471f6b68998036e923 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* GitHub: Create and upload Debian packagesEike Ziller2023-02-071-0/+26
| | | | | Change-Id: I989ef46e9e99de4291f582d096ad6dc44d7b47ec Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* GitHub: Fix ccache archive downloading if there is noneEike Ziller2023-02-071-25/+27
| | | | | | Change-Id: I54fcac1a86c6f101469a695aa3610ae755354271 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* SquishTests: Fix designer testChristian Stenger2023-02-031-2/+2
| | | | | | | | Children inside the object inspector are sorted lexicographically nowadays. Change-Id: I2f704e3a3cca526246babb2b12d48fe359eb6e6b Reviewed-by: Robert Löhning <robert.loehning@qt.io>
* CMakePM: Improve CMake presets kit config hashingCristian Adam2023-02-024-11/+53
| | | | | | | | | | | | | | | | Amends a3153c535d7e9e64fab530d86e64ab76ef4988e0 QT_QMAKE_EXECUTABLE was not taken into consideration and this would result in not matching kits. Also Visual Studio generator will not have a CMAKE_C|XX_COMPILER values in the cache. On Windows there could be paths with "C:" vs "c:" and the hashes again wouldn't match. Change-Id: I5da5fafbd29f3d1fd8c9615c41b7659e63c30ff1 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* SquishTests: Fix tst_cmake_speedcrunchRobert Loehning2023-02-021-1/+1
| | | | | | Change-Id: I76b199a7e1f2e92b78b42ee08342a95bdf385950 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* SquishTests: Fix default settings testChristian Stenger2023-02-011-0/+7
| | | | | | | | | Depending on the presence of the llvm that had been used when building QC we need to expect its clang. Use special environment variable to be able to do this correctly. Change-Id: I2497bbd96483f37aa90842d7fffa5d0a8103ff45 Reviewed-by: Robert Löhning <robert.loehning@qt.io>
* QtSupport: Fix missing object nameChristian Stenger2023-02-011-0/+1
| | | | | | | Used in squish tests. Change-Id: Ib0eadfd295a5f03449509d70d1e1dfd1601e616b Reviewed-by: hjk <hjk@qt.io>
* SquishTests: Use openDocument()'s return for verifying project treeRobert Löhning2023-02-011-9/+8
| | | | | | | | | It's used anyway, relies on the expected project tree and works around a problem on some machines. Change-Id: Ic1e3e7a3f492f37d70c4409699ca78ad548d7445 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* SquishTests: Redo open document from navigation viewChristian Stenger2023-01-271-15/+29
| | | | | | | | | | For unknown reasons this does no more work on a couple of machines. Re-doing the original approach by explicitly expanding the tree as necessary up to the file we want to open. Change-Id: I329e18f3e2162e381e11fb6164a448ae67def606 Reviewed-by: Robert Löhning <robert.loehning@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Utils: Fake root infoMarcus Tillmanns2023-01-274-5/+26
| | | | | | | | | | | | | | | | When trying to open a FileDialog all roots were tested for existence. This is slow and might show ask-pass. Since "/" can be considered always valid, we create a fake entry for it and only test existence of remote paths if they are not a root path. In the future FilePath should get a "isRoot()" function so we don't just test for == "/". Remove the fileAccess from WebAssembly devices. Change-Id: I7a1a6e7d2025e9fd4428e4bd1d07cdbdb5680c8e Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Update qbs submodule to HEAD of 1.24 branchChristian Kandeler2023-01-271-0/+0
| | | | | Change-Id: I5c6a67335460bdc8b45e3808ddff22d91cfe3671 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* QmlDesigner: Fix missing validationMarco Bubke2023-01-271-0/+3
| | | | | | | | | | | | Fixes: QTCREATORBUG-28672 Change-Id: Ic8663d6c44cadbf3678ae564ec91572998d6d236 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io> (cherry picked from commit 571d822c7b5d270a3017ffddb6b779dcac488d60) Reviewed-by: Robert Löhning <robert.loehning@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Update qbs submodule to HEAD of 1.24 branchChristian Kandeler2023-01-251-0/+0
| | | | | | | Change-Id: I38933e0ca016d31a0702b368c9b7ccd72741d3f1 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* German translation: GitEike Ziller2023-01-231-59/+61
| | | | | | Change-Id: I9ed345f452c72ac588a4df0d71ff2d92f117c8eb Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Robert Löhning <robert.loehning@qt.io>
* Squish: Use consistent permissionsRobert Löhning2023-01-233-0/+0
| | | | | Change-Id: Id2849d4aaa2da181df0e674a971abd89c3083662 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* TextEditor: fix endless loop on adding cursor for selectionDavid Schulz2023-01-231-5/+7
| | | | | | | | | | | | | | Since the find of QTextDocument is line based, it is not possible to find selections spanning multiple lines in the editor. Triggering a find on a search term containing a paragraph separator returnes an invalid QTextCursor which always result in searching from the beginning of the document in the add cursor for selection logic. Prevent that by checking the selected text beforehand and add a safety net in the loop to verify that we do not start over again on an invalid TextCursor. Fixes: QTCREATORBUG-28709 Change-Id: I8c1b9d16e707fefbba6dc0a0a9ef21b8c82ebe19 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* Utils: Fix crash in fsengine testMarcus Tillmanns2023-01-231-0/+4
| | | | | | Change-Id: I6a28dfc907d34f1a6e20bc92f5cc506b308f1c0b Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Utils: Add FilePath.hasFileAccess()Marcus Tillmanns2023-01-203-1/+9
| | | | | | | | | | | | | FilePath::hasFileAccess allows a user to test if a specific device can access files. This is faster than calling "exists()" as it does not have to actually check anything on the device. cherry picked from commit 21ef25a0f5aa957857528861a960aeb1f2bb9180 Task-number: QTCREATORBUG-28531 Change-Id: I363ca634d921464fe4ec68397c09fba49dccee25 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* Fix tab order in "file deleted" dialog on Windows/LinuxEike Ziller2023-01-191-3/+3
| | | | | | | | | | For some reason it doesn't like it if the order of adding the buttons is different, though that works on macOS. Fixes: QTCREATORBUG-28676 Change-Id: Iea7c595216140dd242cac0aa528699866c4bb1c7 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: David Schulz <david.schulz@qt.io>
* CMake: Fix missing path to Ninja from Qt installersEike Ziller2023-01-161-1/+1
| | | | | | | | | | | | In the configure environment for MSVC toolchains. The MSVC toolchain actually overwrites the PATH environment (triggered via kit()->addToBuildEnvironment(result)), which it shouldn't. But this is a minimal fix for Qt Creator 9.0 that also is in line with what BuildConfiguration::baseEnvironment() does. Fixes: QTCREATORBUG-28685 Change-Id: I0cb8e3c84419403672175bd581c16d90902e23ba Reviewed-by: David Schulz <david.schulz@qt.io>
* AutoTest: Redo handling of data tags with spacesChristian Stenger2023-01-132-11/+16
| | | | | | | | This basically reverts commit 7684571e108f5d as it broke running the test inside the debugger. Change-Id: Iacd46e2b9fb5af813fbf17156fd847375d750480 Reviewed-by: David Schulz <david.schulz@qt.io>
* Coin: Update instruction yamls to run qtsdk scripts in PipenvPatrik Teivonen2023-01-122-22/+40
| | | | | | | | | | Install the Python module dependencies for qtsdk from Pipfile and run the install_qt.py and bld_sdktool.py script inside the Pipenv virtual environment. Change-Id: Id84733b822964ed2099883de3708f9da2e2d1818 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* qmlproject: fix qmlViewerAspectTim Jenssen2023-01-122-1/+3
| | | | | | | | | | - add its own settings key so it gets saved into the project settings - read the correct placeholder text, commandLineGetter is set too late and would also create a loop (qmlViewerAspect is used to get it) Change-Id: Iee3458cfe84e3f6b6750aa14d9d89347da21b37c Reviewed-by: Burak Hancerli <burak.hancerli@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Utils: Guard against endless loop in PathChooserhjk2023-01-121-0/+6
| | | | | | | | | | | | | Adding a slash to the text in the path chooser for a custom build directory currently triggers an endless recursion. This here does not fix the actual problem but at least prevents the crash. Task-number: QTCREATORBUG-28682 Change-Id: Ic7d70ccfaccc1fd9437ca41e8b40b027718af6cb Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* ProjectExplorer: Fix compilation with Qt 6.6hjk2023-01-121-2/+2
| | | | | | | | | | | | | appoutputpane.cpp:272:12: error: cannot convert ‘const QList<ProjectExplorer::Internal::AppOutputPane::RunControlTab>::iterator’ to ‘ProjectExplorer::Internal::AppOutputPane::RunControlTab*’ in return Caused by "QList: deprecate iterator<->pointer implicit conversions" 0220484329029fc7598dfe11ba35ea10c3126477 b6cbd9c43afc7e005c1f78e1d0f700524930ed71 Change-Id: I596ead9deafca1154b5a79495e707137b61a14d5 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> (cherry picked from commit 8ee6b14f00ebc1c0d113a2ee092cd0742450fe1e) Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* CPlusPlus: Work around Qt SiC breakagehjk2023-01-121-1/+2
| | | | | | | | | | | | | | | | | Qt Base b6cbd9c43afc7e005c1f78e1d0f700524930ed71 introduced #if !defined(QT_STRICT_QLIST_ITERATORS) && (QT_VERSION >= QT_VERSION_CHECK(6, 6, 0)) && !defined(Q_OS_WIN) #define QT_STRICT_QLIST_ITERATORS #endif removing iterator-to-pointer conversion starting with Qt 6.6 as dev, i.e. now. Change-Id: I75f25623917d0e666fb267db70d9701a13b270f2 Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> (cherry picked from commit be89f99ecc631431c15df970112f909eb38114d2) Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Utils: Show hidden directories in non-native file dialog by defaulthjk2023-01-121-0/+1
| | | | | | | Selecting .ssh/*.pub is tricky otherwise. Change-Id: Icd26ec7e4bb6fbb348d62fe6f4a629ea2e723706 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* German translation: Some individual itemsEike Ziller2023-01-121-17/+20
| | | | | | | | That complete translations of various contexts Change-Id: I0b2236efdb63f6ec9280ef5406410afd196a986a Reviewed-by: Robert Löhning <robert.loehning@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* Allow combo box scroll wheel when pressing CtrlEike Ziller2023-01-111-2/+4
| | | | | | | | | | | Wheel scrolling was disabled for combo boxes in Qt Creator 9, because it created more issues than it solved. Instead of completely disabling it, allow wheel scrolling when simultaneously holding Ctrl. Fixes: QTCREATORBUG-28578 Change-Id: I08bccf039b60035bf425fac95b6af6fad349f43a Reviewed-by: Tasuku Suzuki <tasuku.suzuki@signal-slot.co.jp> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* ClangCodeModel: do not highlight tokens as TextDavid Schulz2023-01-111-0/+4
| | | | | | | | Fixes: QTCREATORBUG-28639 Fixes: QTCREATORBUG-28637 Change-Id: Idfcfc6c61db9d5449ab14eda566ce704160bac54 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: David Schulz <david.schulz@qt.io>
* German translation: DebuggerEike Ziller2023-01-111-138/+143
| | | | | | Change-Id: I37f8f54b498d21e9c84fe5b795a2fe4eb5df6864 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Robert Löhning <robert.loehning@qt.io>
* Debugger: Add missing spaceRobert Loehning2023-01-101-1/+1
| | | | | Change-Id: Ibb8623392c1b0e759df198fab87a6059558236e9 Reviewed-by: David Schulz <david.schulz@qt.io>
* AutoTest: Fix handling of data tags with spacesChristian Stenger2023-01-101-4/+10
| | | | | Change-Id: Ie725d8bf67b6a143f52c84b902b69a077a55a2bc Reviewed-by: David Schulz <david.schulz@qt.io>
* AutoTest: Fix checked state for QtTestChristian Stenger2023-01-101-0/+7
| | | | | | | | Data functions and special functions may get handled as normal test functions which obviously fails when executing tests. Change-Id: I630fedcdbcc7577c1896f8cccbe77008a623900f Reviewed-by: David Schulz <david.schulz@qt.io>
* CMakePM: Add default kit configuration hashingCristian Adam2023-01-063-11/+66
| | | | | | | | | | | | | | | | | | This adds a QTC_KIT_DEFAULT_CONFIG_HASH variable containing the hash of all the default Qt Creator CMake kit variables: * CMAKE_C_COMPILER * CMAKE_CXX_COMPILER * QT_QMAKE_EXECUTABLE * CMAKE_PREFIX_PATH This way when a CMake preset changes any of these CMake variables a new Kit will be created. Otherwise a previous kit containing different values will be used. Fixes: QTCREATORBUG-28609 Change-Id: I77b67e9c8fa15dc3ff2f22c5b63d4ca1c7670fdc Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Debugger: Remove spurious waringhjk2023-01-061-1/+0
| | | | | | Task-number: QTCREATORBUG-27160 Change-Id: Ie69c60688249efcd4d2c2330d6555cf7f708edd2 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* COIN/GitHub: Use Qt 6.4.2Eike Ziller2023-01-062-3/+4
| | | | | | | | Change-Id: Ia66ce7e0a8ebf988c1af9888ddb7e9461f0cac05 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io>
* CodeStyle: Fix preview updateArtem Sokolovskii2023-01-052-8/+27
| | | | | | | Fixes: QTCREATORBUG-28621 Change-Id: I66a66d9c16933ebd8197f9e286e72dce7a621933 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: David Schulz <david.schulz@qt.io>