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. Configuring target for window 32 bit, window 64 bit, unix 32 bit, and unix 64 bit
Forum Update on Monday, May 27th 2025

Configuring target for window 32 bit, window 64 bit, unix 32 bit, and unix 64 bit

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 1.6k 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.
  • P Offline
    P Offline
    phamtv
    wrote on 12 Oct 2012, 15:15 last edited by
    #1

    Is it possible to detect if you are compiling for a 32 bit/64 bit platform? I am trying to configure the .pro file so that it can build and output the target with its corresponding platform. The following works to create proper windows and unix target but I also want to break it down to 32 bit and 64 bit targets.

    @
    win32 {
    build_pass: CONFIG(debug, debug|release) {TARGET = OUT_Win32d}
    else {TARGET = OUT_Win32}
    }
    unix {
    build_pass: CONFIG(debug, debug|release) {TARGET = OUT_Unix32d}
    else {TARGET = OUT_Unix32}
    }
    @

    Thank you for your support.

    1 Reply Last reply
    0

    1/1

    12 Oct 2012, 15:15

    • Login

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