aboutsummaryrefslogtreecommitdiffstats
path: root/QtVsTools.Core/MsBuild/MsBuildProjectReaderWriter.V2.cs
Commit message (Collapse)AuthorAgeFilesLines
* Correct style errors in CoreAli Can Demiralp2025-07-141-1/+1
| | | | | Change-Id: I17570e5eab6c0902691c521af408e30aa7dd1a7f Reviewed-by: Karsten Heimrich <[email protected]>
* Remove unused includes and correct include order in CoreAli Can Demiralp2025-06-241-1/+0
| | | | | Change-Id: If8d6f6d39679474756e9ec31feae3e19bbbaac19 Reviewed-by: Karsten Heimrich <[email protected]>
* Update copyright comments to 2025Ali Demiralp2025-03-181-4/+2
| | | | | Change-Id: I9ab1f8919a3d28cb546cd71bfdc8da1f6ae9e123 Reviewed-by: Karsten Heimrich <[email protected]>
* Fix null reference exceptionKarsten Heimrich2024-04-101-7/+8
| | | | | | | | | VersionInformation.GetOrAddBy{Name|Path} can return null if the provided path or name is invalid. To prevent null reference exceptions, implement some checks to ensure safe access to object. Change-Id: I30155bed68213632f1df2e1695612de237efbcb0 Reviewed-by: Karsten Heimrich <[email protected]>
* Refactor VersionInformation classKarsten Heimrich2024-03-141-1/+1
| | | | | | | | | | * 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 <[email protected]>
* 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 <[email protected]>
* Merge both getter methods to fetch Qt version informationKarsten Heimrich2024-01-161-1/+1
| | | | | | | | * 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 <[email protected]>
* Convert QtVersionManager to a fully static classKarsten Heimrich2024-01-161-2/+2
| | | | | | | | | * 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 <[email protected]>
* Refactor Qt version information retrieval for improved concurrencyKarsten Heimrich2024-01-161-2/+2
| | | | | | | | | | * 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 <[email protected]>
* Update license year from 2023 to 2024Ali Can Demiralp2024-01-091-1/+1
| | | | | Change-Id: I38700243f7ef55239b247945324e4e0a978b097f Reviewed-by: Miguel Costa <[email protected]>
* Adjust namespace of Utils class to match folder structureKarsten Heimrich2024-01-081-1/+1
| | | | | | Change-Id: I462c9cc4b96aaf354f77739da64202e2a7dc8af2 Reviewed-by: Ali Can Demiralp <[email protected]> Reviewed-by: Miguel Costa <[email protected]>
* Shuffle around constant registry path valuesKarsten Heimrich2024-01-081-2/+2
| | | | | Change-Id: I674906eeea61bd36eec593a3b2f85ba46fce8664 Reviewed-by: Miguel Costa <[email protected]>
* Fix null reference exception while selecting modulesKarsten Heimrich2023-11-241-1/+1
| | | | | | | | The change ensures that if proVarQT is null (Qt5 Module Main), an empty array is used instead, preventing a null reference exception. Change-Id: I6f66220440cf6df57a31effc1e4ab552cfdb9f4b Reviewed-by: Miguel Costa <[email protected]>
* Fix private modules discarded in .pro importMiguel Costa2023-10-251-4/+5
| | | | | | | | Issue was introduced by 9405f497. Fixes: QTVSADDINBUG-1137 Change-Id: I86aac9bbe5fbac980ef929049fdee17b1b9166c2 Reviewed-by: Karsten Heimrich <[email protected]>
* Fix VS 2019 build after ec8fed82Miguel Costa2023-10-121-4/+4
| | | | | Change-Id: I8f3f707a223e0a0a3857cd584fdf049b461e70dd Reviewed-by: Karsten Heimrich <[email protected]>
* Fix V2 conversion not committing changesMiguel Costa2023-10-041-4/+13
| | | | | Change-Id: Ib5798a12cb5a45849b406a8368c740c681179f8e Reviewed-by: Karsten Heimrich <[email protected]>
* Amend a548ea, filter the list of Qt modules used in the projectKarsten Heimrich2023-09-271-2/+8
| | | | | | | | | | | | | By first adding all modules from all known Qt versions (currently Qt5 and Qt6), it can happen that we have values for specific modules (namely webengine (Qt5) and webenginecore(Qt6)) duplicated in the list. In the end, we need to filter this list once more to truly add only the modules provided by the Qt version. Fixes: QTVSADDINBUG-1126 Fixes: QTVSADDINBUG-1130 Change-Id: I7905f56616336c2d81bb86a7443c023cf7323151 Reviewed-by: Miguel Costa <[email protected]>
* Refactor project conversionMiguel Costa2023-08-281-0/+259
Change-Id: I15f831d6e38fa29e9136fc122ebd5f18dbaaeffb Reviewed-by: Karsten Heimrich <[email protected]>