aboutsummaryrefslogtreecommitdiffstats
path: root/QtVsTools.Core/QtBuildToolQuery.cs
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright comments to 2025Ali Demiralp2025-03-181-3/+1
| | | | | Change-Id: I9ab1f8919a3d28cb546cd71bfdc8da1f6ae9e123 Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Refactor QtBuildToolQuery to improve code clarity and functionalityKarsten Heimrich2024-08-261-20/+23
| | | | | | | | | | | | * Extracted logic for creating QtPathsQuery into a separate method to improve readability and maintainability of the code. * Added comment explaining the need to run qtpaths -version first, due to the lack of qmake query functionality in qtpaths versions before 2.0. Change-Id: Ibc518d42775607fd7b9389801f7d31fb9dcbbb32 Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io> Reviewed-by: Ali Can Demiralp <ali.demiralp@qt.io>
* Adapt QMakeQuery to use the QtBuildToolQuery base classKarsten Heimrich2024-07-261-1/+1
| | | | | | | | | | | | | * QMakeQuery uses the common query code of its base class * Adapt QMakeConf to accept a query tool to fetch properties * Adapt Versioninformation to accept a query tool to fetch properties The behavior of querying properties now first tries qtpaths if available and if its version is >= 2, fallbacks to qmake if not. Fixes: QTVSADDINBUG-1080 Change-Id: Ia63d0022b39c3c862478ccdcf6379f4546971465 Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Introduce QtPaths, abstract QtBuildToolQuery and QtPathsQueryKarsten Heimrich2024-07-261-0/+96
* QtPaths implements to qtpaths command line options * QtBuildToolQuery abstracts common code of {qmake|qtpaths} query * QtPathsQuery runs the actual qtpaths --query command Task-number: QTVSADDINBUG-1080 Change-Id: I23daac8a8d8ca30371efef11035f53bf0fa7fbe0 Reviewed-by: Miguel Costa <miguel.costa@qt.io>