Hi,

I'm trying to run a simple audio recorder in the nokia n82 phone, using qt creator.

I'm using the code from http://doc.trolltech.com/qtmobility-...orecorder.html

but i couldn't compile it.
I'm getting errors :
"
\Recorder\recorder.cpp(21) : error C2039: 'audioDeviceBox' : is not a member of 'Ui::recorder'
C:\QtPrograms\Recorder-build-simulator\ui_recorder.h(50) : see declaration of 'Ui::recorder'
..\Recorder\recorder.cpp(21) : error C2227: left of '->addItem' must point to class/struct/union/generic type
..\Recorder\recorder.cpp(23) : error C2039: 'audioDeviceBox' : is not a member of 'Ui::recorder'
C:\QtPrograms\Recorder-build-simulator\ui_recorder.h(50) : see declaration of 'Ui::recorder'
..\Recorder\recorder.cpp(23) : error C2227: left of '->addItem' must point to class/struct/union/generic type
..\Recorder\recorder.cpp(27) : error C2039: 'audioCodecBox' : is not a member of 'Ui::recorder'
C:\QtPrograms\Recorder-build-simulator\ui_recorder.h(50) : see declaration of 'Ui::recorder'
..\Recorder\recorder.cpp(27) : error C2227: left of '->addItem' must point to class/struct/union/generic type
..\Recorder\recorder.cpp(29) : error C2039: 'audioCodecBox' : is not a member of 'Ui::recorder'
C:\QtPrograms\Recorder-build-simulator\ui_recorder.h(50) : see declaration of 'Ui::recorder'
..\Recorder\recorder.cpp(29) : error C2227: left of '->addItem' must point to class/struct/union/generic type
..\Recorder\recorder.cpp(33) : error C2039: 'containerBox' : is not a member of 'Ui::recorder'
C:\QtPrograms\Recorder-build-simulator\ui_recorder.h(50) : see declaration of 'Ui::recorder'
..\Recorder\recorder.cpp(33) : error C2227: left of '->addItem' must point to class/struct/union/generic type
..\Recorder\recorder.cpp(35) : error C2039: 'containerBox' : is not a member of 'Ui::recorder'
C:\QtPrograms\Recorder-build-simulator\ui_recorder.h(50) : see declaration of 'Ui::recorder'
..\Recorder\recorder.cpp(35) : error C2227: left of '->addItem' must point to class/struct/union/generic type
..\Recorder\recorder.cpp(39) : error C2039: 'sampleRateBox' : is not a member of 'Ui::recorder'
C:\QtPrograms\Recorder-build-simulator\ui_recorder.h(50) : see declaration of 'Ui::recorder'
..\Recorder\recorder.cpp(39) : error C2227: left of '->addItem' must point to class/struct/union/generic type
..\Recorder\recorder.cpp(41) : error C2039: 'sampleRateBox' : is not a member of 'Ui::recorder'
C:\QtPrograms\Recorder-build-simulator\ui_recorder.h(50) : see declaration of 'Ui::recorder'
..\Recorder\recorder.cpp(41) : error C2227: left of '->addItem' must point to class/struct/union/generic type
..\Recorder\recorder.cpp(44) : error C2039: 'qualitySlider' : is not a member of 'Ui::recorder'
C:\QtPrograms\Recorder-build-simulator\ui_recorder.h(50) : see declaration of 'Ui::recorder'
..\Recorder\recorder.cpp(44) : error C2227: left of '->setRange' must point to class/struct/union/generic type
..\Recorder\recorder.cpp(45) : error C2039: 'qualitySlider' : is not a member of 'Ui::recorder'
C:\QtPrograms\Recorder-build-simulator\ui_recorder.h(50) : see declaration of 'Ui::recorder'
..\Recorder\recorder.cpp(45) : error C2227: left of '->setValue' must point to class/struct/union/generic type
..\Recorder\recorder.cpp(48) : error C2039: 'bitrateBox' : is not a member of 'Ui::recorder'
C:\QtPrograms\Recorder-build-simulator\ui_recorder.h(50) : see declaration of 'Ui::recorder'
..\Recorder\recorder.cpp(48) : error C2227: left of '->addItem' must point to class/struct/union/generic type
..\Recorder\recorder.cpp(49) : error C2039: 'bitrateBox' : is not a member of 'Ui::recorder'
C:\QtPrograms\Recorder-build-simulator\ui_recorder.h(50) : see declaration of 'Ui::recorder'
..\Recorder\recorder.cpp(49) : error C2227: left of '->addItem' must point to class/struct/union/generic type
..\Recorder\recorder.cpp(50) : error C2039: 'bitrateBox' : is not a member of 'Ui::recorder'
C:\QtPrograms\Recorder-build-simulator\ui_recorder.h(50) : see declaration of 'Ui::recorder'
..\Recorder\recorder.cpp(50) : error C2227: left of '->addItem' must point to class/struct/union/generic type
..\Recorder\recorder.cpp(51) : error C2039: 'bitrateBox' : is not a member of 'Ui::recorder'
C:\QtPrograms\Recorder-build-simulator\ui_recorder.h(50) : see declaration of 'Ui::recorder'
..\Recorder\recorder.cpp(51) : error C2227: left of '->addItem' must point to class/struct/union/generic type
..\Recorder\recorder.cpp(52) : error C2039: 'bitrateBox' : is not a member of 'Ui::recorder'
C:\QtPrograms\Recorder-build-simulator\ui_recorder.h(50) : see declaration of 'Ui::recorder'
..\Recorder\recorder.cpp(52) : error C2227: left of '->addItem' must point to class/struct/union/generic type
..\Recorder\recorder.cpp(73) : error C2039: 'statusbar' : is not a member of 'Ui::recorder'
C:\QtPrograms\Recorder-build-simulator\ui_recorder.h(50) : see declaration of 'Ui::recorder'
..\Recorder\recorder.cpp(73) : error C2227: left of '->showMessage' must point to class/struct/union/generic type
..\Recorder\recorder.cpp(82) : error C2039: 'recordButton' : is not a member of 'Ui::recorder'
C:\QtPrograms\Recorder-build-simulator\ui_recorder.h(50) : see declaration of 'Ui::recorder'
..\Recorder\recorder.cpp(82) : error C2227: left of '->setText' must point to class/struct/union/generic type
..\Recorder\recorder.cpp(83) : error C2039: 'pauseButton' : is not a member of 'Ui::recorder'
C:\QtPrograms\Recorder-build-simulator\ui_recorder.h(50) : see declaration of 'Ui::recorder'
..\Recorder\recorder.cpp(83) : error C2227: left of '->setText' must point to class/struct/union/generic type
..\Recorder\recorder.cpp(90) : error C2039: 'recordButton' : is not a member of 'Ui::recorder'
C:\QtPrograms\Recorder-build-simulator\ui_recorder.h(50) : see declaration of 'Ui::recorder'
..\Recorder\recorder.cpp(90) : error C2227: left of '->setText' must point to class/struct/union/generic type
..\Recorder\recorder.cpp(91) : error C2039: 'pauseButton' : is not a member of 'Ui::recorder'
C:\QtPrograms\Recorder-build-simulator\ui_recorder.h(50) : see declaration of 'Ui::recorder'
..\Recorder\recorder.cpp(91) : error C2227: left of '->setText' must point to class/struct/union/generic type
..\Recorder\recorder.cpp(95) : error C2039: 'recordButton' : is not a member of 'Ui::recorder'
C:\QtPrograms\Recorder-build-simulator\ui_recorder.h(50) : see declaration of 'Ui::recorder'
..\Recorder\recorder.cpp(95) : error C2227: left of '->setText' must point to class/struct/union/generic type
..\Recorder\recorder.cpp(96) : error C2039: 'pauseButton' : is not a member of 'Ui::recorder'
C:\QtPrograms\Recorder-build-simulator\ui_recorder.h(50) : see declaration of 'Ui::recorder'
..\Recorder\recorder.cpp(96) : error C2227: left of '->setText' must point to class/struct/union/generic type
..\Recorder\recorder.cpp(100) : error C2039: 'pauseButton' : is not a member of 'Ui::recorder'
C:\QtPrograms\Recorder-build-simulator\ui_recorder.h(50) : see declaration of 'Ui::recorder'
..\Recorder\recorder.cpp(100) : error C2227: left of '->setEnabled' must point to class/struct/union/generic type
..\Recorder\recorder.cpp(103) : error C2039: 'statusbar' : is not a member of 'Ui::recorder'
C:\QtPrograms\Recorder-build-simulator\ui_recorder.h(50) : see declaration of 'Ui::recorder'
..\Recorder\recorder.cpp(103) : error C2227: left of '->showMessage' must point to class/struct/union/generic type
..\Recorder\recorder.cpp(106) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
..\Recorder\recorder.cpp(106) : error C2143: syntax error : missing ',' before '*'
..\Recorder\recorder.cpp(108) : error C2065: 'box' : undeclared identifier
..\Recorder\recorder.cpp(108) : error C2227: left of '->currentIndex' must point to class/struct/union/generic type
type is ''unknown-type''
..\Recorder\recorder.cpp(112) : error C2065: 'box' : undeclared identifier
..\Recorder\recorder.cpp(112) : error C2227: left of '->itemData' must point to class/struct/union/generic type
type is ''unknown-type''
..\Recorder\recorder.cpp(118) : error C2039: 'audioDeviceBox' : is not a member of 'Ui::recorder'
C:\QtPrograms\Recorder-build-simulator\ui_recorder.h(50) : see declaration of 'Ui::recorder'
..\Recorder\recorder.cpp(118) : error C2228: left of '.toString' must have class/struct/union
..\Recorder\recorder.cpp(121) : error C2039: 'audioCodecBox' : is not a member of 'Ui::recorder'
C:\QtPrograms\Recorder-build-simulator\ui_recorder.h(50) : see declaration of 'Ui::recorder'
..\Recorder\recorder.cpp(121) : error C2228: left of '.toString' must have class/struct/union
..\Recorder\recorder.cpp(122) : error C2039: 'sampleRateBox' : is not a member of 'Ui::recorder'
C:\QtPrograms\Recorder-build-simulator\ui_recorder.h(50) : see declaration of 'Ui::recorder'
..\Recorder\recorder.cpp(122) : error C2228: left of '.toInt' must have class/struct/union
..\Recorder\recorder.cpp(123) : error C2039: 'bitrateBox' : is not a member of 'Ui::recorder'
C:\QtPrograms\Recorder-build-simulator\ui_recorder.h(50) : see declaration of 'Ui::recorder'
..\Recorder\recorder.cpp(123) : error C2228: left of '.toInt' must have class/struct/union
..\Recorder\recorder.cpp(124) : error C2039: 'qualitySlider' : is not a member of 'Ui::recorder'
C:\QtPrograms\Recorder-build-simulator\ui_recorder.h(50) : see declaration of 'Ui::recorder'
..\Recorder\recorder.cpp(124) : error C2227: left of '->value' must point to class/struct/union/generic type
..\Recorder\recorder.cpp(124) : error C2514: 'QtMultimediaKit::EncodingQuality' : class has no constructors
..........
why is it so?

Can any one help with this issue?