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. Qt5 using msvc 2008 compiler
QtWS25 Last Chance

Qt5 using msvc 2008 compiler

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
7 Posts 3 Posters 3.2k 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.
  • C Offline
    C Offline
    code_fodder
    wrote on last edited by
    #1

    I am trying to setup Qt5 to use MSVC 2008 compiler. So what I have done so far is:

    1. Install MS Visual Studio 2008
    2. Install Qt5 (with Qt creator), I used auto detect qt installer from the qt downloads page.
    3. Attempting to setup Qt creator kit for MSVC 2008 compiler:
    • Qt has auto detected my compiler: MS c++ Compiler 9.0(x86)
    • Tried to make a Qt version, but the qmake paths are only for C:\Qt\5.5\msvc2012\bin and C:\Qt\5.5\msvc2010\bin.

    So it looks like I need a specific qmake setup for MSVC 2008 c++ compiler. I don't know how I can get this, can I just use the MSVC compiler?... any ideas?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      There's no pre-built Qt 5 package for MSVC2008. You're only option if you want to stay with that old version of Visual Studio is to build Qt yourself

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • C Offline
        C Offline
        code_fodder
        wrote on last edited by
        #3

        Hi SGaist,

        Yes, unfortunately I need to for some legacy reasons. So I have built Qt before to statically build qt on linux. But I don't really understand how I can build it for MSVC 2008 compiler?

        So on linux I used the native gcc (32-bit) compiler to compile qt using the make. What's the deal for windows?, do I just use the msvc 2008 compiler? using nmake? - are there any instructions on how to do such a thing?

        Thanks!

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Open a developer console and from there you can call configure.exe like you would on linux and then you can either use nmake or jom (you can find it in Qt Creator's folder)

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          C 1 Reply Last reply
          1
          • SGaistS SGaist

            Open a developer console and from there you can call configure.exe like you would on linux and then you can either use nmake or jom (you can find it in Qt Creator's folder)

            C Offline
            C Offline
            code_fodder
            wrote on last edited by
            #5

            @SGaist I might be being slow here.... but I am not sure what you mean by developer console. Are you referring to the windows command prompt? And then I assume its something like:

            cd <qt path>
            configure.exe <parameter list>
            nmake
            

            Thanks!

            1 Reply Last reply
            0
            • jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Take a look in Windows start menu in the VS2005 directory, there must be "Developer Console". It is the Windows command prompt with some environment preparation.

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

              1 Reply Last reply
              1
              • C Offline
                C Offline
                code_fodder
                wrote on last edited by
                #7

                ah, ok cool thanks I will try that (but for 2008 : )

                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