Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    64 bit application to 32 bit

    General and Desktop
    3
    6
    2967
    Loading More Posts
    • 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
      great88 last edited by

      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 Reply Quote 0
      • C
        ChrisW67 last edited by

        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 Reply Quote 0
        • G
          great88 last edited by

          [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 Reply Quote 0
          • raven-worx
            raven-worx Moderators last edited by

            [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 Reply Quote 0
            • G
              great88 last edited by

              .

              1 Reply Last reply Reply Quote 0
              • C
                ChrisW67 last edited by

                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 Reply Quote 0
                • First post
                  Last post