Hi
I am working on Qt4.7 on mac os, i want to use Objective C Classes(.m,.h and .xib) with Qt4.7, but not have any idea that how to merge and bulild the application using both Qt and Objective C. Can anybody explain it to me with an example.
Hi
I am working on Qt4.7 on mac os, i want to use Objective C Classes(.m,.h and .xib) with Qt4.7, but not have any idea that how to merge and bulild the application using both Qt and Objective C. Can anybody explain it to me with an example.
Always Believe in Urself
Merry
You should read about how to use C++ in Cocoa projects frist, as Qt is C++.
Then you need to add to the build sequence the mocing of you QObject header files, and if you have Qt ui files - then "uic" them.
This again probably has more to do with how to customize cocoa project builds.
In other words - you probably will get more help on a Cocoa related forum.
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
Good luck.
Thanks for the reply, but you can tell me that how can i add (Cocoa .XIB) file in the pro file created by Qt and link with Qt Application.
Always Believe in Urself
Merry
This is off topic for this forum, I don't know if anyone here has done somthing like this.
You better ask in objective-C / objective-C++ forums about mixing C++ with objective-C.
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
Bookmarks