[SDL] SDL & QT under windows XP

Sam Lantinga slouken at devolution.com
Thu Nov 6 14:33:00 PST 2003

> I try to combine SDL and QT together to display video.
> But always encounter the linking error:
> Linking
> SDLmain.lib(SDL_main.obj) error LNK2005:_WinMain at 16 already defined in qtmain.lib (qtmain_win.obj)

What happens if you don't link with SDLmain.lib in this case?

See ya,
	-Sam Lantinga, Software Engineer, Blizzard Entertainment

More information about the SDL mailing list