Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. OBJECTIVE_SOURCES for cmake/Qt6

OBJECTIVE_SOURCES for cmake/Qt6

Scheduled Pinned Locked Moved Solved Qt 6
2 Posts 2 Posters 382 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.
  • A Offline
    A Offline
    antiocles
    wrote on last edited by
    #1

    Hello,

    Is there an equivalent to the OBJECTIVE_SOURCES/OBJECTIVE_HEADERS call for qmake in the new cmake syntax? If not, what might be the best workaround?

    Application has some objective C calls used by the OS specific versions of the QML app for which there is not another way to access said functionality. I need to compile and call some objective C functions in my main application for macOS.

    Thanks for any thoughts!

    1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      You just need cmake 3.16 or higher: https://cmake.org/cmake/help/latest/release/3.16.html#languages

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      2

      • Login

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