[Interest] Problems with VSAddin
Duane
duane.hebert at group-upc.com
Wed Dec 23 14:16:24 CET 2015
Using VSAddin 1.2.3 with VS2012. When creating a new Qt project the
vcxproj.user file generated incorrectly.
For example:
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup
Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LocalDebuggerEnvironment>PATH=$(QTDIR)\bin%3b"$QTDIR\bin%3b$(PATH)
<QTDIR>D:\Qt\5.5\msvc2012</QTDIR>
</LocalDebuggerEnvironment>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
</PropertyGroup>
<PropertyGroup
Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LocalDebuggerEnvironment>PATH=$(QTDIR)\bin%3b"$QTDIR\bin%3b$(PATH)
<QTDIR>D:\Qt\5.5\msvc2012</QTDIR>
</LocalDebuggerEnvironment>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
</PropertyGroup>
</Project>
When this happens, QTDIR is not correct when trying to run the project
from the IDE so it can't find the Qt dlls that it needs to run.
If I move the QTDIR declaration before the PATH declaration in both
cases I can run the project.
Also the path should likely be PATH=$(QTDIR)\bin%3b$(PATH).
More information about the Interest
mailing list