Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 2

Qt-interest Archive, June 2007
Cannot compile with VC2005


Message 1 in thread

In DLLs and EXEs, I always get an error "LNK1561: entry point must be 
defined". I use standard pro files, without precompiled headers, and I have 
added a WinMain function to the dll. And I am using qt430. 

Additionally, I should give a machine type. But thats only a warning...

--
 [ signature omitted ] 

Message 2 in thread

J. Preiss schrieb:
> In DLLs and EXEs, I always get an error "LNK1561: entry point must be 
> defined". I use standard pro files, without precompiled headers, and I have 
> added a WinMain function to the dll. And I am using qt430. 
> 
> Additionally, I should give a machine type. But thats only a warning...
> 
 >
What's with the exmaples shipped with Qt? Do they work? If yes I would 
compare them with what you've done.
And you don't need a winmain on win32 when using Qt. use main() like 
everywhere else...

Christian

--
 [ signature omitted ]