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. 64 bit application to 32 bit
QtWS25 Last Chance

64 bit application to 32 bit

Scheduled Pinned Locked Moved General and Desktop
6 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.
  • G Offline
    G Offline
    great88
    wrote on last edited by
    #1

    I created a QT project using visual studio and QT 64 bit version .

    What would the easiest way to convert this project to 32 bit version ?
    I need to use QT 5 and 32 bit version and compile everything I created up till now over it but I am
    not that familiar with QT Creator and have been using the QT plugin for visual studio .

    Problem for me is that only 64 BIT QT 5 works with Visual Studio 2012 and the plugin that comes with it . If I want 32 bit QT , i have to use version 4.7 QT .

    1 Reply Last reply
    0
    • C Offline
      C Offline
      ChrisW67
      wrote on last edited by
      #2

      bq. What would the easiest way to convert this project to 32 bit version ?

      Build the source using a 32-bit Qt.

      bq. If I want 32 bit QT , i have to use version 4.7 QT .

      Where did you get that idea from?

      There are no pre-compiled 32-bit Qt 5.0.2 libraries for MSVC 2012 so you can either:

      • Build 32-bit Qt 5.0.2 libraries from source,
      • Downgrade your compiler to MSVC 2010 and use the precompiled Qt 5.0.2 binaries for that compiler, or
      • Be brave and use the Qt 5.1RC 32-bit binaries for MSVC 2012.
      1 Reply Last reply
      0
      • G Offline
        G Offline
        great88
        wrote on last edited by
        #3

        [quote author="ChrisW67" date="1372138931"]
        bq. If I want 32 bit QT , i have to use version 4.7 QT .

        Where did you get that idea from?
        [/quote]

        Well , QT 5.0 only comes in 64 bit for visual studio . Correct me if I am wrong .

        [quote author="ChrisW67" date="1372138931"]

        • Downgrade your compiler to MSVC 2010 and use the precompiled Qt 5.0.2 binaries for that compiler
          [/quote]

        I tried this but it is a big pain . Linker errors and I couldn't find out what is wrong . I set the include directories etc. in visual studio and just won't compile . Of course , I can keep trying for days and days but I am hoping there is an easier way .

        [quote author="ChrisW67" date="1372138931"]

        • Be brave and use the Qt 5.1RC 32-bit binaries for MSVC 2012.

        [/quote]

        Where is the Qt 5.1RC 32-bit binaries for MSVC 2012 ? I couldn't find it .

        [quote author="ChrisW67" date="1372138931"]

        • Build 32-bit Qt 5.0.2 libraries from source,
          [/quote]

        Where can I find instructions for that ? Thanks .

        1 Reply Last reply
        0
        • raven-worxR Offline
          raven-worxR Offline
          raven-worx
          Moderators
          wrote on last edited by
          #4

          [quote author="great88" date="1372140360"]
          Where is the Qt 5.1RC 32-bit binaries for MSVC 2012 ? I couldn't find it .
          [/quote]

          http://download.qt-project.org/development_releases/qt/5.1/5.1.0-rc1/

          [quote author="great88" date="1372140360"]
          Where can I find instructions for that ? Thanks .
          [/quote]

          http://qt-project.org/wiki/Building-Qt-5-from-Git

          Both easily findable via google...

          [/quote]

          --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
          If you have a question please use the forum so others can benefit from the solution in the future

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

            .

            1 Reply Last reply
            0
            • C Offline
              C Offline
              ChrisW67
              wrote on last edited by
              #6

              bq. Well , QT 5.0 only comes in 64 bit for visual studio . Correct me if I am wrong .

              No, Qt 5.0.2 comes in 64-bit for MSVC 2012, and 32- or 64-bit for MSVC 2010.
              The 5.1RC comes in 32- or 64-bit for MSVC 2012

              [quote author="raven-worx" date="1372140743"]
              Both easily findable via google...[/quote]
              Or using the link on the same "download page":http://qt-project.org/downloads#qt-lib you get all the released versions from.

              bq. Looking for Qt 5.1.0 RC 1? Please visit "download.qt-project.org":http://download.qt-project.org/development_releases/qt/5.1/5.1.0-rc1/

              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