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. Error in building/deploying project

Error in building/deploying project

Scheduled Pinned Locked Moved Unsolved General and Desktop
12 Posts 4 Posters 4.0k 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.
  • M Offline
    M Offline
    mrjj
    Lifetime Qt Champion
    wrote on 7 Jun 2018, 16:32 last edited by
    #2

    Hi
    What does it show of compilers to use ?

    alt text

    1 Reply Last reply
    0
    • S Offline
      S Offline
      shiwang987
      wrote on 7 Jun 2018, 16:37 last edited by
      #3

      0_1528389251696_new1.PNG 0_1528389269464_new2.PNG

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mrjj
        Lifetime Qt Champion
        wrote on 7 Jun 2018, 16:41 last edited by
        #4

        And it seems that the dropdown cannot be open to select compiler ?

        mine looks like this
        alt text

        Im wondering when you installed visual studio, if you selected the c++ part ?
        as I recall, its deselected by default in 2015 installer.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          shiwang987
          wrote on 7 Jun 2018, 17:15 last edited by
          #5

          I downloaded the build tools from here and installed them..
          https://www.microsoft.com/en-in/download/details.aspx?id=48159
          still its same..

          J R 2 Replies Last reply 8 Jun 2018, 06:51
          0
          • S shiwang987
            7 Jun 2018, 17:15

            I downloaded the build tools from here and installed them..
            https://www.microsoft.com/en-in/download/details.aspx?id=48159
            still its same..

            J Offline
            J Offline
            jsulm
            Lifetime Qt Champion
            wrote on 8 Jun 2018, 06:51 last edited by
            #6

            @shiwang987 As far as I know MSVC C++ 15.0 is MSVC2017, not 2015. You should download and install the correct version. And make sure to select C++ as well during installation.

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            S 1 Reply Last reply 8 Jun 2018, 08:00
            1
            • S shiwang987
              7 Jun 2018, 17:15

              I downloaded the build tools from here and installed them..
              https://www.microsoft.com/en-in/download/details.aspx?id=48159
              still its same..

              R Offline
              R Offline
              raven-worx
              Moderators
              wrote on 8 Jun 2018, 06:57 last edited by raven-worx 6 Aug 2018, 06:59
              #7

              @shiwang987
              to add up to @jsulm
              I don't think that the "Build Tools" package contains the compilers, etc. you need (i may be wrong though)

              Install the Visual Studio 2015 Community Edition.

              --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
              If you have a question please use the forum so others can benefit from the solution in the future

              1 Reply Last reply
              0
              • J jsulm
                8 Jun 2018, 06:51

                @shiwang987 As far as I know MSVC C++ 15.0 is MSVC2017, not 2015. You should download and install the correct version. And make sure to select C++ as well during installation.

                S Offline
                S Offline
                shiwang987
                wrote on 8 Jun 2018, 08:00 last edited by
                #8

                @jsulm I already have Visual Studio 2017 installed on my pc. How can I download the additional components? Can you send me the link to download the additional components required?

                J 1 Reply Last reply 8 Jun 2018, 08:05
                0
                • S shiwang987
                  8 Jun 2018, 08:00

                  @jsulm I already have Visual Studio 2017 installed on my pc. How can I download the additional components? Can you send me the link to download the additional components required?

                  J Offline
                  J Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on 8 Jun 2018, 08:05 last edited by
                  #9

                  @shiwang987 said in Error in building/deploying project:

                  I already have Visual Studio 2017

                  this is exactly the problem: you installed Qt for MSVC2015 but you have MSVC2017. If you want to use MSVC2017 then install Qt for MSVC2017.

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  S 1 Reply Last reply 8 Jun 2018, 08:13
                  1
                  • J jsulm
                    8 Jun 2018, 08:05

                    @shiwang987 said in Error in building/deploying project:

                    I already have Visual Studio 2017

                    this is exactly the problem: you installed Qt for MSVC2015 but you have MSVC2017. If you want to use MSVC2017 then install Qt for MSVC2017.

                    S Offline
                    S Offline
                    shiwang987
                    wrote on 8 Jun 2018, 08:13 last edited by
                    #10

                    @jsulm After knowing that I downloaded Visual studio 2015 also.. But, I am still not able to add compiler to it. I have already made many C++ projects in it and they are getting compiled without any problem. How can they get compiled without any c++ compiler?
                    I have already spent 2 days figuring out solution to this problem. At this point, I would request you to suggest me an easy alternative like what should I download from start so that I don't have to download any compiler separately. Please help

                    J 1 Reply Last reply 8 Jun 2018, 08:46
                    0
                    • S shiwang987
                      8 Jun 2018, 08:13

                      @jsulm After knowing that I downloaded Visual studio 2015 also.. But, I am still not able to add compiler to it. I have already made many C++ projects in it and they are getting compiled without any problem. How can they get compiled without any c++ compiler?
                      I have already spent 2 days figuring out solution to this problem. At this point, I would request you to suggest me an easy alternative like what should I download from start so that I don't have to download any compiler separately. Please help

                      J Offline
                      J Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on 8 Jun 2018, 08:46 last edited by
                      #11

                      @shiwang987 Which projects did you make? In QtCreator or in Visual Studio?
                      When you installed Visual Studio 2015 did you select C++ as well? It is not selected by default.

                      https://forum.qt.io/topic/113070/qt-code-of-conduct

                      S 1 Reply Last reply 8 Jun 2018, 10:34
                      0
                      • J jsulm
                        8 Jun 2018, 08:46

                        @shiwang987 Which projects did you make? In QtCreator or in Visual Studio?
                        When you installed Visual Studio 2015 did you select C++ as well? It is not selected by default.

                        S Offline
                        S Offline
                        shiwang987
                        wrote on 8 Jun 2018, 10:34 last edited by
                        #12

                        @jsulm Sorry my bad.. I was actually running my projects on 17 version. I installed the c++ files and now its running fine.. thanks a lot

                        1 Reply Last reply
                        0

                        11/12

                        8 Jun 2018, 08:46

                        • Login

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