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. [solved] qmake scope based on (32 vs 64) architecture
Forum Updated to NodeBB v4.3 + New Features

[solved] qmake scope based on (32 vs 64) architecture

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 7.4k Views 1 Watching
  • 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.
  • D Offline
    D Offline
    d.oberkofler
    wrote on last edited by
    #1

    i cannot seem to find in the documentation how to use a scope based on the architecture.
    i'm currently using
    @
    CONFIG += x86 x86_64
    macx:INCLUDEPATH += ../../../oci/mac_i386/include
    @
    and would need to use different include directories depending on the 32bit or 64bit architecture.
    is there a way to do this?

    1 Reply Last reply
    1
    • L Offline
      L Offline
      lgeyer
      wrote on last edited by
      #2

      "How can I detect in the .pro file if I am compiling for a 32 bit or a 64 bit platform?":http://developer.qt.nokia.com/faq/answer/how_can_i_detect_in_the_.pro_file_if_i_am_compiling_for_a_32_bit_or_a_64_bi

      "Building projects for 32 and 64 bit Windows on 64 bit machine":http://developer.qt.nokia.com/forums/viewthread/5601

      1 Reply Last reply
      0
      • D Offline
        D Offline
        d.oberkofler
        wrote on last edited by
        #3

        [quote author="Lukas Geyer" date="1309845035"]"How can I detect in the .pro file if I am compiling for a 32 bit or a 64 bit platform?":http://developer.qt.nokia.com/faq/answer/how_can_i_detect_in_the_.pro_file_if_i_am_compiling_for_a_32_bit_or_a_64_bi

        "Building projects for 32 and 64 bit Windows on 64 bit machine":http://developer.qt.nokia.com/forums/viewthread/5601[/quote]

        Thank you!

        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