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

List:       kde-buildsystem
Subject:    mingw status
From:       syntheticpp () gmx ! net (=?ISO-8859-1?Q?Peter_K=FCmmel?=)
Date:       2006-02-20 13:04:44
Message-ID: 43F9BE6C.4000501 () gmx ! net
[Download RAW message or body]

Paulo Jorge Guedes wrote:

>> Building stops now when linking khtml because the UString class
>> is declared in kjs and exported by KJS_EXPORT but defined in khtml.
>>
>> I don't know why there is such a construction.
> 
> Yes, here too.

In kjs/ustring.h there is following comment:

    /**
     * Convenience declaration only ! You'll be on your own to write the
     * implementation for a construction from QString.
     *
     * Note: feel free to contact me if you want to see a dummy header for
     * your favorite FooString class here !
     */
    UString(const QString&);

so it seems that the extra implementation in a non-kjs file is by design.

The only solution I see, is to move the UString code from /khtml/ecma/kjs_binding.cpp
into a extra file (kjs_ustring.cpp?) and to build this file with kjs, not with khtml.

But this we have to discuss with the khtml people.

Peter

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

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