aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Doc: Use correct group name for listing attributionsTopi Reinio2025-01-211-1/+1
| | | | | | Task-number: QTTA-268 Change-Id: I69711a643e7b3bb93f0dd0e8bac027417f398b7e Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
* Add missing dependency to buildOlli Vuolteenaho2025-01-151-0/+1
| | | | | | | | | | | | | | | | Even though org.jetbrains.android was defined in our build.gradle.kts, that is not enough - it also needs to be mentioned in the plugin.xml file as a dependency. As it was not mentioned, the required classes for listening to Gradle syncs were not found and therefore the project view wouldn't update if, for example, the user were to change to a different Qt Quick project. Amends 361712309ea86a84dc153da53e5476be6ef82116. Fixes: QTTA-260 Task-number: QTTA-241 Change-Id: I5dbd5c52a3c6df5bafca0c0da442da3c7532fb98 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Add functionality for displaying Qml docs in Android StudioNikunj Arora2025-01-131-1/+13
| | | | | | | | | | | | | The -d flag in qmlls gives the ability to provide the path to Qml docs. This change uses that flag to connect the Qml docs to the RedHat's LSP4IJ plugin. This flag was added in Qt 6.8.1 and in previous versions, the -p flag was broken, so we need to set the minimum required version to be 6.8.1 Task-number: QTTA-240 Change-Id: Ie278e9f9af0e0921149c823d3ce8390d908009b7 Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io> Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Upgrade the IntelliJ Platform Gradle plugin to 2.xNikunj Arora2025-01-096-47/+48
| | | | | | | | | | | | | | For IntelliJ versions 2024.2+ (LadyBug and above), we need to upgrade the IntelliJ Platform Gradle plugin to 2.x and since this is a breaking change, we will need to make the necessary fixes in rest of the code. Also bump the supported version numbers here, because the issues are related. Task-number: QTTA-241 Task-number: QTTA-110 Change-Id: I0e7e64c93d21944caa97c990a7d7087f6f500ade Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Remove MIT license fileRami Potinkara2025-01-071-20/+0
| | | | | | | | | | | | | The MIT license file under LICENSES folder is not needed anymore. MIT license was used in old Syntax highlighting which used Backus-Naur Form (.bnf) grammar file and JFlex (.flex) lexical analyzer. Amends abf8acdba30381c02c8993851715e0eac96ac9f9. Fixes: QTTA-234 Task-number: QTTA-190 Change-Id: Ia8c2dba8386454ec88cb4588652935d319fa9271 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Remove use of deprecated classOlli Vuolteenaho2024-12-121-1/+1
| | | | | | | | | | The plugin verifier will warn about using this class. We've also had this problem previously and back then we also switched to the lang3 version. Change-Id: Ia4d2c10dd5b3fb8452adc447007f52ce80408d93 Reviewed-by: Nikunj Arora <nikunj.arora@qt.io> Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Docs: Correct plugin license informationNicholas Bennett2024-12-111-2/+4
| | | | | | | | | | | | Pointed to the terms and conditions for the plugin and the licenses page for the Qt Framework. Task-number: QTTA-186 Change-Id: I2a11fcc623ac6398a165ce5e3ec9683064679131 Reviewed-by: Soheil Armin <soheil.armin@qt.io> Reviewed-by: Rami Potinkara <rami.potinkara@qt.io> Reviewed-by: Nikunj Arora <nikunj.arora@qt.io> Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Update docs for QtTAS 4.0 releaseNikunj Arora2024-11-281-4/+3
| | | | | | | | Update the QtTAS docs for 4.0 release with the Language Server support. Task-number: QTTA-208 Change-Id: Iec160c2f664a024be0073ba6ed488c014405e4da Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
* Fix broken links in plugin.xmlNikunj Arora2024-11-281-2/+2
| | | | | | | | | The links in the QtTAS plugin description, which is displayed on the JetBrains Marketplace, are broken. This change fixes them. Fixes: QTTA-229 Change-Id: I718fc34788bc3d566bd9752e72ffa8a4aed8472a Reviewed-by: Petri Virkkunen <petri.virkkunen@qt.io>
* Fix the QtGP docs link addressNikunj Arora2024-11-201-1/+1
| | | | | | | | | | In QtTAS when we create/import Qt project the link to QtGP docs takes you to the doc snapshots instead of the release docs. This change fixes that. Fixes: QTTA-169 Change-Id: I8138f0810151d5943479eedb8c2e97671037b9d4 Reviewed-by: Petri Virkkunen <petri.virkkunen@qt.io>
* Fix the QtGP docs link not opening the browser on LinuxNikunj Arora2024-11-201-2/+18
| | | | | | | | | | The java.awt.Desktop.Actions.BROWSE does not always work on Linux. This change adds a separate system call that should work in all linux distos. Fixes: QTTA-226 Change-Id: I39e1a9513cac0d63d3c62ab3e9da3bda7f102428 Reviewed-by: Olli Vuolteenaho <olli.vuolteenaho@qt.io> Reviewed-by: Petri Virkkunen <petri.virkkunen@qt.io>
* Optimize indentations in plugin.xml fileNikunj Arora2024-11-141-20/+26
| | | | | | | This change fixes the uneven indentations present in plugin.xml file. Change-Id: Ib367b2e75e8646f3867fcb9ff2ce6f06d45b9844 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Optimize Qt settings to match Qt Gradle Plugin settingsNikunj Arora2024-11-148-23/+27
| | | | | | | | | | | | | | Optimize the variables we extract from the Qt Gradle plugin so that they closely match the Gradle Plugin configuration. This includes: - Similar naming - Removing Global settings as all gradle plugin settings are in project scope - Remove the leftover settings configuration from the old plugin settings UI Task-number: QTTA-212 Change-Id: I8df9af89f0b0ee7aa8817a70ab8aec5569071f22 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Integrate RedHat LSP4IJ plugin into QtTASNikunj Arora2024-11-149-3/+180
| | | | | | | | | | | | | Connect the QtTAS to QML Language Server using the APIs provided by the RedHat LSP4IJ plugin. We inherit from the LanguageServerFactory class and provide it a reference to QML file type and the path to QmlLS binary. The documentation can be found here: https://github.com/redhat-developer/lsp4ij/blob/main/docs/DeveloperGuide.md Task-number: QTTA-191 Change-Id: Ia262dce0be6cb72153f5093791aa054d52c6698a Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Extract QtPath from the Qt Gradle PluginNikunj Arora2024-11-141-0/+5
| | | | | | | | | From the Gradle Plugin configuration, extract and store the path to the Qt installation. Task-number: QTTA-211 Change-Id: I21b7e2290f5fe5f513244b7a078a9a7e6a62da6c Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Optimize imports in filesNikunj Arora2024-11-113-30/+4
| | | | | Change-Id: Ic298db4fca0d0340f5014d92efedb0f560fb590e Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Remove QtBeforeRunProviderNikunj Arora2024-11-115-101/+0
| | | | | | | | | | The BeforeRunProvider was deprecated in the QtTAS 3.0 release, therefore we should remove it in the QtTAS 4.0 release. Details of deprecation: QTTA-114 Task-number: QTTA-213 Change-Id: I2456be77fd0d4373922d9ca098f526a878459095 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Remove Qml Syntax Highlighting stuff from QtTASNikunj Arora2024-11-0820-771/+0
| | | | | | | | | The RedHat's LSP4IJ plugin already takes care of syntax highlighting, so the old code is not longer necessary. Task-number: QTTA-190 Change-Id: I1e267e484af3c2dac87b675a8a5cb49d399c97f0 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Android: update note about using useLegacyPackaging propertyAssam Boudjelthia2024-11-051-2/+2
| | | | | | | | | After 0db5b424cdaede8724886e8a1eda1380382d9aaf, the property is not needed so make it clear it's only needed for Qt 6.8 and older versions. Change-Id: If99778867f368e8edbcc2fc586aa199bb1ef0854 Reviewed-by: Tinja Paavoseppä <tinja.paavoseppa@qt.io>
* Docs: Add YouTube video and fix Qt Gradle Plugin doc linksNicholas Bennett2024-09-183-6/+11
| | | | | | | | | | Renamed video thumbnail image to YouTube ID and updated references. Hardcoded links to Qt Gradle Plugin docs. Task-number: QTTA-85 Pick-to: 3.0 Change-Id: I80ab6ebfe7b9d24e1b1d9c78dd40ac4a5a4b1cb4 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* plugin.xml: QtTAS 3.0 release change-notes bug updates part threeRami Potinkara2024-09-121-0/+1
| | | | | | | | | Updated the QTTA-156 found during RC testing and fixed for 3.0. Task-number: QTTA-117 Pick-to: 3.0 Change-Id: Ie17aca4a91488d37ca15df8ddec3613ea7ee7178 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Docs: Update images and remove outdated onesNicholas Bennett2024-09-1111-6/+7
| | | | | | | | | | | | | | Fixed the missing image warning. Added missing wording to the feature table. Updated images with better resolution and to match the current process. Added an image to show QML in the Android project tree. Added a comma. Task-id: QTTA-132 Pick-to: 3.0 Change-Id: Iaa858329771124eaf1845435eaed65e0a0953938 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io> Reviewed-by: Rami Potinkara <rami.potinkara@qt.io>
* Fix project view not refreshing on WindowsTero Koponen2024-09-111-2/+2
| | | | | | | | | | | | When Qt project was removed the project view was not refreshing because of event.getPath was returning a non os specific path Pick-to: 3.0 Fixes: QTTA-156 Change-Id: If911ff042177d043804ad54929b0c89534ab8864 Reviewed-by: Soheil Armin <soheil.armin@qt.io> Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io> Reviewed-by: Olli Vuolteenaho <olli.vuolteenaho@qt.io>
* plugin.xml: QtTAS 3.0 release change-notes bug updates part twoRami Potinkara2024-09-061-4/+10
| | | | | | | | | | Updated the bugs that were found during the RC testing and which were fixed after that for the new RC candidate. Task-number: QTTA-117 Pick-to: 3.0 Change-Id: Icbdd47563a5ba895192e2a37491f9c927ec97af7 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Bump QtGP version to release 1.+ in code snippetsSoheil Armin2024-09-061-2/+2
| | | | | | | | | Task-number: QTTA-147 Pick-to: 3.0 Change-Id: If4df23f1badfcd049dac806f3cd437ea7863c5db Reviewed-by: Tero Koponen <tero.koponen@qt.io> Reviewed-by: Rami Potinkara <rami.potinkara@qt.io> Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Docs: Update getting started section text and screenshotsNicholas Bennett2024-09-057-25/+41
| | | | | | | | | | Refreshed images to match the current UI and process, as well as text of the steps needed. I added a note that the Android Studio plugin menu can be used to search for the plugin. Pick-to: 3.0 Task-number: QTTA-132 Change-Id: I9dc27513e80e8194beef85333ce78b8ffd40d611 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* docs: Tech writing updated, redundant dependency informationNicholas Bennett2024-09-051-37/+12
| | | | | | | | | | | | | | | Performed some technical writing optimization, removing duplication of versions, and some formatting. Removed Qt Gradle Dependencies, as these are redundant here now, as QtTAS no longer handles any build. -Build tools (CMake, Ninja) -Qt for Android Version -Android SDK Task-Id: QTTA-132 Pick-to: 3.0 Change-Id: Id7ad5ef36e6ae3c61c9aeaa8bd6b6d925e973c67 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Add legacyPackaging block to code snippetsSoheil Armin2024-08-301-2/+10
| | | | | | Pick-to: 3.0 Change-Id: I89207823202540dcce682fd2851ce5abb7625175 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Fix setting the minimum heightSoheil Armin2024-08-294-4/+10
| | | | | | Pick-to: 3.0 Change-Id: I5934b7cc86046da46b55e327c1f7613dd8c7fcf5 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Improve readability of validation functionsSoheil Armin2024-08-292-17/+13
| | | | | | Pick-to: 3.0 Change-Id: I269717fda18aa0dbd669d9f6fe050abf5b2e3425 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Remove Qt 6.7 version from QtTASTero Koponen2024-08-281-1/+1
| | | | | | | | | | Reason: QtTAS 3.0 is not handling the Qt build at all, but it's done with Qt GP, it can't run Qt 6.7 Pick-to: 3.0 Fixes: QTTA-136 Change-Id: I19261fd4bf9a9e5b442791b3fc35094cd663aa4c Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Resize Import and NewProject dialogsTero Koponen2024-08-282-0/+4
| | | | | | | | | | | Added minimum width for ImportProjectDialogWrapper in ImportProjectAction Added minimum width for NewProjectDialogWrapper in NewProjectAction Pick-to: 3.0 Task-number: QTTA-129 Change-Id: Ic99fa9674fade16971fbb1450f522fb2c30ddcb7 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Remove Cancel button from CodeSnippetDialogWrapperTero Koponen2024-08-281-4/+7
| | | | | | | | | | | Only display OK and Copy Kotlin/Groovy snippet buttons since Cancel was doing the same thing as OK. Move Copy button next to the Cancel one. Pick-to: 3.0 Task-number: QTTA-129 Change-Id: I3a78ae7bdd78227ffbc98bb9845ffefddba17bdd Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Show plugins{} section of the code snippet as commentSoheil Armin2024-08-281-4/+10
| | | | | | | | | | | | Usually the plugins section already exists and includes at least one Android Gradle plugin. In the code snippet we need to comment out the plugins{} section with proper a proper message to the user to add Qt Gradle Plugin in the plugins{} section of the build.gradle file. Pick-to: 3.0 Change-Id: I202d76d3d0261a385ee9ecc9272d30e0a59dca95 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Perform Code snippet action after creating new projectSoheil Armin2024-08-282-7/+14
| | | | | | | | | | | | | | | Before this change, we were calling the "New Qt Project" action after showing the snippet. The user may press cancel after copying the code. In that case, the project files won't be written to the target path. With this change, we move the code snippet action to the success callback of the "New Qt Project" Action. Pick-to: 3.0 Fixes: QTTA-146 Change-Id: Ib8ff24a752e069dd3630bab51fbf1622b2485782 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Add validators to New and Import dialogsSoheil Armin2024-08-283-29/+148
| | | | | | | | | | | | | | | | | | | DialogWrapper has proper APIs for validating and showing errors regarding the user input. By using ComponentValidator and ValidationInfo the user can be prompted with a proper tooltip and highlighted field in red color, when the input is not valid. This change also removes the old way of showing errors, except in "New Qt Project" where the validation cannot be performed without doing the action, so the error will be shown after pressing the Ok button. Pick-to: 3.0 Fixes: QTTA-133 Change-Id: I945042813f845ab7e3fafbff2da214c714873c8a Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Show a dialog with QtGP code sampleNikunj Arora2024-08-286-68/+305
| | | | | | | | | | | When creating a new QML project or importing an existing one in android studio, we show a code snippet instead of linking to the docs. Pick-to: 3.0 Fixes: QTTA-129 Fixes: QTTA-130 Change-Id: I0381c7f3d10a3c610e5428bc70988b8d18f03c48 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Fix same names for Target Name and URI when creating new projectsNikunj Arora2024-08-282-7/+8
| | | | | | | | | | | When creating a new project with Android Studio, the Target Name and URI are the same. This causes an error while building. Now they're both different. Fixes: QTTA-134 Pick-to: 3.0 Change-Id: Ib0c3b7fb8f3957e01f8113d665e22d6f151704ef Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Validate project name in new project dialogNikunj Arora2024-08-281-0/+7
| | | | | | | | | | Validate project name when creating new projects so that it doesn't contain characters not supported by CMake. Fixes: QTTA-133 Pick-to: 3.0 Change-Id: I78dc38994a8ecbe70b65df1ccdc2d2d41d388914 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Remove the qtCmake path field from new project dialogNikunj Arora2024-08-221-25/+1
| | | | | | | | | | The qtCmake path was not being used anymore, so removed that from new project dialogue. Task-number: QTTA-130 Pick-to: 3.0 Change-Id: I8aa9f918e614a0ba8ff345fbfb5d67813c21fe98 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Update the readme.md with build steps and some restructuringAssam Boudjelthia2024-08-151-9/+51
| | | | | | | | | | Add build requirements, steps and commands from the command line. Also, restructure the sections into an easier flow to follow. Pick-to: 3.0 Change-Id: I8fd58246d555aa215e5a2ed9acc4994c22cbe8b3 Reviewed-by: Nikunj Arora <nikunj.arora@qt.io> Reviewed-by: Tinja Paavoseppä <tinja.paavoseppa@qt.io>
* Add exec permission to gradlew scriptAssam Boudjelthia2024-08-151-0/+0
| | | | | | | Pick-to: 3.0 Change-Id: I6f8075a64f285e46d40a4f01e99145e6dd827840 Reviewed-by: Nikunj Arora <nikunj.arora@qt.io> Reviewed-by: Tinja Paavoseppä <tinja.paavoseppa@qt.io>
* docs: Update content for 3.0.0 releaseNicholas Bennett2024-08-141-68/+9
| | | | | | | | | | Removed config instructions and replaced with see Qt Gradle Config documentation. Removed video for the moment as this is out of date and can be added later. Pick-to: 3.0 Change-Id: Iad9120b3ec00cf6f6a071adbbeb58d44feaeabde Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Some typos and wording fixes in the QtTAS 3.0 descriptionNikunj Arora2024-08-131-6/+6
| | | | | | | | | Some more changes to the description of the plugin based on the comments in the previous patch. Change-Id: Ic7e3b6aac58ed97ef82f52f93280621d1882abb5 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io> Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
* Edit the description for the pluginNikunj Arora2024-08-131-6/+7
| | | | | | | | The description is now updated to match the features of the 3.0 release. Also a few wording changes in change logs Change-Id: I0c32959016976ba23bc00f80d49925cd9bc31f53 Reviewed-by: Tinja Paavoseppä <tinja.paavoseppa@qt.io>
* plugin.xml: QtTAS 3.0 release change-notes bug updatesRami Potinkara2024-08-131-0/+7
| | | | | | | | | Updated bug fixes with the bugs currently fixed for the QtTAS 3.0 release. If more to come, update this patch. Task-number: QTTA-117 Change-Id: Ia8af0fcfbcf7ffcb66276641ae8b2d261ed52f50 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* plugin.xml: QtTAS 3.0 release change-notes feature updatesRami Potinkara2024-08-131-0/+5
| | | | | | | | Added Qt Gradle Plugin build tool via Qt Maven. Task-number: QTTA-117 Change-Id: Ied141fcc08ae4d51159e95179c447e7c7bb414d8 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* plugin.xml: update version from 2.0.0 to 3.0.0Rami Potinkara2024-08-132-2/+2
| | | | | | Fixes: QTTA-118 Change-Id: I7f8f4767120cc993ea0c0048aba8c44574ec38cd Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Fix the Sync now button bugNikunj Arora2024-08-133-25/+8
| | | | | | | | We don't need the listen to all actions anymore, hence that is removed. Fixes: QTTA-115 Change-Id: Ib454c32f6da03cde9f7f512c74632036d56cb797 Reviewed-by: Tinja Paavoseppä <tinja.paavoseppa@qt.io>
* Extract values from build.gradle fileNikunj Arora2024-08-1312-69/+257
| | | | | | | | | | When the user presses the Gradle Sync button, this patch extracts the value for qtProjectPath from build.gradle file and shows it in the tree view. Task-number: QTTA-107 Change-Id: I774c574f6cd7170e78612fd3f5b2da365c08d977 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>