OBJECTIVE_SOURCES for cmake/Qt6
Solved
Qt 6
-
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!
-
You just need cmake 3.16 or higher: https://cmake.org/cmake/help/latest/release/3.16.html#languages