[Qt-interest] What QT version is this?

Scott Sibley sisibley at gmail.com
Thu Oct 15 05:40:44 CEST 2009


On my system I have two QT versions -- QT4 and QT3.3. According to the QT4
docs, there should be a:
QObject::setProperty(const char*&, QScriptValue, QScriptValue::PropertyFlag)

But when I compile, I get the following:

Evaluator.cpp: In member function 'void Evaluator::AddFunction(const char*,
QScriptValue (*)(QScriptContext*, QScriptEngine*))':
Evaluator.cpp:27: error: no matching function for call to
'QObject::setProperty(const char*&, QScriptValue,
QScriptValue::PropertyFlag)'
/usr/include/QtCore/qobject.h:228: note: candidates are: bool
QObject::setProperty(const char*, const QVariant&)

What version is being used?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091014/563c68b0/attachment.html 


More information about the Qt-interest-old mailing list