Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [Solved] Both x32 & x64 for My Project

[Solved] Both x32 & x64 for My Project

Scheduled Pinned Locked Moved General and Desktop
7 Posts 3 Posters 2.0k 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.
  • M Offline
    M Offline
    MohammadReza
    wrote on last edited by
    #1

    Hello.
    First pardon me because of my English writing.

    I downloaded "qt-opensource-windows-x86-msvc201264opengl-5.2.1" and install it on windows 7 x64.
    I create a project & run it properly but when I want to execute it on win7 x32, it shows an error (not compatible with x32).
    When i compile my project I want to Qt creates both x32 & x64?
    How can i do it?

    Thanks a lot.
    Ya Ali.

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

      Hi and welcome to devnet,

      You need to either install a 32bit build of Qt or build it yourself for 32 bit. You can't build both architecture with only one version 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
      • M Offline
        M Offline
        MohammadReza
        wrote on last edited by
        #3

        Hello dear SGaist
        Thanks for your response.

        I have tow question:

        1. in Qt5.2.1, there isn`t any 32b for msvc2012-opengl. How can i install 32bit?
        2. You said "build it yourself 32 bit". can i ask you to help me to do it?
        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4
          1. Indeed there's no 2012 OpenGL 32bit available so the answer is no 2
          2. Download Qt's sources "here":http://download.qt-project.org/official_releases/qt/5.2/5.2.1/single/qt-everywhere-opensource-src-5.2.1.zip
            Extract, using the visual studio 32bit command line call configure -opengl desktop, then nmake and you should be good to go

          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
          • Chris KawaC Offline
            Chris KawaC Offline
            Chris Kawa
            Lifetime Qt Champion
            wrote on last edited by
            #5

            If you don't want to compile it yourself (can be a drag) here are some nice precompiled packages: http://www.tver-soft.org/qt64

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

              Nice ! Thanks for sharing :)

              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
              • M Offline
                M Offline
                MohammadReza
                wrote on last edited by
                #7

                Thanks a lot! That`s worked!
                I wrote a tutorial for solving this problem.
                The tutorial is step by step (with pictures & in persian):

                Link1:
                http://rainbow7.persiangig.com/Qt/How-to-create-32bit-application-for-win7-32bit-in-Qt-5-2-1.rar/download

                link2:
                http://www.mediafire.com/download/rudoxm0z7l8xhnf/How-to-create-32bit-application-for-win7-32bit-in-Qt-5-2-1.rar

                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