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. Qt VS Tools Kills All Other Projects

Qt VS Tools Kills All Other Projects

Scheduled Pinned Locked Moved Solved General and Desktop
6 Posts 2 Posters 902 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.
  • L Offline
    L Offline
    L. Spiro
    wrote on last edited by
    #1

    After adding the Qt VS Tools 2.3.2 to Visual Studio 2015, all of my non-Qt projects encounter this error when trying to build:


    Qt VS Tools

    The following error occurred:

    There's no Qt version assigned to this project for platform Win32. Please use the 'change Qt version' feature and choose a valid Qt version for this platform.

    OK

    This does not go away even though the Qt Options shows this:
    0_1565207027084_b7e7b651-bd6c-4b7e-aab0-cded5e9747da-image.png

    Of course it is for some reason impossible to set up Qt for Win32 anyway, as it only supports x64, so it really doesn’t matter what Qt settings are available, they should be entirely shut off.

    How can I go back to working normally on all of my normal projects and have to deal with Qt settings only in Qt projects?

    L. Spiro

    JKSHJ 1 Reply Last reply
    0
    • L L. Spiro

      After adding the Qt VS Tools 2.3.2 to Visual Studio 2015, all of my non-Qt projects encounter this error when trying to build:


      Qt VS Tools

      The following error occurred:

      There's no Qt version assigned to this project for platform Win32. Please use the 'change Qt version' feature and choose a valid Qt version for this platform.

      OK

      This does not go away even though the Qt Options shows this:
      0_1565207027084_b7e7b651-bd6c-4b7e-aab0-cded5e9747da-image.png

      Of course it is for some reason impossible to set up Qt for Win32 anyway, as it only supports x64, so it really doesn’t matter what Qt settings are available, they should be entirely shut off.

      How can I go back to working normally on all of my normal projects and have to deal with Qt settings only in Qt projects?

      L. Spiro

      JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      @l-spiro said in Qt VS Tools Kills All Other Projects:

      After adding the Qt VS Tools 2.3.2 to Visual Studio 2015, all of my non-Qt projects encounter this error when trying to build

      Does this affect your old projects only (those which existed before you installed Qt VS Tools)? Does it also affect new projects that you create after installing Qt VS Tools?

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      0
      • L Offline
        L Offline
        L. Spiro
        wrote on last edited by L. Spiro
        #3

        It does not affect a new dummy project I have just created after having installed Qt VS Tools.
        Recreating all of my old projects is unreasonable.

        L. Spiro

        JKSHJ 1 Reply Last reply
        0
        • L L. Spiro

          It does not affect a new dummy project I have just created after having installed Qt VS Tools.
          Recreating all of my old projects is unreasonable.

          L. Spiro

          JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by JKSH
          #4

          @l-spiro said in Qt VS Tools Kills All Other Projects:

          It does not affect a new dummy project I have just created after having installed Qt VS Tools.

          It sounds like your existing project config files now contain references to Qt for some reason, but new non-Qt projects are created correctly.

          I was unable to reproduce this issue on my MSVC 2019 setup (which did not have Qt VS Tools installed before).

          As a workaround, try:

          • Restore your solution and config files (*.sln, *.vcxproj, *.vcxproj.user, *.vcxproj.filters) from a backup (e.g. source control), OR
          • Reboot your PC. Edit your *.vcxproj (after making a backup) and delete the top-level reference to Qt, example:
            <PropertyGroup Label="Globals">
              <ProjectGuid>{B12702AD-ABFB-343A-A199-8E24837244A3}</ProjectGuid>
              <Keyword>Qt4VSv1.0</Keyword>
              <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
            </PropertyGroup>
          

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          1 Reply Last reply
          4
          • L Offline
            L Offline
            L. Spiro
            wrote on last edited by
            #5

            So it turns out I only had this problem because the project had used Qt long long ago, so there were some references like the one you posted in the project file.
            Removing it did indeed help.

            Thank you,
            L. Spiro

            JKSHJ 1 Reply Last reply
            1
            • L L. Spiro

              So it turns out I only had this problem because the project had used Qt long long ago, so there were some references like the one you posted in the project file.
              Removing it did indeed help.

              Thank you,
              L. Spiro

              JKSHJ Offline
              JKSHJ Offline
              JKSH
              Moderators
              wrote on last edited by
              #6

              @l-spiro said in Qt VS Tools Kills All Other Projects:

              So it turns out I only had this problem because the project had used Qt long long ago, so there were some references like the one you posted in the project file.

              Glad to hear you were able to track down and resolve the issue!

              Happy coding.

              Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

              1 Reply Last reply
              2

              • Login

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