Reputation: 8404
Like the title says, how do I add my .h
and .m
files to Qt Creator?
Upvotes: 2
Views: 430
Reputation: 1665
Add OBJECTIVE_SOURCES in your Qt Creator project ".pro" file like
OBJECTIVE_SOURCES += \
mac/cocoainitializer.mm
and headers in the usual way like
HEADERS += \
mac/cocoainitializer.h
Upvotes: 1