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. iOS subdirs project issues
Qt 6.11 is out! See what's new in the release blog

iOS subdirs project issues

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 2 Posters 984 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
    DRoscoe
    wrote on last edited by
    #1

    Consider the following tap_display.pro file

    CONFIG += c++11
    TEMPLATE = subdirs
    
    SUBDIRS += \
        aop_logger \
        aop_xml \
        aop_serial \
        aop_util \
        aop_measure \
        MoreMath \
        MathUtilities \
        DataCollection \
        DebugLogger \
        BufferedSharedMemory \
        AvionicsBus \
        AircraftDataModel \
        WindModel \
        TableLookups \
        configuration \
        AtosUtils \
        dna \
        aop_data \
        aop_comm \
        tap_data \
        tap_messaging \
        RouteContainer \
        arinc_io_adapter \
        aop_interface \
        tap_display_app
    
    aop_comm.depends = dna
    aop_data.depends = WindModel TableLookups
    aop_interface.depends = aop_comm
    aop_xml.depends = aop_logger
    aop_serial.depends = aop_xml
    dna.depends = configuration
    tap_display_app.depends = tap_messaging aop_interface
    tap_messaging.depends = tap_data dna aop_comm
    

    The application is in the tap_display_app subdir at the very bottom of the list. When I run qmake on this file to generate my xcode project files, I have to use

    qmake -spec macx-xcode -recursive
    

    It generates a bunch of warnings saying:

    WARNING: QMAKESPEC does not support multiple BUILDS
    

    The bigger problem is that in the resulting Xcode project file, the top-level project which is the SUBDIRS project "tap_display" has no targets. I have to explicitly set the target by clicking the tap_display_app project and then the tap_display_app target in Xcode.

    Is there a better way to do this? I want to be able to run qmake, load the xcode project and pretty much click "build". I know its not as simple as this because there are other settings that need to be set, but selecting the project and target shouldn't be one of them (IMO).

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

      Hi,

      That might be iOS specific, can you check if you get the same when building for macOS ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      D 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        That might be iOS specific, can you check if you get the same when building for macOS ?

        D Offline
        D Offline
        DRoscoe
        wrote on last edited by
        #3

        @SGaist The behavior is the same regardless of the target platform. If build it in Qt Creator its fine, but that's not a viable solution for iOS apps. I haven't tried using qmake to generate my Linux make files or MSVC project files to see if those behave any better.

        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