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. qmake: Statically link AppCenter framework to Xcode target
Forum Updated to NodeBB v4.3 + New Features

qmake: Statically link AppCenter framework to Xcode target

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 1 Posters 159 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.
  • P Offline
    P Offline
    patrickkidd
    wrote on last edited by
    #1

    I am trying to follow the Microsoft instructions to add the AppCenter SDK as a statically linked resource to my app's qmake-generated Xcode target. In the Xcode GUI you just drag the SDK framework folders onto the top-level project, ensure that the app target is selected, and everything works from there. You DO NOT add them to a build phase.

    What is the right qmake configuration to accomplish the same as just dragging the frameworks into the project to add them to the target? (Adding -fmodules and -fcxx-modules to QMAKE_CFLAGS and QMAKE_CXXFLAGS took care of compilation requirements). Adding them to QMAKE_BUNDLE_DATA doesn't work.

    Thanks!

    https://alaskafamilysystems.com/

    1 Reply Last reply
    0
    • P Offline
      P Offline
      patrickkidd
      wrote on last edited by
      #2

      Wow, the following fixed it, if "Vendor" is the dir within the same dir as the .xcodeproj:

      LIBS += -FVendor -framework AppCenter -framework AppCenterAnalytics -framework AppCenterCrashes

      I guess I wasn't familiar with static frameworks.

      https://alaskafamilysystems.com/

      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