summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* QmlDesigner: Remove superfluous codeqds/v3.1.0qds-3.1Thomas Hartmann2022-02-251-6/+0
| | | | | Change-Id: I0f2c746130b768844307798007fc1192e0dd2939 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Fix crashThomas Hartmann2022-02-251-0/+1
| | | | | | | | | | If the StudioWelcomePage is used, then SessionPage is not created and m_projectModel is initialized in the constructor of SessionPage. Task-numnber: QDS-6332 Change-Id: If64bfcb42bc2616d68456aa08bb4c03a4f9e15f1 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* StudioWelcom: Slight increase in margin in SplashScreenThomas Hartmann2022-02-251-1/+1
| | | | | | | Change-Id: I5ea3642134ea9ff76e9dc40cc0319933c26f9fc1 Reviewed-by: Brook Cronin <brook.cronin@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> (cherry picked from commit 44aba26a47aa922328f568c06e976b1b9bd49048)
* crashpad: disable calling crashpad_handler on arm64Tim Jenssen2022-02-241-0/+7
| | | | | | | | | | Currently, the none arm handler binary is hanging and needs further investigation. Maybe a complete universal build will fix this, and we can enable it again. Change-Id: I60b5623d8dda500a3be3efd095f91a9609600324 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
* Scripts: Fix uichanges scriptChristian Stenger2022-02-241-0/+1
| | | | | | | Amends 394bfb508f11f. Change-Id: I6e933f8bc18298b81b99a716e734d84fbd2b7528 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* CppEditor: Catch another project pointer access from a threadChristian Kandeler2022-02-247-10/+21
| | | | | | | | | | | Amends 33108795d6. Fixes: QTCREATORBUG-27044 Change-Id: I53d716355b0784841fd8d965c8af14fe321c33de Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* ProjectExplorer: Introduce device://<deviceid>/...hjk2022-02-241-0/+9
| | | | | | | | | | | | | | ... to identify a device in a file path. For use from the sdktool. This is an addition to the pre-existing way to identify devices using e.g. docker://<id> or ssh://<ip>/ Change-Id: Ice5481eab550b2fe39eda4c6d74d9c46fa6b6626 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Squish: Adapt to changed UIChristian Stenger2022-02-246-26/+30
| | | | | Change-Id: Ie25ba8a72b7fd93f60f04303ed223e7cdf2406af Reviewed-by: Robert Löhning <robert.loehning@qt.io>
* QmlDesigner: Fix imported meshes don't appear in a model's sourceMahmoud Badri2022-02-241-1/+1
| | | | | | | | Fixes: QDS-6329 Change-Id: Iec70492d8dfce4f8a0ce05cbd16991f70b9eb985 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* WinRt: enable plugin on Windows 11David Schulz2022-02-241-1/+1
| | | | | | Change-Id: Ie935b1baaa4331499143de4eb3fb9bd57b38c347 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* LanguageClient: track all created diagnostic marksDavid Schulz2022-02-243-20/+19
| | | | | | | | | | | | Removing a block results in taking marks of that line out of the document, but does not delete those marks. So we cannot rely on iterating over marks of a document to delete all marks for a specific file. Instead save all marks from text mark creator for a file path and iterate this list to delete diagnostic marks. Fixes: QTCREATORBUG-26585 Change-Id: Idc41fce5de4ade68f4a29c23ba02844701b44d3c Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* QmlDesigner: Use LoggingCategory in ImageContainerThomas Hartmann2022-02-231-1/+4
| | | | | | Change-Id: Ibdce399fc2df19883d6ffd12e9441c58d46035ec Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Fix path when importing a 3D model inside a componentMahmoud Badri2022-02-231-5/+3
| | | | | | | | Fixes: QDS-6319 Change-Id: Ia9dbdf9a2d32eaf996cca2ba84e89ca8111dab1c Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Samuel Ghinet <samuel.ghinet@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Disable scrolling when context menu is openMahmoud Badri2022-02-232-1/+3
| | | | | | | | | | | Disable components and assets views scrolling when the context menu is open. Fixes: QDS-6317 Change-Id: Ibdbf29b14d0383fd2b876c655ccb17c35fdb6aff Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Samuel Ghinet <samuel.ghinet@qt.io>
* Android: don't stop deployment if the kit's ABIs list is emptyAssam Boudjelthia2022-02-231-1/+1
| | | | | | | | | | | If for some reason we cannot get the list of kit's ABIs or it's not set, don't stop the deployment because of that, let it continue and fail later. Fixes: QTCREATORBUG-27103 Change-Id: I973e5ffdca1e8fb6af3f6e6438969b38b8e375c8 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* Android: Differentiate between same devices connected via usb and wifiAssam Boudjelthia2022-02-231-1/+9
| | | | | | | | | | | ADB allows connecting the same device via USB or WiFi, so we need to make sure the name of the wifi which appears as a different device, make sure it does mean something instead of "Name2" as proposed by default by QC. So this adds the term wifi to the name to make it clear. Change-Id: I5923ca2430c8b51ae2525744dcc1f803ab976b35 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* QmlDesigner: Fix crashThomas Hartmann2022-02-231-1/+2
| | | | | | | For some files rootFormEditorItem() can be null. Change-Id: I71672e4d43bfd086011f6a6cb3c93572f6ba0a05 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* QmlDesigner: Rename views for consistencyThomas Hartmann2022-02-231-1/+1
| | | | | | | | | "CurveEditor" -> "Curve Editor" Task-number: QDS-5852, QDS-6325 Change-Id: I709b54c338708f4387d0d1cb4b928d8eebbfb3be Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: hjk <hjk@qt.io>
* Fix more warningsChristian Kandeler2022-02-239-14/+9
| | | | | | | Found by compiling with clang Change-Id: Iec0ed8aa8b6a742a5a3996a6c19c410e209fb048 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Fix lupdate issuesEike Ziller2022-02-236-34/+74
| | | | | | | | | | | | When updating translations with cmake --build . --target ts_de (or other language ID) - Qualifying with unknown namespace/class ::PluginSpecPrivate - <class> lacks Q_OBJECT macro Change-Id: Ic42d8dffea935e6b10e59223bdedb9a8a4dcf446 Reviewed-by: hjk <hjk@qt.io>
* CMake project converter: Enable only if project is old formatTapani Mattila2022-02-232-2/+37
| | | | | | | | Task-number: QDS-6250 Change-Id: I41ca02ff76e53cb7470056b2f956b05d2027e773 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Optimize setResourcePath()Thomas Hartmann2022-02-232-0/+7
| | | | | | | Only update the resource path if it is actually different. Change-Id: Iaabe3129c9a094a6166a17cd9cba56c123221fba Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
* Fix newly introduced warningsChristian Kandeler2022-02-238-180/+12
| | | | | | Change-Id: I0b9cf3496d536e1173fbd6587e5b491305eb876c Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* QmlDesigner: Remove superfluous updateThomas Hartmann2022-02-231-2/+0
| | | | | Change-Id: I3bc4fc4b480e9cb895357580968c6568e7150cbb Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* LanguageClient: show snippets only completion proposals againDavid Schulz2022-02-231-1/+1
| | | | | | | | | | | | This reverts commit 5f1e6b15bf6d2af24ab4b5b500e6ba36a79600e7. We already prevent inserting snippets in some unwanted contexts in ClangdCompletionAssistProvider::createProcessor. Fixes: QTCREATORBUG-27051 Change-Id: I292d2816b366df6f0d0b070b7d732c199742fc7e Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* CrashPad: Remove the 1 crash per hour limitationMahmoud Badri2022-02-232-0/+2
| | | | | | | Change-Id: Ie7634012f15059fd204cb03e37afd3d63d7bfb29 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Set proper size if there is no project importThomas Hartmann2022-02-232-0/+10
| | | | | Change-Id: I29d8dbbac49c694439a600cfe393c6a475362714 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Doc: Replace "New File or Project" with "New Project" or "New File"Leena Miettinen2022-02-235-20/+20
| | | | | | | | | | We missed the .qdocinc files. Update the screenshot. Task-number: QTCREATORBUG-26610 Change-Id: Ic5a86c94e995a209c2139976ed645b7f71556b37 Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* ClangCodeModel: Fix more false output arguments with clangdChristian Kandeler2022-02-233-0/+15
| | | | | | | | | For some reason, we never checked the actual matching AST node for const-ness. Change-Id: Icb58ba169d82e1ec02c9ff8d17f0170f0a78f99d Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: David Schulz <david.schulz@qt.io>
* ClangCodeModel: Don't highlight streaming operator args as outputsChristian Kandeler2022-02-233-2/+20
| | | | | | | | | ... with clangd. As with operator++ etc, it's immediately obvious to a developer which arguments are modified. Change-Id: Ia2b15d5eef7848b7ed284f8d544f039fe2927292 Reviewed-by: David Schulz <david.schulz@qt.io>
* QmlDesigner: Clear assets search when adding assetsMahmoud Badri2022-02-231-0/+2
| | | | | | | | Fixes: QDS-6195 Change-Id: I80c078d3b182bfa76980191bd875d76cb5683854 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Nanotrace: Fix compile on LinuxChristian Stenger2022-02-231-0/+1
| | | | | | | When using older compilers with Qt5.15. Change-Id: Ib3d05efaa22b22af202fec8940f774af0029ca24 Reviewed-by: Knud Dollereder <knud.dollereder@qt.io>
* Doc: Update welcome screen documentationMats Honkamaa2022-02-233-11/+9
| | | | | | | | | Updated screen shots and examples instructions. Task-number: QDS-6214 Change-Id: I0d35dd5efa034dc5e5d3ec7746a61a688ac88d5a Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
* Update qlitehtml to latest masterChristian Stenger2022-02-231-0/+0
| | | | | | Change-Id: I22fe7e28a0d2ba4848585ec62e1ac3ec904aaff9 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Android: Fix crash on exitv7.0.0-beta2Alessandro Portale2022-02-231-3/+5
| | | | | | | | | m_adbDeviceWatcherProcess can be 0 if Android is not set up. Amends: c43ba1ae329937db62c4824311fe017b68b6033f Change-Id: I90aef197c098f279a6bd3adb0485df74b8be1961 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Tests: Add build files for qml-ast2dotChristian Stenger2022-02-234-1/+36
| | | | | | Change-Id: I5d439be4442ab5c41935534b93ebc9d6868cb880 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Doc: Update Options > Environment > System screenshotLeena Miettinen2022-02-234-8/+4
| | | | | | | | | | - Mention "Auto-save files after refactoring" in Opening Files. - Include the screenshot in Specifying Environment Settings. Task-number: QTCREATORBUG-26610 Change-Id: I05eaf85244ba1f1acf870bbcd37ba81f616b17a4 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Monitor Android devices in non-polling methodAssam Boudjelthia2022-02-224-145/+212
| | | | | | | | | | | | | | | | | Use ADB's track-devices command to watch for device events which would replace the current polling method with a timer. For AVDs, a QFileSystemWatcher is used to watch for changes in the AVDs home folder which would allow updating the AVDs only when a change is done like edition, deletion, start, stop, even from outside Qt Creator. This method would also make device updates faster, instead of unexpected waits due to timer use. Task-number: QTCREATORBUG-23991 Change-Id: I08a92252c99c02bc111e597d671f2350817458c7 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* StudioWelcome: Download examples to home on macOSThomas Hartmann2022-02-221-2/+5
| | | | | | | Task-number: QDS-6305 Change-Id: I7e80ec6a8d5d79b75412fee975efaedd92e048d0 Reviewed-by: Henning Gründl <henning.gruendl@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* CMake project converter: Automatically open new project after creating itTapani Mattila2022-02-222-17/+34
| | | | | | | | Task-number: QDS-6249 Change-Id: I5ba1a396c7812a6aa736751fd0e7d7155d2de2d8 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Remove DesignerActionManagerView::instancePropertyChangedThomas Hartmann2022-02-222-8/+0
| | | | | | | | | This can be pontentially very expensive and the notifier should not be required. Change-Id: Idf1096fb69efb08196b192596353bf544783d23c Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Track if QDS was opened from QtCThomas Hartmann2022-02-225-1/+14
| | | | | | Task-number: QDS-6315 Change-Id: I4109e9c98ff5c27b4096b1af32ae945aec10c123 Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
* Move dynamiclicensecheck.h to QmlDesignerThomas Hartmann2022-02-224-7/+7
| | | | | | | | Change-Id: Ic49a18a6ed164d3878e69d157edd83773c93959c Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* QmlDesigner: Update import version wizard qml.tplHenning Gruendl2022-02-229-16/+16
| | | | | Change-Id: Ie1cdc6bd18cec1f6e0d1492033f43c23717d68a9 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Add comment to .ui.qml filesThomas Hartmann2022-02-221-0/+7
| | | | | | | | | Add comment to the beginning of .ui.qml files that explains that .ui.qml files are declarative. Task-number: QDS-5964 Change-Id: Ie49bae33fb18ee42d4ab20986b72c2deadd5b734 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* QmlDesigner: Add comment to all .ui.qml files in wizardsThomas Hartmann2022-02-2220-0/+140
| | | | | | | | | Add comment to the beginning of .ui.qml files that explains that .ui.qml files are declarative. Task-number: QDS-5964 Change-Id: I040443b42a0e2907452d5b6d9d056746d3b75ff3 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* QmlDesigner: Center on item on initializeThomas Hartmann2022-02-221-0/+1
| | | | | | Change-Id: Ib68c2b1a651497f9092d390b1a5b3a59c85d21ce Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
* QmlDesigner: Do not mark document as dirty if zoom changesThomas Hartmann2022-02-221-1/+2
| | | | | | Change-Id: I85824f695a77d107dfa1f6c8d7d3a8dbeb6bae43 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
* QmlDesigner: Rename custom className property to classNamePrivateInternalThomas Hartmann2022-02-225-12/+24
| | | | | | | | | | This property is used for the class name, but "className" could be also used by the actual application. Task-number: QDS-6309 Change-Id: I752fafbcae434a8b2b96646e2473b6fedd93a160 Reviewed-by: Henning Gründl <henning.gruendl@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* QmlDesigner: Fix shift in component type TextFieldHenning Gruendl2022-02-221-1/+1
| | | | | | Change-Id: I5dc4f7b0887405082456b511b57598e3e6e38ec0 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>