Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. [solved]No toolchain for MSVC compiler & Debugger
Forum Updated to NodeBB v4.3 + New Features

[solved]No toolchain for MSVC compiler & Debugger

Scheduled Pinned Locked Moved Installation and Deployment
19 Posts 5 Posters 18.6k Views 1 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.
  • L Offline
    L Offline
    loladiro
    wrote on last edited by
    #2

    If you don't already have a toolchain set up you have to do so under Tools->Options->Tool Chains. If you do then you can just use that tool chain in the projects settings (Project mode).

    1 Reply Last reply
    0
    • P Offline
      P Offline
      Peppy
      wrote on last edited by
      #3

      I can't! There is just recognized MSVC 2010 (from MS Visual C++ 2010), which has no libs.

      1 Reply Last reply
      0
      • L Offline
        L Offline
        loladiro
        wrote on last edited by
        #4

        Have you tried adding it manually? What compiler do you want to use? MSVC2010 or do you have MSVC2008 installed? Also, look in projects mode whether the toolchain is selected.

        1 Reply Last reply
        0
        • P Offline
          P Offline
          Peppy
          wrote on last edited by
          #5

          No I haven't tried manually, because I don't know where to look for it. What a compiler? I have installed with Qt MSVC 2008 libraries (and compiler) so I want to use this one (MSVC 2008) compiler. I have got installed MSVC 2010 too, but with Microsoft Visual C++ 2010 Express.

          There are just MSVC 2010 (amd/x86/x64/ia64), GCCE, Mingw (which works correctly)...

          And what about debugger? Which one I have to use??

          1 Reply Last reply
          0
          • L Offline
            L Offline
            loladiro
            wrote on last edited by
            #6

            Let's first try to get it to compile before we get into debugging (you'll have to use cdb for MSVC). To add it manually you'll have to know where you installed the MSVC2008 compiler. I think the easiest for you would be to take the auto-detected MSVC2010 settings, clone them and change the paths so that they point to 2008 instead of 2010.

            1 Reply Last reply
            0
            • P Offline
              P Offline
              Peppy
              wrote on last edited by
              #7

              Well, I did as you said but without any result. I set up from Options that toolchain but in project view (window) is no link to any toolchain, so it is no way.
              Well, you don't have direct link to download it?

              1 Reply Last reply
              0
              • L Offline
                L Offline
                loladiro
                wrote on last edited by
                #8

                can you post a screenshot of your tool chain list window and the project view? Also what link do you need?

                1 Reply Last reply
                0
                • P Offline
                  P Offline
                  Peppy
                  wrote on last edited by
                  #9

                  Well, here is it:
                  !http://i56.tinypic.com/2zisav5.jpg(Toolchain)!
                  !http://i54.tinypic.com/2gsh3bp.png(Project panel)!

                  Well, on XP, the MSVC requires some jom.exe file, but I don't want to set up it every time

                  And link to CDB Debugger Installer

                  1 Reply Last reply
                  0
                  • T Offline
                    T Offline
                    tobias.hunger
                    wrote on last edited by
                    #10

                    Do you have a MSVC 2008 installed properly? Note that the Qt SDK does not contain any MSVC compilers or debuggers.

                    Can you start the MSVC 2008 command prompt and build something from there? If yes, then "please file a bug report":http://bugreports.qt.nokia.com/ since it should have been picked up then.

                    If you did not install a MSVC 2008 compiler then make sure to get a MSVC 2010 based Qt (or build one yourself). You can not mix and match MSVC versions:-/

                    For the debugger you need the Microsoft debugging tools installed. They are available at the microsoft web site somewhere. Again those can not be included in the Qt SDK due to legal reasons.

                    1 Reply Last reply
                    0
                    • P Offline
                      P Offline
                      Peppy
                      wrote on last edited by
                      #11

                      No errors, Tobias, everything was installed correctly. But, at first I installed Visual C++ 2010, and then Qt SDK. Well, I have on computer (with XP) Visual C++ 2008, because I didn't install SP3, there it works fine. Maybe it needs to install Visual C++ 2008 (?), in order to have compiler in notebook. But that is quite useless. I will try it. But why Qt is not released with all supported compilers?

                      Yes, I have found it, I wanted to install Windows 7 SDK, but it had some issues, (missing installation files), so I had to install previous version.

                      1 Reply Last reply
                      0
                      • P Offline
                        P Offline
                        Peppy
                        wrote on last edited by
                        #12

                        Yes, after installation of Microsoft Visual C++ 9.0, it works fine.

                        So solution is:
                        *If you want to compile under MSVC 2008, you have to install it. Please google (Microsoft Visual C++ 2008 Express) and install it.
                        Visual C++ 2008 is available (for free, just required account) on: "Microsoft Dreamspark":https://www.dreamspark.com/ *

                        You should pin it, because it is important :-D

                        1 Reply Last reply
                        0
                        • T Offline
                          T Offline
                          tobias.hunger
                          wrote on last edited by
                          #13

                          The license of the MSVC compilers does not allow for us to distribute those compilers, sorry. Please direct your complaint to Microsoft, they are the only ones that can change this.

                          1 Reply Last reply
                          0
                          • P Offline
                            P Offline
                            Peppy
                            wrote on last edited by
                            #14

                            Really?

                            1 Reply Last reply
                            0
                            • D Offline
                              D Offline
                              DenisKormalev
                              wrote on last edited by
                              #15

                              Are you doubt about Tobias comment? You shouldn't, really :)

                              1 Reply Last reply
                              0
                              • P Offline
                                P Offline
                                Peppy
                                wrote on last edited by
                                #16

                                No, I am not. But why is there option to download and use this libraries without compiler?

                                It requires something that's not inside QtSDK and there is no note about that it requires to download Visual C++

                                1 Reply Last reply
                                0
                                • D Offline
                                  D Offline
                                  DenisKormalev
                                  wrote on last edited by
                                  #17

                                  AFAIK default version of libraries is MinGW. If you want other option then you know what you are doing and know prereqs for it.

                                  1 Reply Last reply
                                  0
                                  • P Offline
                                    P Offline
                                    Peppy
                                    wrote on last edited by
                                    #18

                                    Yes, I know, but not many people that will know, and if they are greenhorns :)

                                    1 Reply Last reply
                                    0
                                    • S Offline
                                      S Offline
                                      sztomi
                                      wrote on last edited by
                                      #19

                                      For the record, to anyone facing the same problem: I didn't install Visual Studio 2008 but the Windows Platform SDK, and it works after restarting Qt Creator.

                                      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