Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Is there a proper location to ask questions about the VS plugin?
QtWS25 Last Chance

Is there a proper location to ask questions about the VS plugin?

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 208 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    chopper
    wrote on last edited by
    #1

    I've got the latest plugin in Visual Studio 2015, and I've configured Visual Studio to have two separate Qt locations - one (the default) that points to the msvc2015_x64 installation, and the other that points to the msvc2015 installation (x86)

    If you don't store the user file generated when you first create the solution/project files, and then git clone the repo with that project to a new location, it appears that the Qt VS plugin gets triggered at some point during the build and the plugin creates a new *.user option file for the project, but it does not do this correctly.

    It creates a broken user option file that has two correct entries (release|debug for the default - in this case x64 platform) and two incorrect entries (release|debug for the x86 platform.)

    This is the *.vcxproj.user file that gets generated by the addin:

    <?xml version="1.0" encoding="utf-8"?>
    <Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
      <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
        <LocalDebuggerEnvironment>PATH=$(QTDIR)\bin%3b$(PATH)</LocalDebuggerEnvironment>
      </PropertyGroup>
      <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
        <LocalDebuggerEnvironment>PATH=$(QTDIR)\bin%3b$(PATH)</LocalDebuggerEnvironment>
      </PropertyGroup>
      <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
        <QTDIR>C:\Qt\5.11.1\msvc2015_64</QTDIR>
        <LocalDebuggerEnvironment>PATH=$(QTDIR)\bin%3b$(PATH)</LocalDebuggerEnvironment>
      </PropertyGroup>
      <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
        <QTDIR>C:\Qt\5.11.1\msvc2015_64</QTDIR>
        <LocalDebuggerEnvironment>PATH=$(QTDIR)\bin%3b$(PATH)</LocalDebuggerEnvironment>
      </PropertyGroup>
    </Project>
    

    Note the missing property from the x86 entries:

    <QTDIR>C:\Qt\5.11.1\msvc2015</QTDIR>
    

    I could, of course, be using the plugin incorrectly, but it doesn't seem so.

    Is this just something to report as a bug without discussion?

    Thanks

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved