[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mozilla-qt
Subject:    Re: Closing in on bug
From:       Evan Perry <etp5 () SPAMpo ! cwru ! edu ! netscape ! com>
Date:       2002-11-23 21:39:11
[Download RAW message or body]

Thanks! I finally got it to compile!

Evan

ingo fischenich wrote:
> Esben Mose Hansen <esben@despammed.com> writes:
> 
> 
>>Hi,
>>
>>I hope some of you guys get this beast to compile... I'm baffled that
>>it should be a problem at all. I never did anything special beyond
>>using a .mozconfig similar to yours. I don't use Qt 3.1, though, and
>>I'm not thrilled to do that at this point. First, I want mozilla to
>>work at all, then we try the fancy upgrades.
> 
> 
> Ok, ok I am one step closer. 
> 
> I wonder how it compiles for you, ther are these virtual
> functions GetTextDimensions in nsRenderingContextQT.cpp which needed
> to be overloaded.
> 
> After overloading them with some dummy function:
> NS_IMETHODIMP 
> nsRenderingContextQT::GetTextDimensions(const char* aString,
>                                 PRInt32           aLength,
>                                 PRInt32           aAvailWidth,
>                                 PRInt32*          aBreaks,
>                                 PRInt32           aNumBreaks,
>                                 nsTextDimensions& aDimensions,
>                                 PRInt32&          aNumCharsFit,
>                                 nsTextDimensions& aLastWordDimensions,
>                                 PRInt32*          aFontID = nsnull)
> {
>     printf("new GetTextDimensions called\n");
>     return NS_OK;
> }
> 
> also for the other one with a const PRUniChar* aString as a first parameter,
> I manage to compile. Hooray.
> 
> 
> But you can run it only by LD_PRELOADING the
> /usr/lib/qt3/plugins/styles/libqwindowsstyle.so, that seems to be a
> problem with the debian qt3 package or with linking of
> libwidget-qt.so.
> 
> 
> 
> 
>>Anyway, the problem seems to be that
>>
>>nsNativeComponentLoader.cpp:nsNativeComponentLoader::SelfRegisterDll
>>
>>fails for libgfx_qt.so. It does so because
>>prlink.c:pr_LoadLibraryByPathname fails:
>>
>>
> 
> http://lxr.mozilla.org/seamonkey/source/nsprpub/pr/src/linking/prlink.c#618
> 
> Is that the same problem, that there seems to be an infinite loop,
> 
> ESBEN: nsStreamListenerProxyConstructor Invoked
> gets repeated for ever and ever ...
> 
>      ingo
> 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic