[webkit-qt] QtScript dependency optional?

Benjamin Poulain benjamin.poulain at nokia.com
Fri Jan 14 10:38:10 PST 2011


On 01/14/2011 07:30 PM, ext Konstantin Tokarev wrote:
>> Long term QtWebKit will depends on QtScript for the bridge. To avoid
>> inconsistencies and regressions, I think it would be more reasonable to
>> guard the functions of the bridge with #ifndef QT_NO_SCRIPT.
>
> Do you mean it's OK to disable whole class QtInstance? (AFAIU, its main
> method is getQtInstance, and from your words it should be disabled)

Yep, #ifdef the public methods, and do not compile the classes of the 
bridge.

Sounds reasonable?

Benjamin


More information about the webkit-qt mailing list