summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Bump version to 4.12.4v4.12.44.12Eike Ziller2020-07-073-7/+7
| | | | | Change-Id: I8175830fb3a6f006ebd6f71441452ac04587ce44 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Squish: Stabilize tst_HELP02Robert Loehning2020-07-061-0/+1
| | | | | | | | Depending on the sizes of the treeview and its contents, the click might hit the scroll bar and result in a script error. Change-Id: Ic3658b1f180d1aa5a792d6664d2d7f56d8d0c353 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Change log for 4.12.4Eike Ziller2020-07-061-0/+4
| | | | | Change-Id: I04fb6e04f4690b2370ec7a475491d8e10d3c0139 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Fix debugging C++ on iOS devicesEike Ziller2020-07-061-20/+25
| | | | | | | | | | | Partially revert 7f958700a09f09ac124b20d23236ede472b58d87 for 'remote-ios'. The original commit changed the way attaching to a remote server or process works, attempting to make it work with lldb-server on a remote linux device. That breaks connecting to the debugging server on iOS devices. Fixes: QTCREATORBUG-23995 Change-Id: I7a793fa73a564a4ef19cf82e13c2ad50d4247ee3 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* McuSupport: Change version checking from exact == to >= minimumAlessandro Portale2020-07-063-18/+29
| | | | | | | | | | | | | | | | | | | | | | | So far, one Qt Creator version supported exactly one Qt for MCUs version, mainly because of incompatibilities in-between Qt for MCUs versions. The compatibility of 1.2 with 1.3 and further is now deemed stable enough to loosen the version checking. This change replaces the exact versions comparison (between Qt for MCUs SDK version and what Qt Creator supports) to a minimum version check of what Qt Creator supports. One limitation that remains is that you can only have one kit per target, across the supported Qt for MCUs versions. To mend this, UI changes are required (in a separate commit). Workaround for now: If you want e.g. Desktop Kits for different Qt for MCUs versions at the same time, you need to work with kit clones. Task-number: QTCREATORBUG-24293 Change-Id: Ifd31cd2eadbc1d7fa02415e1928d0047cf007f7c Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* McuSupport: Find default FreeRTOS dir inside pre-installed board SDKAlessandro Portale2020-07-063-8/+25
| | | | | | | | | | | | | | Qt for MCUs 1.3 ships the board/MCU SDKs, and also adds the subdir to the FreeRTOS component inside the board/MCU SDKs as "boardSdkSubDir" to the .json files (see: UL-2760). Task: Qt Creator needs to lookup that "boardSdkSubDir" value and use it to construct a default path for the FreeRTOS path. Task-number: QTCREATORBUG-24300 Change-Id: Ie3c8186b76443d5fe3640226ea61aa8b14779d54 Reviewed-by: Rainer Keller <Rainer.Keller@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Add changes file for 4.12.4Eike Ziller2020-07-031-0/+47
| | | | | Change-Id: I4f98bdfddfe0ba3a4d9fa9473ae91d026f453b5a Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* McuSupport: Adjust license headersAlessandro Portale2020-07-0314-20/+20
| | | | | Change-Id: I00ce0c63c59f6d20f8244ea9c693259044d0f7b8 Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io>
* McuSupport: Read *_FREERTOS_DIR values from .jsonAlessandro Portale2020-07-021-13/+2
| | | | | | | | Instead of from a hard-coded list. Task-number: QTCREATORBUG-24296 Change-Id: Ib74fd854f035d561b8a568987984a2a2cb730175 Reviewed-by: Rainer Keller <Rainer.Keller@qt.io>
* McuSupport: Skip Renesas' "RGL" board SDKAlessandro Portale2020-07-021-1/+2
| | | | | | | | | | | | | ghs-renesas-rh850-d1m1a.json lists "boardSdk/envVar": "RGL_DIR". However, that dependency is already handled as vendorSdk. This and the other board SDKs differ so much, that we simply keep "RGL" as vendorSdk and skip it when creating board SDKs. Amends c43ef81d4f59c07b580a8c95335ed9cc6fa7955d Task-number: QTCREATORBUG-24201 Change-Id: I052d50f413ecc5f318d4146c207ab690acf1b1f5 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Squish: Fix expectation when canceling a cloneChristian Stenger2020-07-011-1/+1
| | | | | Change-Id: I674324a4a98e4329c4445de69ceddeffba607ff3 Reviewed-by: Robert Loehning <robert.loehning@qt.io>
* McuSupport: Bump supported Qt for MCUs version from 1.2 to 1.3Alessandro Portale2020-06-301-2/+2
| | | | | | Task-number: QTCREATORBUG-24203 Change-Id: I259a4bfba49624d313fd1a2562f6288e047a16da Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* McuSupport: Add MCU/Board SDK package to kitsAlessandro Portale2020-06-301-1/+27
| | | | | | | | | | | | | | | | | | | In order to access target specific APIs/services, one needs a vendor specific SDK. In Qt for MCUs, these SDKs get integrated to the build system by a couple of environment variables. Some examples: EVKB_IMXRT1050_SDK_PATH, STM32Cube_FW_H7_SDK_PATH, STM32_CUBE_L4_INSTALL_PATH, etc. This patch adds a path chooser for MCU/Board Sdk installations to the McuSupport Kit creation settings page. The selected path is set as environoment variable in the Kits settings. A fix in parseDescriptionJson was needed to read the boardSdk/envVar. Task-number: QTCREATORBUG-24201 Change-Id: I4ceb9ce0f54e321646bbdeb256703011583feefb Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* CMake: Fix handling of setting for Ninja pathEike Ziller2020-06-301-2/+5
| | | | | | | | When Ninja is installed via the installer, it writes the full path to the Ninja binary into the settings. Change-Id: I95a19c8c1afbf980c899fb1eeb8656e7e86ad4a2 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* QmlJS: Fix codemodel resetChristian Kamm2020-06-301-0/+5
| | | | | | | | | The QML import paths weren't scanned for modules when the code model was reset. Task-number: QTCREATORBUG-24082 Change-Id: If818ebf4ef123529e5fe8de40e6b5d0154c84680 Reviewed-by: Fawzi Mohamed <fawzi.mohamed@qt.io>
* Doc: Update the setup instructionsVenugopal Shivashankar2020-06-291-36/+40
| | | | | | | | | | | Dropped/moved links to the Qt for MCUs documentation at some places. This should improve the reading experience and avoid confusion. Fixes: UL-2324 Change-Id: Ied18323355884092d9b02a2228bdf8a9e1c4235c Reviewed-by: Rainer Keller <Rainer.Keller@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Doc: Update the MCU options dialog screenshotVenugopal Shivashankar2020-06-252-0/+3
| | | | | | | | | In addition, document the option to create and remove a kit for the chosen SDK. Change-Id: I90c405d12ad6bc5d369453f70049b4fe9dd03962 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* QML: ensure that signal treated like functions/slots in completionsFawzi Mohamed2020-06-241-6/+6
| | | | | | | | | Renames enumerateSlots -> enumerateMethods to mirror the new usage Fixes: QTCREATORBUG-24124 Change-Id: I31ac7d5f4bf568e1ab9c9463b1ebd0011dfcb9d6 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* Add shiboken2tasks.py for converting Qt for Python's shiboken tool warningsFriedemann Kleint2020-06-241-0/+52
| | | | | | | | | | | Add a tool for converting shiboken warnings to task files to be able to load them into the Issues pane of Qt Creator. Task-number: PYSIDE-904 Change-Id: Ie28e93ad76a615e549594edf5bba60e134b46a88 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> Reviewed-by: Christian Tismer <tismer@stackless.com> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* McuSupport: Display the expected Qt for MCUs SDK version numberAlessandro Portale2020-06-231-1/+2
| | | | | | | | Reduce the confusion around the Qt for MCUs version that is currently supported in this Qt Creator version. Change-Id: I21e88bfacc7502244aec49e829a1dfff0075226f Reviewed-by: hjk <hjk@qt.io>
* German translation: Avoid ambiguous shortcut overloadRobert Loehning2020-06-231-1/+1
| | | | | | | | | | D clashes with "Datei". E clashes with "Erstellen". B clashes with "Bearbeiten". U clashes with "Auswahl in Kleinschreibung wandeln". Change-Id: I2ef93837fda1ba6e05d6dab2d6cc36fbddf23817 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* McuSupport: Improve version checking, support Desktop-only installationAlessandro Portale2020-06-221-5/+5
| | | | | | | | | | | | | | | | | | | | | Due to the missing .json file for desktop targets, the Desktop target was only listed in the target chooser if at least one hardware target (which do have .json files) was installed in the SDK. This prevented using of Desktop-only Qt for MCUs installations. This change causes the Desktop target to be listed if the respective library exists. With a Desktop-only Qt for MCUs installation, this means that we blindly trust that the selected Qt for MCUs SDK version is supported. On the other hand we make the version checking stricter (in case we do find .json files). If the version of one targets does not match, the whole SDK installation is deemed invalid and no target is listed, also none for Desktop. Change-Id: I9d83b22255c19c5f8c6360e0b6137ce40311f8c4 Reviewed-by: Marco Bubke <marco.bubke@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* BinEditor: Crash less on searchhjk2020-06-171-2/+2
| | | | | | | | Task-number: QTCREATORBUG-21473 Task-number: QTCREATORBUG-23978 Change-Id: I8f63fa892b9ef37bc660bd0b96fce5e1d6772b57 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Robert Loehning <robert.loehning@qt.io>
* Squish: Update expected tree for qbsRobert Loehning2020-06-161-57/+0
| | | | | Change-Id: Ib2fd3ec1df0772de2ae2ef7c4083431ccd32095b Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Add changes file for 4.12.3v4.12.3Eike Ziller2020-06-151-0/+62
| | | | | Change-Id: Iaea37345615c572da2bd5697e0a5d771a9168987 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Android: don't delete the openssl dir when cloningAssam Boudjelthia2020-06-151-10/+10
| | | | | | | | | | | | Avoid removing the openssl dir if the selected path already exist and is not empty, rather just recommend selecting a different path or empty the provided one. Fixes: QTCREATORBUG-24173 Change-Id: I1e501b361d4917a59a5720146b11580e79ac32aa Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* CMake: Fix for installationCristian Adam2020-06-121-1/+12
| | | | | | | | | With CMake 3.17-dev the install step is failing because of the symlink. Change-Id: I012ce95f5cc61f4b5b9d6a4c48ded0f738b581f1 Reviewed-by: Eike Ziller <eike.ziller@qt.io> (cherry picked from commit f392d134198bcce565ccb009d51cd29ac9b31639) Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* CMake: Do not treat project with the empty string as a name as invalidTobias Hunger2020-06-112-1/+3
| | | | | | | | | | | | | | CMake will happily accept the empty string as a project name, so do not treat that is invalid in Creator. Apparently the empty project name will get generated by CMake itself if no project() command is found in the top level CMakeLists.txt file. Make sure to set a sensible name if the top-level project has no name, using the directory name of the source directory instead. Change-Id: I3b861daa13c1d0fec31c294ef0ac15338310020d Fixes: QTCREATORBUG-24044 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* McuSupport: Enable resetting of path choosers to the default pathAlessandro Portale2020-06-111-10/+18
| | | | | | | | | | | | | This change adds a "reset" button to the path choosers. Pressing it sets the path to the default path. The default path is now overwritable by the system settings value (if present). This way, there is only one and only default path, which allows us to again simplify McuPackage::writeToSettings(). Task-number: QTCREATORBUG-23860 Change-Id: I192663f3487250b9eba4773d2510abf3f9e66127 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* GLSL: Fix freeze on unexpected end of fileChristian Stenger2020-06-112-0/+4
| | | | | | Fixes: QTCREATORBUG-24070 Change-Id: I2c503932cb2064f4871a4467c26f7af0efb50bc8 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Utils: fix selectAt used with invisible blocksDavid Schulz2020-06-111-5/+3
| | | | | | | | | | Using QTextCursor::movePosition with QTextCursor::NextBlock seems to jump over invisible blocks. Use setPosition instead. Change-Id: I3271fb8570678ef6f09141032948dedee308e20c Fixes: QTCREATORBUG-24019 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* QmlJS: Fix line number for string literals (Part 2)Christian Stenger2020-06-101-2/+4
| | | | | | | | | | Amends 626807c94e3c1e3d. Scanning the strings appears differently if using multi-line strings and using the line terminator at the beginning of a string or having already some characters present. Fixes: QTCREATORBUG-23777 Change-Id: I840a11e3b0e06adda443849f926189bda9dc2e4b Reviewed-by: Fawzi Mohamed <fawzi.mohamed@qt.io>
* TextEditor: fix updating completions after cursor navigationDavid Schulz2020-06-101-1/+4
| | | | | | | | | | Notify the assistant that something has changed after cursor movement shortcuts. Task-number: QTCREATORBUG-24077 Fixes: QTCREATORBUG-24071 Change-Id: Ic956c08140c47a8edc9603227008062a7ab95fa0 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* CMake: Filter out non-directories from LD_LIBRARY_PATH/PATHTobias Hunger2020-06-101-28/+41
| | | | | | Task-number: QTCREATORBUG-23997 Change-Id: I4b92cd484305614b30c70bbdbd8815b0d85b7d98 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Doc: Make instructions for adding Qt versions clearerLeena Miettinen2020-06-081-10/+16
| | | | | | Fixes: QTCREATORBUG-24138 Change-Id: I3cab9c0e4a75cdca7b25be3de24c865fa2f59862 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Debugger: Fix QJson dumper for Qt >= 5.15hjk2020-06-083-42/+400
| | | | | | | | | | | | Storage is internally based on QCbor now. Since this works better when having dumpers for QCbor values, add those, too, for Numbers, Strings, Arrays, Maps for now. None of the custom types. Fixes: QTCREATORBUG-23827 Change-Id: Idf281d859aaf8556d9895646bbc091af85b34157 Reviewed-by: David Schulz <david.schulz@qt.io>
* Bump version -> 4.12.3Eike Ziller2020-06-053-6/+6
| | | | | Change-Id: Ie308ec72c587e7a30b8e7664a90211a9191fa3f0 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* McuSupport: Fix a bug in the writing of settingsAlessandro Portale2020-06-041-6/+10
| | | | | | | | | | | | | | | The plugin wants to only store settings if they differ from the defaults (e.g. a path was edited by the user). The original attempt failed. If the user changed the path, stored it, and then changed the path back to the default, the last change was not stored. Therefore, this change actually removes the settings entry if it equals either the default or the install settings value. Task-number: QTCREATORBUG-24048 Change-Id: I6ab11f276ae270bb8bbf50ad6d2bc7ea3dba2d7b Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Debugger: Adapt offset tests to changed QDateTime structure layouthjk2020-06-041-1/+6
| | | | | | | Chandge with 5f1f0fe0b71c in qtbase. Change-Id: Ifceac5125f974a1ebd2ab2e358ba906188d451a2 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Doc: Add a note against the optional subsectionsv4.12.2Venugopal Shivashankar2020-05-292-3/+10
| | | | | | | | | | | The instructions to add a device or a kit is not necessary if the SDK is set up already. Creator handles these automatically and they are not mandatory to set up the development environment. Fixes: QTCREATORBUG-23859 Change-Id: I8ea7248f060a84eb29278950c68d020026106061 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* CppTools: Add missing serializationChristian Kandeler2020-05-291-0/+3
| | | | | | | | ... for ClangDiagnosticConfig::useBuildSystemWarnings(). Fixes: QTCREATORBUG-24084 Change-Id: Id06cc44f1aa690ea0ae5a808a3b8c95f83c62950 Reviewed-by: Nikolai Kosjar <pinaceae.pinus@gmail.com>
* Add changes file for 4.12.2Eike Ziller2020-05-291-0/+79
| | | | | Change-Id: Iece46998b8addeda4f7e501a87e6d62491937774 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Android: Fix crash in build step when no Qt version is set in kithjk2020-05-291-6/+10
| | | | | | | | Amends 67df868f5c8ff. Change-Id: I0b69a394adefedbb80dfe240c4e5b9a89d29b7b2 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* CppTools/ClangTools: Fix saving diagnostic configs for code modelNikolai Kosjar2020-05-283-1/+10
| | | | | | | | | | | | | As ClangDiagnosticConfig() has tidy and clazy enabled by default now, the ClangTools' importDiagnosticConfigsFromCodeModel() takes diagnostic configs on start up away from CppCodeModelSettings. Ensure that built-in configs do not have tidy/clazy enabled by default. Also, when importing, look at the actually enabled checks. Fixes: QTCREATORBUG-23717 Change-Id: Id8370ae2fff2392fc94aa957fd33c1954aff5594 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Utils: Use QRegularExpression in fileutilshjk2020-05-271-7/+7
| | | | | Change-Id: I48b192630e52ff3825bcb401a19faef59e846da3 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* McuSupport: Qul v1.2 adjustmentsAlessandro Portale2020-05-278-13/+69
| | | | | | | | | | | | | | | | - Bump supported version from 1.1 to 1.2 - Look in Qul_DIR/kits for boards json files (UL-2390) - Remove "pragma main;" from app template main qml (UL-1708) - Add a main.cpp for BareMetal and FreeRTOS each (QTCREATORBUG-24063) - Removed ambiguous armgcc download link (QTCREATORBUG-24052) Task-number: UL-1708 Task-number: UL-2390 Task-number: QTCREATORBUG-24063 Task-number: QTCREATORBUG-24052 Task-number: QTCREATORBUG-24079 Change-Id: Ieb3d0c22b9099b12f91096b5a90c6e84698be788 Reviewed-by: Christian Kamm <mail@ckamm.de>
* Doc: Improve usage of terminology related to embedded devicesLeena Miettinen2020-05-2719-43/+46
| | | | | | | | Make a distinction between "Boot2Qt" and "generic remote Linux" devices. Use "embedded devices" as a more general term. Change-Id: Ice06e6737d6baca001a2a13a6cec7be7624dff2e Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Utils: Add another missing #includehjk2020-05-271-3/+3
| | | | | | | | | Some implicit QActionGroup inclusion is gone in Qt dev. Also, sort includes. Change-Id: Ie6726daf28a4d21a54225c4606cebfc3b81895ba Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Utils: Add missing #includehjk2020-05-271-0/+1
| | | | | | | Some implicit QSet inclusion is gone in Qt dev. Change-Id: I473b423baabdde8d7e3369a6e883eefeb11d02d9 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* remove variant.hpp errorTim Jenssen2020-05-271-2/+0
| | | | | | | | So this can be used with a Qt 5.15 build outside of QtCreator. Change-Id: I691687bf661be21d9c28f13a52ff5df58bb7412a Reviewed-by: hjk <hjk@qt.io>