[Qt-interest] What QT version is this?

Scott Sibley sisibley at gmail.com
Thu Oct 15 05:47:48 CEST 2009


Well, it looks to be 3.3. It's strange, because it's using moc generator for
4. I'm using scons with the qt4 script.

moc-qt4 -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtScript
-o moc_WidgetGif.cc WidgetGif.h

On Wed, Oct 14, 2009 at 10:40 PM, Scott Sibley <sisibley at gmail.com> wrote:

> 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/b518f119/attachment.html 


More information about the Qt-interest-old mailing list