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. How to compile 32 bit qt project on 64 bit OS?

How to compile 32 bit qt project on 64 bit OS?

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 3.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.
  • Engr abxisE Offline
    Engr abxisE Offline
    Engr abxis
    wrote on last edited by
    #1

    Hi
    I am using 64 bit Windows 10. I made my project with 64 bit compiling option. I am using Qt5.7. But now I have to switch to 32 bit compiling option. My Qt plugin in VS2015 shows
    'There's no Qt version assigned to this project for platform Win32. Please use change Qt version feature and choose a valid Qt version for this platform'.
    But my Qt shows options only for 64 bit. How can I change it to 32 bit?

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

      hi
      VS can be install for both 32/64
      But I think you need another Qt version compiled as 32 bit
      https://www.qt.io/download-open-source/#section-2

      This one
      Qt 5.7.0 for Windows 32-bit (VS 2015, 924 MB) (info)

      Im not sure how u switch in VS. In creator you can select 32/64 kit

      1 Reply Last reply
      1
      • K Offline
        K Offline
        KeithS
        wrote on last edited by
        #3

        If you compile Qt from source you can generate both a 64 and 32 bit Qt build, then you can set up separate configurations in VS for the 32 and 64 bit versions (and also debug and release confirms for each too).

        It also can help setting up env vars for Qt so in addition you can switch Qt versions without having to go and edit your VS configurations.

        1 Reply Last reply
        2

        • Login

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