munna
7th October 2006, 14:00
Hi,
I have a pro file (written by someone else) where the obj, ui and moc directories are defined as
MOC_DIR = .moc
OBJECTS_DIR = .obj
UI_DIR = .ui
When I import the pro file in MSVC and build the project, in the .moc folder I am getting both somename.moc files and moc_somename.cpp files.
I am also getting the following error:
unresolved external symbol _WinMainCRTStartup and I cannot run the app.
If I have the obj files and the exe file in the same folder then the application runs. But once I make changes some change, mocing fails and I cannot rebuild.
I think there is some parameter in the pro file that is giving this trouble.
Any ideas?
Thanks a lot
I have a pro file (written by someone else) where the obj, ui and moc directories are defined as
MOC_DIR = .moc
OBJECTS_DIR = .obj
UI_DIR = .ui
When I import the pro file in MSVC and build the project, in the .moc folder I am getting both somename.moc files and moc_somename.cpp files.
I am also getting the following error:
unresolved external symbol _WinMainCRTStartup and I cannot run the app.
If I have the obj files and the exe file in the same folder then the application runs. But once I make changes some change, mocing fails and I cannot rebuild.
I think there is some parameter in the pro file that is giving this trouble.
Any ideas?
Thanks a lot