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

Peter Wüsten peter.wuesten at gmx.de
Mon Apr 5 14:38:00 CEST 2010


Dear Jonathan and Stefan,

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: In member function »void TWApp::addToRecentFiles(const 
QHash<QString, QVariant>&)«:
src/TWApp.cpp:800: Fehler: »class QVariant« hat kein Element namens »toHash«
src/TWApp.cpp:807: Fehler: keine passende Funktion für Aufruf von 
»QList<QVariant>::prepend(const QHash<QString, QVariant>&)«
/usr/include/qt4/QtCore/qlist.h:426: Anmerkung: Kandidaten sind: void 
QList<T>::prepend(const T&) [with T = QVariant]
src/TWApp.cpp: In member function »QHash<QString, QVariant> 
TWApp::getFileProperties(const QString&)«:
src/TWApp.cpp:823: Fehler: »class QVariant« hat kein Element namens »toHash«
make: *** [obj/TWApp.o] Fehler 1

which roughly translates to

src/TWApp.cpp: In member function »void TWApp::addToRecentFiles(const 
QHash<QString, QVariant>&)«:
src/TWApp.cpp:800: Error: »class QVariant« has no element named »toHash«
src/TWApp.cpp:807: Error: no proper function found for calling 
»QList<QVariant>::prepend(const QHash<QString, QVariant>&)«
/usr/include/qt4/QtCore/qlist.h:426: Remark: candidates are: void 
QList<T>::prepend(const T&) [with T = QVariant]
src/TWApp.cpp: In member function »QHash<QString, QVariant> 
TWApp::getFileProperties(const QString&)«:
src/TWApp.cpp:823: Error: »class QVariant« has no element named »toHash«
make: *** [obj/TWApp.o] Error 1

I suppose it's revision 596 that caused the error as that's where 
TWApp.ccp was changed.

Cheers,

Peter





More information about the texworks mailing list