Patch for qapplication_win.cpp

Ralf Habacker ralf.habacker at freenet.de
Mon Jan 26 20:56:11 CET 2004


On Monday 26 January 2004 18:07, Christian Ehrlicher wrote:

> I've attached a patch for qapplication_win.cpp which implements
> qAppFileName() so that qmake doesn't segfault any more:
>
> I've reported this bug but nobody reacts on my mail so I did the
> debugging on my own :-)

I thought I had catched this problem with the ld-gcc3 update from 2003 dez 5. 

Unfortunally currently it seems that there is very small process on this port 
and I'm very busy with the kde stuff. 

> The patch is just a ugly hack to get qmake working. I think this
> shouldn't go into the cvs whitout a change...
> Maybe the appFileName should be stored somewhere in a static variable
> so we don't need to call GetModuleFileName more than once within the
> qApp. But this depends on how often qAppFileName() is called ...

.. but for now it works. It could be optimized later. I will apply this to 
cvs. 

Thanks 

Ralf 



More information about the kde-cygwin mailing list