Usama Sadiq
Usama Sadiq

Reputation: 609

'qnetworkreply' has not been declared

This is my code but it is giving me error "'qnetworkreply' has not been declared" .Can any one tell why it is so

#ifndef ApplicationUI_HPP_
#define ApplicationUI_HPP_

#include <QObject>
namespace bb { namespace cascades { class Application; }}

class ApplicationUI : public QObject
{
    Q_OBJECT
public:
    ApplicationUI(bb::cascades::Application *app);
    virtual ~ApplicationUI() {}

    public slots:
    void onResult(QNetworkReply*);
};


#endif 

Upvotes: 0

Views: 374

Answers (1)

Bertrand Martel
Bertrand Martel

Reputation: 45513

Did you add : QT += network in your .pro file ?

Upvotes: 1

Related Questions