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. Visual studio can not build Qt projects since today
Forum Updated to NodeBB v4.3 + New Features

Visual studio can not build Qt projects since today

Scheduled Pinned Locked Moved Unsolved General and Desktop
12 Posts 5 Posters 2.7k Views 4 Watching
  • 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.
  • Z Offline
    Z Offline
    zisosak
    wrote on last edited by
    #1

    I have a problem I can not solve,

    When I create Qt project with Visual studio 2019 I get untitled.vcxproj: background build FAILED! And if I build I get: QtMsBuild: could not locate qt.targets, qt.props; project may not build correctly.

    I did try to unistall and reinstall everithing Qt, Visual studio, Qt Visual tools, but nothing.

    Current velsion: Qt 5.15.1 Visual studio 2019 Qt Visual tools: 2.6.0 (the last udpate was yesterday 24-Sep-2020 13:23) I downgrated and still not working.

    The problem is than I'm on a project and now I have errors could not open source file ui*_.h or Qthread and ect..

    1 Reply Last reply
    0
    • V Offline
      V Offline
      VeNToR
      wrote on last edited by
      #2

      I have same problem since today. Did you solved ?

      I am using;

      Microsoft Visual Studio Enterprise 2019 Version 16.9.0
      Qt Visual Studio Tools 2.7.1
      Qt 6.0.1

      Thanks...

      1 Reply Last reply
      0
      • sierdzioS Offline
        sierdzioS Offline
        sierdzio
        Moderators
        wrote on last edited by
        #3

        From what I've heard, a recent MS Windows update has broken visual studio. It crashes for many people in various situations. So, if it is that, you'll have to wait for MS to fix this.

        (Z(:^

        V 1 Reply Last reply
        2
        • sierdzioS sierdzio

          From what I've heard, a recent MS Windows update has broken visual studio. It crashes for many people in various situations. So, if it is that, you'll have to wait for MS to fix this.

          V Offline
          V Offline
          VeNToR
          wrote on last edited by
          #4

          @sierdzio , I mean that you have already same problem cause'f couple of days ago published MVS update, right ?

          mrjjM sierdzioS 2 Replies Last reply
          0
          • V VeNToR

            @sierdzio , I mean that you have already same problem cause'f couple of days ago published MVS update, right ?

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @VeNToR
            Hi
            if you run winver what version does it show ?

            https://www.reddit.com/r/Windows10/comments/ld7664/latest_windows_update_breaks_visual_studio_and/

            try look if you have
            KB4598299 and KB4598301 installed.

            V 1 Reply Last reply
            0
            • mrjjM mrjj

              @VeNToR
              Hi
              if you run winver what version does it show ?

              https://www.reddit.com/r/Windows10/comments/ld7664/latest_windows_update_breaks_visual_studio_and/

              try look if you have
              KB4598299 and KB4598301 installed.

              V Offline
              V Offline
              VeNToR
              wrote on last edited by
              #6

              @mrjj said in Visual studio can not build Qt projects since today:

              if you run winver what version does it show ?

              version is 20H2 (OS Build 19042.844)

              mrjjM 1 Reply Last reply
              0
              • V VeNToR

                @sierdzio , I mean that you have already same problem cause'f couple of days ago published MVS update, right ?

                sierdzioS Offline
                sierdzioS Offline
                sierdzio
                Moderators
                wrote on last edited by
                #7

                @VeNToR said in Visual studio can not build Qt projects since today:

                @sierdzio , I mean that you have already same problem cause'f couple of days ago published MVS update, right ?

                No, I have heard from others that they have issues.

                I use Windows very sporadically so I have not tried yet (and, seeing how it goes, I probably will wait it out ;)).

                (Z(:^

                1 Reply Last reply
                0
                • V VeNToR

                  @mrjj said in Visual studio can not build Qt projects since today:

                  if you run winver what version does it show ?

                  version is 20H2 (OS Build 19042.844)

                  mrjjM Offline
                  mrjjM Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on last edited by mrjj
                  #8

                  Hi
                  Well that seems the be the affected version.

                  https://developercommunity2.visualstudio.com/t/unexpected-vs-crash-when-docking-or-splitting-wind/1323017?from=email&viewtype=all#T-ND1331835

                  they say there is a fix.

                  It might not be what you are seeing but could be.

                  V 1 Reply Last reply
                  0
                  • mrjjM mrjj

                    Hi
                    Well that seems the be the affected version.

                    https://developercommunity2.visualstudio.com/t/unexpected-vs-crash-when-docking-or-splitting-wind/1323017?from=email&viewtype=all#T-ND1331835

                    they say there is a fix.

                    It might not be what you are seeing but could be.

                    V Offline
                    V Offline
                    VeNToR
                    wrote on last edited by
                    #9

                    @mrjj thanks for your help, I gonna try...

                    mrjjM 1 Reply Last reply
                    0
                    • V VeNToR

                      @mrjj thanks for your help, I gonna try...

                      mrjjM Offline
                      mrjjM Offline
                      mrjj
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      @VeNToR
                      I hope it works :)
                      else you can try to see if you have those KB installed.

                      V 1 Reply Last reply
                      0
                      • mrjjM mrjj

                        @VeNToR
                        I hope it works :)
                        else you can try to see if you have those KB installed.

                        V Offline
                        V Offline
                        VeNToR
                        wrote on last edited by
                        #11

                        @mrjj :( not working... KB4598299 and KB4598301 are not installed. Funny... 2nd problem is when you restart VS, it does not remember which source code windows are opened ?

                        1 Reply Last reply
                        0
                        • D Offline
                          D Offline
                          des1re10
                          wrote on last edited by des1re10
                          #12
                          This post is deleted!
                          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