How to set the QT_DLL macro?

Ralf Habacker ralf.habacker at freenet.de
Sat Apr 23 11:14:47 CEST 2005


On Friday 22 April 2005 18:51, Angus Leeming wrote:
> Ralf Habacker wrote:
> >>>> QMAKE_LFLAGS =
> >>>> -Wl,--script,$(QTDIR)/mkspecs/cygwin-g++/i386pe.x-no-rdata
> >>>> -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import
> >>>> -Wl,-enable-runtime-pseudo-reloc
> >>
> >> I see from your other reply that this would not have worked anyway,
> >> because I did not use the script when linking lyx.exe.
> >
> > I just tried to relink the cross compiled qt3dll and the qt tools
> > (designer/assistant/linguist) with the above mentioned QMAKE_LFLAGS
> > and got they running under windows without any problems. (The
> > x-no-rdata file is very important)
> > If you can build at least linguist or assistant and it will run under
> > windows with the cross compiled qt3.dll and you got any seg faults,
> > the qt dll will probably not the problem.
>
> Just to be clear:
>
> 1. cross compiled linguist and assistant would not run on Windows unless
> they are linked against the x-no-rdata script.
>
> 2. when both {linguist,assistant}.exe and qt3.dll are linked against the
> x-no-rdata script, you can run both on Windows without any problems.
>
> I can certainly try that out.

I experienced this. 
Ralf 



More information about the kde-cygwin mailing list