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. How to compile Qt5 on MSVC 2012?
Forum Updated to NodeBB v4.3 + New Features

How to compile Qt5 on MSVC 2012?

Scheduled Pinned Locked Moved Installation and Deployment
5 Posts 3 Posters 7.1k 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.
  • Y Offline
    Y Offline
    yodermk
    wrote on last edited by
    #1

    Ok, I normally use Linux and know almost nothing about the MSVC toolchain. Just downloaded the Express version for Windows 8 and am trying to get it going. Ran the configure command from the README and I'm getting an error that it can't find "shlobj.h"

    Also, it says it requires Python 2.7 or later. I have Python 3.3 - can I assume that is OK or does it need to be 2.x?

    An idiot-proof guide for getting this stuff running would be great! Better yet, a nice downloadable build for MSVC 2012. Thanks!

    1 Reply Last reply
    0
    • JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      Hi,

      You can find dependency info and build instructions at http://qt-project.org/wiki/Building-Qt-5-from-Git
      (I'm not sure if Python 3.x works)

      You can also download MSVC 2010 for Windows 8 from Microsoft, and get a downloadable Qt build from http://qt-project.org/downloads

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      0
      • Y Offline
        Y Offline
        yodermk
        wrote on last edited by
        #3

        Hmm, I think I have all the dependencies listed there, assuming that the Windows SDK Kit comes with the MSVC compiler I downloaded, and assuming Python3 is OK. (It also mentions Ruby, but that doesn't seem to be a requirement from what I can tell.)

        I also need OpenSSL support and probably SQLite support - not sure how much pain that will add.

        Guess I should have just downloaded MSVC 2010, but I like using the latest compilers. :/

        Maybe it's easier to just stick with Linux and worry about this again when I have something that needs to be compiled in Windows. Maybe just cross compile from Linux (though I've never done that before either).

        1 Reply Last reply
        0
        • U Offline
          U Offline
          utcenter
          wrote on last edited by
          #4

          Yes, Python 3 works.

          The only pain is with the webkit, skip that and you are golden.

          1 Reply Last reply
          0
          • Y Offline
            Y Offline
            yodermk
            wrote on last edited by
            #5

            [quote author="utcenter" date="1357393686"]Yes, Python 3 works.

            The only pain is with the webkit, skip that and you are golden.[/quote]

            Are you referring to cross compiling from Linux or compiling under MSVC++?

            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