I'm trying to use qmake in a cross-platform environment, where I'd use it to create Visual Studio project files under Windows. I'm using the following construct in the qmake project file:
win32 {
TEMPLATE = vcapp
}
and them have QMAKESPEC=win32-msvc2008, then indeed, qmake createa Visual Studio project file for me. but, the project file is a 'windows' application project (e.g. with the linker flag: /subsystem:windows), and of course it's looking for WinMain() instead of main() as the entry point.
how do I make qmake create a console app visual studio project file? that is, /subsystem:console ?
Bookmarks