Also, what is the difference between a .m and a .mm file? Or is that just some convention that Nokia uses for Qt?
.m refers to an Objective-C file, whereas .mm is an Objective-C++. I'm not sure whose convention that is.
As for calling Objective-C from C++, this might help:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.