Qt Forum

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

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

    Installation and Deployment
    1
    1
    1495
    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.
    • P
      phamtv last edited by

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