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. Building Qt libraries for VS2012 runtime
Forum Updated to NodeBB v4.3 + New Features

Building Qt libraries for VS2012 runtime

Scheduled Pinned Locked Moved Installation and Deployment
6 Posts 4 Posters 2.4k 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
    gil_mo
    wrote on last edited by
    #1

    Hi,
    I need to build and link the latest (5.0.1) Qt libraries against the VS2012 runtime libraries.
    I'm using the non-commercial Qt.

    Which package should I download and how do I configure it?
    Can I use the 'everywhere' package for that matter?

    Thanks,
    Gil.

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      welcome to devnet

      You need to download "Qt 5 from here":http://releases.qt-project.org/qt5/5.0.1/single/qt-everywhere-opensource-src-5.0.1.zip The zip has the line endings as required for windows.

      This is the wiki page for "building from Git":http://qt-project.org/wiki/Building-Qt-5-from-Git
      With Git would have access and be able to download the most recent development version, which you actually do not want to have. However, that you have already the code through the zip-file on your computer you may use the same guidelines. AFAIK there is not an updated wiki page for building Qt yet available. So, that might be the closest to come.
      The setup will contain a configure application helping to do the configuration.

      In addition this you should scan also this forum. There are several posts addressing possible issues with msvc2012, if they are still coming up.

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • D Offline
        D Offline
        D0IT
        wrote on last edited by
        #3

        You can either get the source code from git or download a zip package from the Downloads page. How to build Qt from source is explained "here":http://qt-project.org/wiki/Building_Qt_5_from_Git

        Edit: beaten by 5 seconds :p

        1 Reply Last reply
        0
        • K Offline
          K Offline
          koahnig
          wrote on last edited by
          #4

          [quote author="D0IT" date="1363893619"]
          Edit: beaten by 5 seconds :p[/quote]

          :D Plus a bit more text ;)

          Vote the answer(s) that helped you to solve your issue(s)

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

            Hi, tried all kinds of things. Apparently there is no proper cookbook on how to configure and build for vs2012 compatibility.
            The problem I'm stuck on now is:

            @c:\qt5.0.1\qt-everywhere-opensource-src-5.0.1\qtbase\src\network\ssl\qsslsocket_openssl_p.h(66) : fatal error C1083: Cannot open include file: 'openssl/asn1.h': No such file or directory @

            My configure command line is:
            @configure –I C:\OpenSSL-Win32\include -opensource -openssl-linked -debug-and-release -platform win32-msvc2012 –no-icu -nomake examples -nomake tests@

            I couldn't find the include path mentioned in the created Makefile.

            Also tried to clean the configuration using 'nmake confclean' (suggested by 'Configure'), but there is no such file 'confclean'.

            Any help?

            1 Reply Last reply
            0
            • E Offline
              E Offline
              etah000
              wrote on last edited by
              #6

              I guess that you did not install openssl library.

              If you want to support openssl, you must install openssl library and include its include and libary path in configure command options, such as:
              "configure -prefix C:\Qt\Qt5.0.1 -opensource -I D:\openssl-install-path\include -L D:\openssl-install-path\lib -lopenssllib"

              You can refer configure -help for sytax details.

              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