Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
3.2.0
-
None
-
Visual Studio 17.10
Description
Hello,
When working with two projects using different Qt versions, we noticed an issue with the latest version of the Qt Visual Studio plugin (3.2.0). The problem was not present in previous versions.
Project A is configured with Qt 6.5.3
Project B is configured with Qt 6.3.2
Visual Studio 17.10 is used as IDE.
Steps to reproduce:
Open Project A and Project B at the same time.
Rebuild Project A (no issues)
Rebuild Project B (no issues)
Keep Project B open in VS and close Project A
Reopen a new instance of VS with Project A.
Build Project A - building error.
The problem is that moc'ing is (re)performed using the wrong version, Qt 6.3.2 instead of Qt 6.5.3. If I fully rebuild project A again instead of using a normal build, everything works fine. It seems like the build is using $(QtVarsWorkDir) of the other Visual Studio instance.