[texworks] now r596 breaks compilation on Xubuntu 8.10 w. Qt 4.4.3

Jonathan Kew jfkthame at googlemail.com
Mon Apr 5 16:04:44 CEST 2010


On 5 Apr 2010, at 13:51, Stefan Löffler wrote:

> Hi again,
> 
> Am 2010-04-05 14:38, schrieb Peter Wüsten:
>> thank you so much for your quick responses :-) However, new evil lurks
>> around the corner.
>> 
>> While trying to compile r597 make stops giving me this (these) errors:
>> src/TWApp.cpp:800: Error: »class QVariant« has no element named »toHash«
>> 
>> I suppose it's revision 596 that caused the error as that's where
>> TWApp.ccp was changed.
> 
> No, it's r597. The QHash functionality was added to QVariant only in Qt
> 4.5. For the time being I'd suggest to use r596 which should build
> correctly for you (you can use `svn up -r 596` to backdate your working
> copy) until these experimental issues are resolved.

I've changed the code to use QMap instead of QHash, which looks like it should work in older releases of Qt.

JK




More information about the texworks mailing list