PDA

View Full Version : Change Main Entry Point in Qt Project File



Sanuden
24th February 2010, 18:44
This may be a simple question, but I'm trying to figure out how to change the main entry point for a project in Qt (I'm using Qt SDK 2010.02). I have a project with multiple build targets (subdirs template) and because each sub-project has a main.cpp, when there is a build error in one of the main.cpp files I can't simply click on the error and have it take me to the issue (since there are multiple files named main.cpp; one for each sub-project that is not a library). I've been looking through the documentation to try and find how to change the main entry point to another file...but haven't had any luck.