Hi!
A strange thing happens when I try to include a .mm file in my .pro file for the generation of my Xcode project.
qmake runs without complaints.
In the Xcode project, the .mm file is included but it is apparently ignored since i get link errors to it.
However, it works if I change the extension to .cpp and use that name in the .pro file, run qmake, and after the Xcode project is generated I rename it back to .mm again and build.
Any clues?
Of course I can do all this, but it is ugly and not very elegant.
The reason for needing .mm files is that I need to do some native Mac code in my Qt project.
BN
Bookmarks