aboutsummaryrefslogtreecommitdiffstats
path: root/QtVsTools.Wizards/ProjectWizard/ConfigPage.xaml.cs
Commit message (Collapse)AuthorAgeFilesLines
* Correct style errors in WizardsAli Can Demiralp2025-06-241-7/+7
| | | | | Change-Id: Ib5d6c17a5b9ac395c2a8a48a12053d578d030314 Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Update copyright comments to 2025Ali Demiralp2025-03-181-4/+2
| | | | | Change-Id: I9ab1f8919a3d28cb546cd71bfdc8da1f6ae9e123 Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Unify precompiled header supportKarsten Heimrich2024-04-031-1/+3
| | | | | | | | | | | Instead of implementing it in every wizard, make the setting available on the config page. Enable support for "Console" and "QML" projects. Fixes: QTVSADDINBUG-347 Change-Id: If621b32d8d9c496a0ceba87de745f8e3c92fc75b Reviewed-by: Miguel Costa <miguel.costa@qt.io> Reviewed-by: Ali Can Demiralp <ali.demiralp@qt.io>
* Centralize Qt version name sanitizationKarsten Heimrich2024-03-141-1/+3
| | | | | | | | | | Previously, only SaveVersion() sanitized version names, potentially leading to naming inconsistencies since SaveDefaultVersion() required similar treatment. Now, both functions sanitize the name before storing it in the registry. Change-Id: I53d89803e234bfc9cdeb005a047e66859d47abdd Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Refactor VersionInformation classKarsten Heimrich2024-03-141-40/+42
| | | | | | | | | | * Make fields and methods properties and reorder them. * Remove really old method to get the Qt version number. * Remove the 'Name' field, preventing redundant storage of version information due to custom name variations. Change-Id: Idbea96c3cf56ec9d6eeda49094cb66f2734d77ba Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Change source license to LicenseRef-Qt-Commercial or GPL-3.0-onlyAli Can Demiralp2024-02-281-1/+1
| | | | | | | | ... WITH Qt-GPL-exception. Fixes: QTVSADDINBUG-1179 Change-Id: I74fe451eec352af13436548cfd9a28f832fc0757 Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Disable project model input for ActiveQt wizardMiguel Costa2024-01-291-0/+1
| | | | | | Fixes: QTVSADDINBUG-1159 Change-Id: Ib667004420093bca8ad4fefb58e02356aa3910cf Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Merge both getter methods to fetch Qt version informationKarsten Heimrich2024-01-161-4/+4
| | | | | | | | * Merges both caches into the version information class itself. * Adapt depending code and classes to the function name changes. Change-Id: I308a0646af815be220f17902e01391819cb33ac8 Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Convert QtVersionManager to a fully static classKarsten Heimrich2024-01-161-5/+4
| | | | | | | | | * Removed the static instance member and associated lazy instantiation. * Refactored all methods to be static, there is no shared mutable state anyways. Change-Id: I51b8addc81c462c0b7b3dea5a79547960727b722 Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Refactor Qt version information retrieval for improved concurrencyKarsten Heimrich2024-01-161-6/+6
| | | | | | | | | | * Removed unnecessary initialization delays on extension loading. * Ensured thread safety using a semaphore for cache access. * Utilized concurrent dictionary for version information caching. * Cleaned up code for clarity and maintainability. Change-Id: I01f4d8f4b1bd575d28fa3d3f09c46af7f0fe4c32 Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Safe the Qt version the user addedKarsten Heimrich2024-01-161-3/+16
| | | | | | | | | | In case there was no Qt version available when the wizard is run and the user added a Qt version using the error label, store it as default version. Change-Id: Ida4a28954f5e8ed5fa71430f3c01ba33d940cca3 Reviewed-by: Ali Can Demiralp <ali.demiralp@qt.io> Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Fix button state logic on the wizard config pageKarsten Heimrich2024-01-161-7/+5
| | | | | | | | | | | | | | | | | | * Always store the initial state of the 'Next' and 'Finish' button. * Do not overwrite the initial state of the buttons once we have configured a new Qt version (if there was non before). When starting certain wizards, such as the {Empty, Console, QML} wizard, there is no subsequent page after the configuration page. The logic for the 'Next' and 'Finish' button was broken, especially when no Qt version was configured. Attempting to set up a Qt version using the error message (a label one can click on) resulted in unnecessary overwriting of the initial state of the 'Next' and 'Finish' button in the ErrorMsg_OnMouseDown() function. Change-Id: I2efbe631bcb567997e349418016c0174cbb4a076 Reviewed-by: Miguel Costa <miguel.costa@qt.io> Reviewed-by: Ali Can Demiralp <ali.demiralp@qt.io>
* Update license year from 2023 to 2024Ali Can Demiralp2024-01-091-1/+1
| | | | | Change-Id: I38700243f7ef55239b247945324e4e0a978b097f Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Adjust namespace of Utils class to match folder structureKarsten Heimrich2024-01-081-1/+1
| | | | | | Change-Id: I462c9cc4b96aaf354f77739da64202e2a7dc8af2 Reviewed-by: Ali Can Demiralp <ali.demiralp@qt.io> Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* In the new-project wizard, allow to select a unregistered Qt versionKarsten Heimrich2023-10-121-110/+145
| | | | | | | | | | | When creating a new project, if no Qt version is registered, the wizard shows an error message and now provides a link to open the Browse dialog to add a unregistered Qt versions and default configs. Fixes: QTVSADDINBUG-960 Change-Id: I54d042ba179cc11c7a4499adc4766a936a141756 Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Remove leftover property used during cmake support developmentKarsten Heimrich2023-09-271-1/+0
| | | | | Change-Id: Ic37c415acf78350ffda70cc5ccc9611d20f04938 Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Use default icons instead of handcrafted sign + and -Karsten Heimrich2023-07-211-7/+0
| | | | | Change-Id: I557f76f75c370caa2baca70048f2d635a534f973 Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Remove redundant codeKarsten Heimrich2023-04-201-15/+16
| | | | | Change-Id: I94cc72280815ed31809747b93032dd8768fd75ca Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Remove redundant type specificationKarsten Heimrich2023-04-201-2/+2
| | | | | Change-Id: I2fd01ab44923e301f4a9ae87445e8aaa9485cc83 Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Merge null/pattern checks into complex patternKarsten Heimrich2023-04-201-21/+18
| | | | | Change-Id: I971571b9df58c5619a2d9d629c61cc8f7761e99a Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Update project wizard for Qt/CMakeMiguel Costa2023-03-281-7/+39
| | | | | | Task-number: QTVSADDINBUG-1042 Change-Id: Ifd41c5dfa3ea5bba670d015b9d804f4891ed6ee0 Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Minor Linq improvementsKarsten Heimrich2023-03-151-3/+2
| | | | | Change-Id: Ic6e83b69cfb57d837eb64dfcca16a0b12b2d8e76 Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Add abbreviated case-insensitive optionMiguel Costa2023-03-091-1/+2
| | | | | Change-Id: I760ab2dbff2c7fb406240b447ae963e737fb66d4 Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Use string interpolation expressionKarsten Heimrich2023-02-241-5/+5
| | | | | Change-Id: If5fdcae4b5ea48c2a8ce17d89ca3982232a095f3 Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Replace license headerMiguel Costa2023-02-231-27/+4
| | | | | Change-Id: I6e7667d0f6f1245b5b225e74120d289bf595423d Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Disable project model selectionMiguel Costa2022-12-161-1/+1
| | | | | | | Revert this when support for CMake projects is officially introduced. Change-Id: Ic7758fdab81c4841a3cf8ff59323cac510434564 Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Simplify some LINQ code, adjust some warningsKarsten Heimrich2022-11-211-5/+5
| | | | | | | | | * Remove redundant parameter type specification * Simplify some LINQ calls and use method groups * Fix multiple enumeration runs and store as List Change-Id: Id752efa0b3994928f4d0a17551d24a7d25834957 Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Add support for ARM64Miguel Costa2022-11-071-10/+25
| | | | | | | | | | Qt versions targeting MSVC/ARM64 are now supported. Previously, an error would be generated when attempting to add an ARM64 build to the list of Qt versions. Fixes: QTVSADDINBUG-938 Change-Id: I977141eef1e39c65b4ef965c233019655d1b5776 Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Fix expression is always 'true' or always 'false'Karsten Heimrich2022-10-051-5/+2
| | | | | Change-Id: I95a9f9b4e7512542a7a3de7b61029af4de8832b3 Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Add support for Qt/CMake in project templatesMiguel Costa2022-09-071-0/+4
| | | | | | | | | | | | | The new-project wizard will now allow choosing the project model, between MSBuild or CMake. If CMake is selected, additional template expansion is carried out to create the new project using CMake. The project model option is disabled, and fixed to MSBuild. Subsequent patches will add CMake support for each project template. Change-Id: Ia520d764117c518da01139f4df7634f6404f889a Task-number: QTVSADDINBUG-624 Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Fix Qt6 modules handling and some qt module wizard typosKarsten Heimrich2022-04-221-10/+20
| | | | | | | | | | Fixes: QTVSADDINBUG-925 Fixes: QTVSADDINBUG-937 Fixes: QTVSADDINBUG-951 Fixes: QTVSADDINBUG-972 Fixes: QTVSADDINBUG-974 Change-Id: Ifee7d19560cd0ce8d7c6f2563f3f7198453c20fd Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* List Qt modules in alphabetical orderMiguel Costa2022-03-221-1/+1
| | | | | Change-Id: I4b4a0ecdadfca0718b77f3351973457ccc137365 Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Fix Qt module pop-up not showingKarsten Heimrich2022-03-221-1/+1
| | | | | Change-Id: I5073fd984fb7f0d9542ea05fbb418308cf8029dd Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Apply uniform guidelines to 'using' directivesMiguel Costa2022-02-221-3/+3
| | | | | Change-Id: If92cf095e20c4bc8b9bc9fe04a40233a2c602973 Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Make property privateKarsten Heimrich2022-02-091-1/+1
| | | | | Change-Id: I0680fcef9877e2d24a82eb5e9183173837fc3be3 Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Fix local variable is never usedKarsten Heimrich2022-01-281-1/+1
| | | | | Change-Id: Ief355368fed193e437ee4881dbb1373e21f62a95 Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Rework wizard folder layoutKarsten Heimrich2022-01-111-0/+479
Prepare the folder layout the be able to share the GUI wizard setup page used in various wizards. Change-Id: Iee0fc23eee50eee2c03b151d9a0d87de156a908a Reviewed-by: Miguel Costa <miguel.costa@qt.io>