Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Divide *.pro file configuration for iOS and iOS Simulator. How?
Forum Updated to NodeBB v4.3 + New Features

Divide *.pro file configuration for iOS and iOS Simulator. How?

Scheduled Pinned Locked Moved Solved Mobile and Embedded
4 Posts 2 Posters 449 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.
  • B Offline
    B Offline
    bogong
    wrote on last edited by
    #1

    Hello!
    I've got totally forgotten how to define configuration for iOS and iOS Simulator separately in *.pro file. Could someone to refresh it for me? Which keyword should I use for iOS only and for iOS Simulator only?

    jsulmJ 1 Reply Last reply
    0
    • B bogong

      Hello!
      I've got totally forgotten how to define configuration for iOS and iOS Simulator separately in *.pro file. Could someone to refresh it for me? Which keyword should I use for iOS only and for iOS Simulator only?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @bogong https://doc.qt.io/qt-5/qmake-language.html#platform-scope-values
      "These are based on platform specifications provided in Qt's mkspecs directory" - check that directory.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • B Offline
        B Offline
        bogong
        wrote on last edited by bogong
        #3

        Solution found. Issue closed.
        Use this:

        iphonesimulator {
        
        }
        
        iphoneos {
        
        }
        

        instead of:

        ios {
        
        }
        

        BTW: link mentioned above have no information about this topic.

        jsulmJ 1 Reply Last reply
        0
        • B bogong

          Solution found. Issue closed.
          Use this:

          iphonesimulator {
          
          }
          
          iphoneos {
          
          }
          

          instead of:

          ios {
          
          }
          

          BTW: link mentioned above have no information about this topic.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @bogong "These are based on platform specifications provided in Qt's mkspecs directory" - is this suggests you can check the mkspecs subdirectory of you Qt installation to see what is available.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1

          • Login

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