aboutsummaryrefslogtreecommitdiffstats
path: root/qt-cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* qt-core: Add `registerQtbyQtpaths` commandOrkun Tokdemir2024-10-171-7/+2
| | | | | | | | | | This new command opens the folder navigation dialog to select either a `qmake` or a `qtpaths` executable. The selected executable is then added to the global `qt-core.additionalQtPaths` configuration. Change-Id: Ic1bfb8d5b32f98b8b8fd2b6656dea1222d580ec2 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* Improve consistency, remove duplication on project and project managerBen Cho2024-10-152-61/+30
| | | | | | | | | | The `ProjectManager` classes in qt-core, qt-cpp are now derived from the `ProjectManager` template class in qt-lib. Rename `ProjectBase` to `Project` for simplcity and consistency. Change-Id: I66492028f43eb8822e2be5cde87de8a97c214381 Reviewed-by: Orkun Tokdemir <orkun.tokdemir@qt.io> Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* Remove indirectly used dependenciesOrkun Tokdemir2024-10-143-436/+14
| | | | | | | | | * Since `winston` and `winston-transport-vscode` are used in `qt-lib`, we don't need to specify them in `qt-cpp` and `qt-qml` as dependencies * Update `ThirdPartyNotices.txt` for `qt-cpp` and `qt-qml` Change-Id: I892dba5fef97ff0c10b6968c92cc981138fbb75f Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* qt-cpp: Fix style errors in kit-manager.tsOrkun Tokdemir2024-10-141-1/+6
| | | | | Change-Id: I86edbad3b6534d5f836a7536e564fe9577fe7f3a Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* qt-cpp: Check if the toolchain file existsOrkun Tokdemir2024-10-141-1/+9
| | | | | Change-Id: Idf48d31ab3c615d521125303d2ecaf774af91a47 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* qt-cpp: Factor out getting generated kits by only the CMake extensionOrkun Tokdemir2024-10-141-6/+10
| | | | | Change-Id: I35d8c4195faa107d48fbcc2df34acbfeda8b011b Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* qt-cpp: Add the toolchain file for only Qt6Orkun Tokdemir2024-10-141-8/+5
| | | | | | | | Since Qt5 does not provide a toolchain file, we don't need to add it to the Qt5 kit. Change-Id: I4fda16aa5f78dcb21700b41e0918654dab431715 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* qt-cpp: Add progress bar for generating kitsOrkun Tokdemir2024-10-111-3/+19
| | | | | Change-Id: I726dc6387709d99df874188a3254353428682493 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* qt-cpp: Change import of `command-exists` to remove `default` export and warningOrkun Tokdemir2024-10-101-1/+1
| | | | | Change-Id: Ia2e2b5eb29aa2efb3f441d6e6d0ea07950e7f621 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* qt-cpp: Remove redundant directories from `PATH`Orkun Tokdemir2024-10-091-7/+13
| | | | | | Fixes: VSCODEEXT-69 Change-Id: I5e6a8b7900ce7e0cabf2acc9b7a9706ee8a9351f Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* qt-cpp: Consider qtPaths related kits while fitering cmake kitsOrkun Tokdemir2024-10-091-1/+2
| | | | | | | | Since we generate kits from both the installation root and the qtPaths, we should also consider qtPaths related kits while filtering cmake kits. Change-Id: I1cc639a024298936d30813cde77ea462557081b7 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* qt-lib: Simplify variable names in `QtInfo`Orkun Tokdemir2024-10-071-2/+2
| | | | | Change-Id: I1085256995872ac0698f6427c8279cf417004503 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* qt-core: Add the `name` property to `additionalQtPaths`Orkun Tokdemir2024-10-072-13/+26
| | | | | | | | | | | | | | | | | Problem: Sometimes kits with the same name can be generated according to the query results from either `qtpaths` or `qmake`. This can cause the user to select the wrong kit. To avoid this, we need to add a new `name` property to `additionalQtPaths`. This will allow users to specilaize their kits with different names. Otherwise, the name will be the same as the `qtpaths` or `qmake` query result. * Add new type for `additionalQtPaths` * Convert the old string parameter to the new type to have uniformity Change-Id: I9c734c0c69cc19313e66808dad49ac72316f4243 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* qt-core, qt-cpp: Rename project classesBen Cho2024-10-073-12/+12
| | | | | | | | | | Project classes in the qt-core, qt-cpp modules are now prefixed with Core- and Cpp- respectively, for improved consistency and clarity across all modules. Change-Id: I9d8025e91b9457717b6398afc9d4e0cb612e8c53 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io> Reviewed-by: Orkun Tokdemir <orkun.tokdemir@qt.io>
* Style: Shorten the exe suffix variableOrkun Tokdemir2024-10-072-8/+5
| | | | | Change-Id: Id7b61cc70c97b3e859a0004bb206e970ca51f17e Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* Linter: Improve checksOrkun Tokdemir2024-10-071-2/+4
| | | | | | | * Fix linting errors Change-Id: I967197923685d70f7d6644c6093aa25b31bb73cd Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* qt-cpp: Add comment for possible duplicate kitsOrkun Tokdemir2024-10-071-1/+2
| | | | | Change-Id: I6e6f755d8a8fa8349f9d297329517e24df752ab9 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* qt-cpp: Remove unused codeOrkun Tokdemir2024-10-021-7/+1
| | | | | Change-Id: I4a9e12afdfbb28df5b4393bfe5ef7eb682b8f5b1 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Use getters instead of `get<>` methodsOrkun Tokdemir2024-09-273-17/+12
| | | | | Change-Id: I715b529e8e73ddad3ff31681921f2ac56407d875 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* qt-cpp: Remove Qt Quick from the extension's descriptionJoerg Bornemann2024-09-271-2/+2
| | | | | | | This extension doesn't offer Qt Quick support. Change-Id: I11985cd418fcfb846c6c694e1a95b7e9392f8893 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* qt-cpp: Fix style check failureOrkun Tokdemir2024-09-271-1/+3
| | | | | Change-Id: If71b9cb79d16108afd1e9e7f5e5a448f8f5b132b Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* qt-cpp: Remove unused codeOrkun Tokdemir2024-09-272-7/+2
| | | | | Change-Id: I0c9accb3577b4e9bafdaa2df5f3f1fbb7b51fb60 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* qt-core: Add qt-core.additionalQtPathsJoerg Bornemann2024-09-274-23/+190
| | | | | | | | | | | | | | This new configuration value can be used to specify Qt installations that were not provided by the Qt installer. The values are absolute paths to the qtpaths or qmake executables of a Qt installation. For values in qt-core.additionalQtPaths we now generated CMake kits like it was already the case for qt-core.qtInstallationRoot. Fixes: VSCODEEXT-86 Change-Id: Id8eefe92c930546ede2639e18792fc78ba6558dd Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io> Reviewed-by: Orkun Tokdemir <orkun.tokdemir@qt.io>
* Linter: Improve checksOrkun Tokdemir2024-09-271-0/+2
| | | | | | | | | | ESlint doesn't fail when a private method is not used in the class. We can detect it via `tsconfig.json`. Amends cf1e81eba2a1916db4b0c14b64dda53c8a9934aa Change-Id: I5d1d7a8c767d5c0e757a3df4110986abdac264c8 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* qt-cpp: Factor out parsing CMake kit filesOrkun Tokdemir2024-09-261-11/+10
| | | | | Change-Id: I9ecf9b1174b9b74ab91631ba7d15b7c366dc57e4 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* qt-cpp: Use VSCODE_QT_INSTALLATION_ROOT instead of VSCODE_QT_FOLDEROrkun Tokdemir2024-09-262-5/+9
| | | | | | | Amends b23ccff5f4fa2d5fff5cfea83742637581f6bb69 Change-Id: I7185e0a335bede4078aeae89eadfc448f66ef3f7 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* qt-cpp: Use variable instead of raw stringsOrkun Tokdemir2024-09-262-4/+5
| | | | | Change-Id: I787f71b0b5bf88b8613a9d56ae9c8ada3e31e9d8 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* qt-core: Move the main reset command to qt-core from qt-cppOrkun Tokdemir2024-09-263-8/+2
| | | | | | | | * Move the main reset command to qt-core * Execute other reset commands from qt-core Change-Id: I758215dfbaaba5858ce3b5a4e84698cb2b33ed69 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* qt-cpp: Remove unused function mangleQtInstallationJoerg Bornemann2024-09-251-9/+0
| | | | | | | | | There's another function of the same name in get-qt-paths.ts, which is actually used. Change-Id: I381da450c171736c9cdbb1ca1422412cfc2b7f2f Reviewed-by: Orkun Tokdemir <orkun.tokdemir@qt.io> Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* qt-cpp: Simplify initCoreValuesJoerg Bornemann2024-09-251-11/+1
| | | | | | | | | Remove initialization of configuration values that are already initialized in qt-core's initCoreValues function. Change-Id: I9e9f1ec8d7c0956d440e145c66e763cc37b44ca5 Reviewed-by: Orkun Tokdemir <orkun.tokdemir@qt.io> Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* Remove dead code from kit-manager.tsJoerg Bornemann2024-09-241-28/+1
| | | | | | | | | All members of the KitDetect interface are unused, and the type CompilerEnum is only used in that interface. Remove both. Change-Id: I63d8ddd8a017981a240e268f0cc10849c92896e3 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io> Reviewed-by: Orkun Tokdemir <orkun.tokdemir@qt.io>
* qt-cpp: Refactor msvc kits namesOrkun Tokdemir2024-09-192-4/+7
| | | | | | | | | | | Since msvc kit names have spaces in it, they can cause problems when the variable subsitition is used. * Replace spaces with `_` * Shorten `Visual Stuido` with `VS` Change-Id: I77f2098043cb5e30afdbe604be8750aa5025e25c Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* Package: Remove additional commands from `npm run package`Orkun Tokdemir2024-09-191-1/+1
| | | | | | | | Since we build extension via ci-scripts, we don't need additional commands in `npm run package` script. Change-Id: If6d7a4dfc8e4423534a12bab48114823281566fa Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* qt-cpp: Add QT_QML_GENERATE_QMLLS_INI to generated kitsOrkun Tokdemir2024-09-181-0/+4
| | | | | | Fixes: VSCODEEXT-88 Change-Id: Id1922feaaf5adcd8d34a5802ef11c7d95788e087 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* Package: Run `npm audit fix` to resolve vulnerabilitiesOrkun Tokdemir2024-09-171-3/+4
| | | | | Change-Id: I3230828fed10d2d4ae5b2ce9428deb99b66d8c6a Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* Package: Add commit hash file to packageOrkun Tokdemir2024-09-161-1/+1
| | | | | | | | | | | | * Add `package.ts` to handle the packaging of extensions * Add `publish_ext_pack.ts` to hande the publishing of extension packs inside `.ts` scripts * Add generation of commit hash file to every extension and extension pack * Remove commit hash file after publishing and packaging Change-Id: Ic6ecd59ab3d045a7022e9322a75a07833a3885de Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* qt-cpp: Show an info message when `Scan for Qt Kits` is runOrkun Tokdemir2024-09-161-9/+22
| | | | | | | | | The current implementation does not show any message when the `Scan for Qt Kits` is run. This patch adds an info message to inform the user about found kits. Change-Id: I4557d5461cd709cb31b88ae49d07b398b3d9a06e Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* Package: Update package-lock.json versionsOrkun Tokdemir2024-09-101-2/+2
| | | | | Change-Id: I589b400f22ba6a87bc931e3c5c7f0ce4d2dea622 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Package: Remove `preview`Orkun Tokdemir2024-09-101-1/+0
| | | | | Change-Id: I7b1a6b474a77fb7ca68f0951a1f8b6a44e6fbf33 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* qt-cpp: Update version to 1.0.0qt-cpp/1.0.0Orkun Tokdemir2024-09-102-1/+6
| | | | | | | | * Update `CHANGELOG.md` and `package.json` Change-Id: I60501aa2c23cbdda72d385e6557f9c8ac0450cda Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Doc: Update `README.md` filesOrkun Tokdemir2024-09-093-34/+26
| | | | | | | | | | | | * Remove `README-marketplace.md` files * Move content from `README-marketplace.md` to `README.md` * Update `README.md` files * Add missing sections to `README.md` files * Remove `--readme-path doc/README-marketplace.md` parameter Change-Id: I0a7d635d37e6d75551b29bb646c94ef084b02e64 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Doc: Edit the MD docsLeena Miettinen2024-09-092-154/+8
| | | | | | | | | | | | - Remove general instructions and point to the snapshot at doc.qt.io - Remove lists of extensions as they are listed automatically in VS Code Extensions - Make the instructions about getting started with the extension packs and the contents of the extensions Change-Id: I77eb488d53dc83c90569048d809e40b52fc2488e Reviewed-by: Orkun Tokdemir <orkun.tokdemir@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Update package-lock.json versionsOrkun Tokdemir2024-08-291-2/+2
| | | | | | | Amends 95e78e0a0e26b220e9926e58ed9594a3fa6ed52e Change-Id: Ia795cbef4af0794e5dd4c012b7e6c6b08590bf00 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* Version: 9.2.0Orkun Tokdemir2024-08-282-1/+25
| | | | | Change-Id: If1386126ecc81ec24bfc53c7a9cb302fe5074221 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Style: Use the same naming convention for coreApi across all extensionsOrkun Tokdemir2024-08-283-14/+14
| | | | | Change-Id: I1e526a649de31f992d0652ccee8fb973e0ec7133 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* qt-official: Separate into qt-cpp & qt-qmlOrkun Tokdemir2024-08-2833-0/+12456
Amends c45fc76944f8a280ccc9483cc47236fd98275fb6 * Update github actions * Update ci-scripts * Remove unused test folder * Remove unused dependencies & update `ThirdPartyNotices.txt`s * Remove unused activation events Fixes: VSCODEEXT-79 Fixes: VSCODEEXT-80 Change-Id: I450fefdde5209454ef11e1b9cd12162753d4fa36 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>