aboutsummaryrefslogtreecommitdiffstats
path: root/QtVsTools.Core/MsBuild/MsBuildProject.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]>
* Implement support for LSP 'configuration' and workspaceFolders' messagesKarsten Heimrich2025-04-101-0/+5
| | | | | | Task-number: QTVSADDINBUG-1298 Change-Id: Ic84a8dc9fa7842afee135dcb0adbe8331d148233 Reviewed-by: Joerg Bornemann <[email protected]>
* Update copyright comments to 2025Ali Demiralp2025-03-181-4/+2
| | | | | Change-Id: I9ab1f8919a3d28cb546cd71bfdc8da1f6ae9e123 Reviewed-by: Karsten Heimrich <[email protected]>
* Use more safe string.Equals(...) functionKarsten Heimrich2024-07-261-1/+1
| | | | | | | Do not throw if the first string object to be compared is null. Change-Id: If5524796d88858afce6172ead46c607c225db216 Reviewed-by: Miguel Costa <[email protected]>
* Add IDC integration to Qt/MSBuildAli Can Demiralp2024-06-171-12/+5
| | | | | | Fixes: QTVSADDINBUG-962 Change-Id: Ia033082f1484ba6126e5509cccadadc0d2cf0387 Reviewed-by: Karsten Heimrich <[email protected]>
* Make use of the new settings classKarsten Heimrich2024-03-271-2/+2
| | | | | | | | | | | This patch addresses an initialization issue that occurs when the user waits on the splash screen until Visual Studio is fully initialized. In this scenario, none of the options on the QtOptionsPage are set to their corresponding values from the registry, which may result in incorrect behavior in some cases. Change-Id: I9403289f429244ee4f2f6656f703cdb1f60e486a Reviewed-by: Miguel Costa <[email protected]>
* Inform user if project Qt installation property is invalidAli Can Demiralp2024-03-261-0/+36
| | | | | | Task-number: QTVSADDINBUG-1132 Change-Id: I4d86de650db1acc723ec579bd6d5108e955a06a6 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-3/+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]>
* 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-2/+2
| | | | | | Change-Id: I462c9cc4b96aaf354f77739da64202e2a7dc8af2 Reviewed-by: Ali Can Demiralp <[email protected]> Reviewed-by: Miguel Costa <[email protected]>
* Introduce VcFilterExtensions, move functions, adapt usagesKarsten Heimrich2023-09-011-75/+2
| | | | | Change-Id: I28de3e7db5dfea26167a5310b4ac29ba3f0ad23b Reviewed-by: Miguel Costa <[email protected]>
* Remove Filters class, move getter into FakeFilter classKarsten Heimrich2023-09-011-1/+1
| | | | | Change-Id: Ic1c4020a38eeecf627a05defc6bdab37d3c4d3e8 Reviewed-by: Miguel Costa <[email protected]>
* Hide notify messages when solution is closedMiguel Costa2023-08-301-0/+2
| | | | | Change-Id: I6f0408247c5498b7a1398129a768c6ec3bac49b4 Reviewed-by: Karsten Heimrich <[email protected]>
* Fix option ProjectTrackingKarsten Heimrich2023-07-211-3/+13
| | | | | | | | | | | | | | | After merging both versions of the tracking cache code, the 'ProjectTracking' option was accidentally removed. Since we now have all projects in the cache, we have to: * Start the background build only if the option is true * Consider the option if we want to know if a project is being tracked * Remove the project from the cache even if not tracked * Guard methods like StartBuildAsync() and RefreshAsync() Change-Id: I3185efa93d4b006bc454aeeddedd2f2c890168dd Reviewed-by: Miguel Costa <[email protected]>
* Remove obsolte code, amends commit dd58d1Karsten Heimrich2023-07-191-203/+0
| | | | | | | | The above mentioned patch removes the last usage of property 'QmlDebug', therefor all dependent code can be removed as well. Change-Id: Ieeac7a75cac361824d39ecf3d19074c69ceb99ab Reviewed-by: Karsten Heimrich <[email protected]>
* Rename all QtProject{and related classes} to MsBuildProject{...}Karsten Heimrich2023-06-291-0/+517
| | | | | Change-Id: I7e730590938754892ae223c75bdb2d4611568055 Reviewed-by: Miguel Costa <[email protected]>
* Rename MsBuildProject to MsBuildProjectReaderWriterKarsten Heimrich2023-06-291-1713/+0
| | | | | Change-Id: I1c22e2300650a03eda603a7b29cfcdcbe5e7d5b2 Reviewed-by: Miguel Costa <[email protected]>
* Fix possible 'System.NullReferenceException'Karsten Heimrich2023-06-291-14/+15
| | | | | Change-Id: Id080dc2ddd943de8b3e1e5d3db0a4df7d2033240 Reviewed-by: Miguel Costa <[email protected]>
* Fix possible 'null' assignment to non-nullable entityKarsten Heimrich2023-06-291-6/+8
| | | | | Change-Id: I8f019db83a09a4f4e87317e57a994a81ce98fa89 Reviewed-by: Miguel Costa <[email protected]>
* Minor functional change, mostly new language featuresKarsten Heimrich2023-06-291-115/+117
| | | | | Change-Id: I077aedaf2dc3ab75bcca29b4001e73494ba666ec Reviewed-by: Miguel Costa <[email protected]>
* Non-functional changes, like naming, formating etc.Karsten Heimrich2023-06-291-30/+28
| | | | | Change-Id: I57b5c9cfc625d09a4b7d8499e05e6c849ecd1903 Reviewed-by: Miguel Costa <[email protected]>
* Move variable closer to its first usageKarsten Heimrich2023-06-291-2/+2
| | | | | Change-Id: I8fb854bd21bc05ff59e495905c9fe22d13d42f05 Reviewed-by: Miguel Costa <[email protected]>
* Remove unused variable or function argumentKarsten Heimrich2023-06-291-6/+0
| | | | | Change-Id: I4251b5232325b20bff2fb6cc021601d0b0d84ad9 Reviewed-by: Miguel Costa <[email protected]>
* Invert if-condition to reduce nesting and improve readabilityKarsten Heimrich2023-06-291-148/+145
| | | | | Change-Id: Ifd63bacc6b236988d686faf10e863dfdcdedd42a Reviewed-by: Miguel Costa <[email protected]>
* Use explicit modifier definition for type membersKarsten Heimrich2023-06-291-33/+35
| | | | | Change-Id: I786aee83351e603a2e295631a9d1f48d148242df Reviewed-by: Miguel Costa <[email protected]>
* Remove support for projects with custom build stepsKarsten Heimrich2023-06-221-5/+20
| | | | | | | | | | | The QtVersion class now supports only V3 of the project format. This enables us to remove support for projects with custom build steps. It is also not necessary anymore to check the project format before usinq QtProject, it is either a valid object and we know it is V3 and above, or it failed to create. Change-Id: I1cb0d8efe06cd8e2afe2fad8b9178c40c379ea7a Reviewed-by: Miguel Costa <[email protected]>
* Fix bug while converting a projectKarsten Heimrich2023-06-221-28/+31
| | | | | | | | | | | The bug was visible while converting a project using e.g. a Qt5 version, but the default version after conversion is using Qt6. That lead to not removing the Qt5 modules, which can result in a build failure. Iterate over both supported major versions to overcome the issue. Change-Id: I6ee48cb89bdf80e0fcc9cb833292b3dcba16e8d2 Reviewed-by: Miguel Costa <[email protected]>
* Core library: Split QtMsBuild.cs and move the contained typesKarsten Heimrich2023-06-211-1/+1
| | | | | Change-Id: Ib5b55bd61ec16993a8856f7134f3bc63aa4bfed2 Reviewed-by: Miguel Costa <[email protected]>
* Core library: Move Qt MSBuild related classesKarsten Heimrich2023-06-211-0/+1699
With this change, all QtProject/Qt MsBuild related classes are moved to a special directory. Only files that were previously in the core library are moved. Some code needed to be adapted. Change-Id: Ic664a13573ecbdf55014e57b5a4ea27e1813829f Reviewed-by: Miguel Costa <[email protected]>