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. Qt configure and build

Qt configure and build

Scheduled Pinned Locked Moved Solved Installation and Deployment
11 Posts 3 Posters 2.4k 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #2

    Hi,

    If you are building with Visual Studio 2013, just open a command line from the visual studio sub-folder. Then you should be ready to build Qt 5.

    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
    • A Offline
      A Offline
      AntejaVM
      wrote on last edited by AntejaVM
      #3

      oke. I prepare to work with qt and Visual studio 2013, but I want when I create qt application, I want to have 32 and 64 bit qt app and also release and debug version. Need I configure and build qt for 32 and 64 bit ? I download add-in for Visual studio, and online qt installater. I install qt for 32 and 64 bit ( I have msvc2013 and msvc2013_64).

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

        Yes, you need both build of Qt if you want to compile your application for both architectures. But you don't have to build Qt yourself. You have pre-built package for Visual Studio 2013 for both 32 and 64 bit

        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
        • A Offline
          A Offline
          AntejaVM
          wrote on last edited by AntejaVM
          #5

          Hi,
          Yes, I see pre-built packages for VS2013 for both 32 and 64 bit. But if I want static version of Qt need I configure and build Qt ? If I need to build Qt, what I need to do for building static version of Qt for both arhitekture? Last time when I build Qt I configure, like this
          configure -debug-and-release -static -qt-libpng -qt-libjpeg . I choose for platform win32-msvc2013 and run VS2013 x64 Native Tools Command Prompt, and build Qt. I built Qt, but only for x64 arhitekture.

          May you tell what I need to do for building Qt for x86 arhitekture ?

          Thanks,

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

            Use the 32bit Command prompt for the 32 bit build.

            Also, don't forget the licensing implication when using a static build of Qt.

            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
            0
            • A Offline
              A Offline
              AntejaVM
              wrote on last edited by
              #7

              ok. I use, but I got error.

              fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'x86' .

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

                Because you are trying to build Qt twice in the same folder. Use out of source builds

                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
                0
                • A Offline
                  A Offline
                  AntejaVM
                  wrote on last edited by AntejaVM
                  #9

                  oke. I will use out of source build.

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    AntejaVM
                    wrote on last edited by
                    #10

                    Thanks, I build static version of qt for both arhitecture.

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

                      You're welcome !

                      Since you have it working now, please mark the thread as solved using the "Topic Tool" button so that other forum users may know a solution has been found :)

                      Also, while browsing the forum, consider up-voting the answers that helped you. It will make them easier to find for other users :)

                      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
                      0

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved