Hi,
I am using Qt creator 2.0.I with qt 4.7. am trying to write very simple code to access QSystemInfo, but I am getting following error when I build project
QSystemInfo was not declared in this scope
Here is the snipptet code
#include <QLabel>
#include <QSystemInfo>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QSystemInfo *s = new QSystemInfo;
-----------------------------
Here is my.pro file
QT += core gui network
TARGET = gps1
TEMPLATE = app
SOURCES += main.cpp\
widget.cpp
HEADERS += widget.h
FORMS += widget.ui
INCLUDEPATH += ../../src/systeminfo
CONFIG += mobility
MOBILITY += systeminfo
----------------------
Appreciate any help.
Thanks,
Sukumar



