Mixing Qt C++ with Objective-C without Quick
Mobile and Embedded
4
Posts
2
Posters
3.0k
Views
1
Watching
-
Hi and welcome to devnet,
Create a C++ header that contains the function you'll use to invoke the native file selection dialog.
Then write a mm file that implements the function calling the Objective-C classes/code you need.
Add the mm file to the OBJECTIVE_SOURCES variable.
Then you should be good to go
Hope it helps
-
I don't have code specific to the file selector, but you can take a look at the QtMacExtras module source code to see how you can mix C++ and Objective-C/C++