Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QT Creator 2.6.1 Manually add msvc compiler
Forum Updated to NodeBB v4.3 + New Features

QT Creator 2.6.1 Manually add msvc compiler

Scheduled Pinned Locked Moved Qt Creator and other tools
6 Posts 2 Posters 3.8k 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.
  • G Offline
    G Offline
    gtype
    wrote on last edited by
    #1

    The title says it all, I would like to manually specify the path of msvc2010. Is there any way I can do this, without messing with the registry? Thank you

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

      No there is not. How did you manage to install MSVC without messing with the registry?

      1 Reply Last reply
      0
      • G Offline
        G Offline
        gtype
        wrote on last edited by
        #3

        Figured it out, just edited the xml files in the appdata folder.

        [quote author="Tobias Hunger" date="1355960731"]No there is not. How did you manage to install MSVC without messing with the registry?[/quote]

        Made an Visual Studio install in a VM, then saved the Microsoft SDKs and Microsoft Visual Studio 10.0 folders. Then I edited the vcvars32.bat to not depend on the registry but just rely on relative path. Since I intend to use QT Creator for everything an therefore only need the vc compiler, I am trying this to see if everything works out without all the bloat that installing Visual Studio brings.

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

          bq. Figured it out, just edited the xml files in the appdata folder.

          The Qt Creator toolchains.xml? That works? That is a bit of a surprise, I thought I had left out the factory method necessary to create MSVC toolchains that way:-)

          1 Reply Last reply
          0
          • G Offline
            G Offline
            gtype
            wrote on last edited by
            #5

            [quote author="Tobias Hunger" date="1355995233"]
            The Qt Creator toolchains.xml? That works? That is a bit of a surprise, I thought I had left out the factory method necessary to create MSVC toolchains that way:-)[/quote]

            Yes, it's in the roaming\qtproject\qtcreator directory. Since I luckily had VS2012 installed, I just had to change the SupportedAbi from x86-windows-msvc2012-pe-32bit to x86-windows-msvc2010-pe-32bit and update VarsBat path. I do wish it would be possible to add them through the QT Creator though, I would like to try cross compiling windows binaries in linux through wine. Thanks

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

              Cross-compiling from linux to windows works for me, using the mingw packages in my distribution of choice.

              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