PDA

View Full Version : From Windows to Mac



topquarck
26th June 2008, 09:45
cheers;
I created an application with MVS2005 , but now i want to make it work on Mac too
What can i do?
what can vcpro prject files and make them work on Mac?

thanx all

mcosta
26th June 2008, 11:56
You used Qt or MFC?
If you used Qt you simply have to recompile your sources under MacOS.


qmake myproject.pro
make


If you used MFC you have to port your source on QT (good luck)
see http://doc.trolltech.com/solutions/qtwinmigrate/index.html

topquarck
26th June 2008, 13:18
You used Qt or MFC?
If you used Qt you simply have to recompile your sources under MacOS.


qmake myproject.pro
make


thanx alot for your reply BUT
I used QT, no MFC
But i used include file "windows.h" , Plus i don't have .pro file
the project was created as a VC++ project by MVS2005, so i have a solution file ".sln" and a VC project file ".vcproj"

ChristianEhrlicher
26th June 2008, 13:32
Then you have to write a .pro-File by your own and also remove all winapi dependencies (like windows.h)

mcosta
26th June 2008, 14:21
I used QT, no MFC
But i used include file "windows.h" , Plus i don't have .pro file


:o You used mixed solution.
Then:

Write PRO file
Remove "windows.h" include and replace WIN32 specific code with pure C++/Qt code