App compiles for Qt Simulator, fails to compile for Symbian Device - QFutureWatcher
Hi - I'm writing a Qt app for Symbian. My app does compile and run in Qt simulator ( I tried both Qt Simulator for MinGW 4.4 and Qt Simulator for Visual Studio 2008, both worked), but it fails when compiling for Symbian Device, with the following error:
>ISO C++ forbids declaration of 'QFutureWatcher' with no type
>expect ';' before '<' token
Unfortunately I cannot spot anything wrong with the 'QFutureWatcher' declaration ... and also there is the fact that it compiles and works for the Qt Simulator ...
Does anyone have any toughts of what could be going wrong?
Thanks!
Code:
#ifndef MYPICWIEWAREA_H
#define MYPICWIEWAREA_H
#include <QGraphicsView>
#include <QtGui>
#include <QtCore>
#include <QFutureWatcher>
#include <QFuture>
{
Q_OBJECT
public:
CMYPicViewArea
(QWidget *parent
= 0);
virtual ~CMYPicViewArea ();
private:
int m_Row;
int m_Column;
QFutureWatcher<int> * m_watcher;
};
#endif
Re: App compiles for Qt Simulator, fails to compile for Symbian Device - QFutureWatch
Symbian and Simulator are two completely different platforms with different capabilities. Maybe Qt for Symbian doesn't support QFutureWatcher? From what I see Qt for Symbian doesn't support Qt Concurrent.
http://doc.trolltech.com/4.7/platfor...-functionality
Re: App compiles for Qt Simulator, fails to compile for Symbian Device - QFutureWatch
Thanks for the response. As you suggested, it looks like the support for QFuture and QtConcurrent is missing in Qt for Symbian.
http://bugreports.qt.nokia.com/browse/QTBUG-5182