Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Solved Qt is not compiling

    General and Desktop
    2
    9
    1825
    Loading More Posts
    • 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.
    • D
      Defohin last edited by

      Hello everyone, I was having trouble with Qt saying that couldn't include a file from MSVC and then I decided to clean my computer, I removed the MSVC 2015, Qt and everything related to it.
      I installed MSVC 2015 and it worked, I just finished installing Qt 5.7 and Qt Creator 4.2.0 and I can't compile anything.

      That is what happens when I try to compile something:
      compile

      And that is how my compilers looks like on Qt Creator:

      Kits tab:
      kits

      Hover the exclamation icon:
      kits hover

      Qt Versions tab:
      qt versions

      Compilers tab:
      compilers

      1 Reply Last reply Reply Quote 0
      • mrjj
        mrjj Lifetime Qt Champion last edited by mrjj

        Hi
        When you installed the 2015 VS did you check the C++ parts to be installed?
        I think to recall something about it being off pr default

        Update:
        ahh here
        http://mariusbancila.ro/blog/2015/07/22/microsoft-made-c-a-second-class-citizen-in-visual-studio-2015/

        1 Reply Last reply Reply Quote 2
        • D
          Defohin last edited by

          I think that I did that, but I'm going to see it anyway.

          mrjj 1 Reply Last reply Reply Quote 0
          • mrjj
            mrjj Lifetime Qt Champion @Defohin last edited by

            @Defohin
            Ok. You can also test this making a c++ program in visual studio. :)

            1 Reply Last reply Reply Quote 0
            • D
              Defohin last edited by Defohin

              I decided to go in a more brutal way, I'm going to format my computer (it's a mess)

              mrjj 1 Reply Last reply Reply Quote 0
              • mrjj
                mrjj Lifetime Qt Champion @Defohin last edited by mrjj

                @Defohin
                Well good plan ! :)
                If you make/have another partition than c: then you can easy use this tools
                http://www.drivesnapshot.de/en/
                It can restore windows FROM windows if image placed on other drive/partition.
                Used it for many years to avoid all the work with re-installing.
                Also
                www.ninite.com
                is perfect for installing browsers etc as its 100% sure not to contain any
                unwanted software of any kind. And you just check off the ones u want and all is installed with 1 click.
                No next, next, next, next, next, next, next, next, next :)

                Note: drivesnapshot FREE version will stop being able to make
                new images but allows restore after
                trial ended.

                1 Reply Last reply Reply Quote 3
                • D
                  Defohin last edited by

                  That is amazing, thank you, I do have a drive called D where I keep all my files and softwares I use.

                  mrjj 1 Reply Last reply Reply Quote 0
                  • mrjj
                    mrjj Lifetime Qt Champion @Defohin last edited by mrjj

                    @Defohin
                    Well if you want then, it's perfect for using imagining so you don't have to start completely over
                    on next reinstall. Note that drivesnapshot can make backup while windows is running :)
                    With win 10 new refresh feature and ninite.com it is not as needed as in older times but
                    it takes around 5 mins to restore an image so it is fact a very fast way to get clean windows back.
                    The image is compressed and will take up around 50% of the drive you backup. So if its 50 GB. then image is
                    25 GB. I have yet to see a corrupted image. :)
                    Ps. the tools need no installation. its 100% self contained. just 1 exe. :)

                    1 Reply Last reply Reply Quote 2
                    • D
                      Defohin last edited by

                      I finished and now everything is working properly. Thank you @mrjj

                      1 Reply Last reply Reply Quote 2
                      • First post
                        Last post