Is Qt Mobility comes in built with Complete Nokia SDK?
-
Now I am getting an error after changing my .pro file":: error: No rule to make target
audiorecorder.ui', needed by
ui_audiorecorder.h'. Stop." ????? -
check if audiorecorder.ui file exists in the right path
-
Can you please let me know if any dependencies still needs to fulfilled like installing Gstreamer and others..?
-
[quote author="nsit_yogesh" date="1293112513"]Can you please let me know if any dependencies still needs to fulfilled like installing Gstreamer and others..?[/quote]
If you have not modified the example and the SDK's are installed properly it should have worked fine.
-
No there was no problem in installing(it was simply downloading for my Linux32 and installing by next>next..) and in fact I copied the code as it is from the examples.I was looking if there is need for audiorecorder.ui file created while creating the new project from Qt GUI Application.
-
Now I am getting errors like
- qmediarecorder.h: No such file or directory
2)‘QMediaRecorder’ has not been declared
3)‘QAudioEncoderSettings’ does not name a type
- qmediarecorder.h: No such file or directory
-
after including .ui file as described by you in the above posts
-
[quote author="nsit_yogesh" date="1293114510"]after including .ui file as described by you in the above posts[/quote]
I had compiled that example and it worked fine for for me. I had tried it with Nokia Qt SDK installed on Windows platform. No other changes were made.
P.S. You can edit your post. No need to post it in separate posts. It would be easier to read and understand.
-
Apology for the poor sense of responding..Now Firstly I have Qt on Linux and secondly can you let me know whether you compiled it by creating a new project and copying the code from reference documentation OR was there any audiorecorder example already there in SDK and you run it directly because I could not find any such example. Finally if you copied the code then can you elaborate the steps in creating the project, yes this is pretty weird but It could be a reason due to lack of knowledge currently in Qt.
-
OK. I think we need to clear things up a bit. You're using Nokia Qt SDK.
- Are you using also desktop edition (and which, i.e version, from source/distribution package or Qt SDK).
- How did you upgraded Mobility
- Are you using
@
CONFIG += mobility
MOBILITY += multimedia
@ in a .pro file and
@
QTM_USE_NAMESPACE
@ macro in sources.
-
If gitorious will be up again you can download the examples from "here":http://qt.gitorious.org/qt-mobility/contacts/trees/master/examples (these are for maemo and generally you can even try them by installing the qt-mobility-examples package for your N900 or into the scratchbox).
[EDIT] I have corrected the link (while gitorious was down I was not able to test the former one which, as I found out, was wrong.
-
[quote author="maciek" date="1293127459"]OK. I think we need to clear things up a bit. You're using Nokia Qt SDK.
- Are you using also desktop edition (and which, i.e version, from source/distribution package or Qt SDK).---I have no idea about desktop edition, so probably there won't be any , I simply downloaded the offline version(Linux 32) of SDK for my PC
- How did you upgraded Mobility---I did try to update but then I reinstalled it and now I am getting all these problems only after reinstalling.
- Are you using
@
CONFIG += mobility--Yes
MOBILITY += multimedia---Yes
@ in a .pro file and
@
QTM_USE_NAMESPACE
@ macro in sources.[/quote]----I found this macro written in the code(audiorecorder.h) rest I have no idea about sources
-
[quote author="nsit_yogesh" date="1293126939"]Apology for the poor sense of responding..Now Firstly I have Qt on Linux and secondly can you let me know whether you compiled it by creating a new project and copying the code from reference documentation OR was there any audiorecorder example already there in SDK and you run it directly because I could not find any such example. Finally if you copied the code then can you elaborate the steps in creating the project, yes this is pretty weird but It could be a reason due to lack of knowledge currently in Qt.[/quote]
Oh that might be the reason. Download the example from the gitorious link mentioned above by VCsala
-
@Qtk...Sorry, Page Not Found
-
[quote author="nsit_yogesh" date="1293131183"]@Qtk...Sorry, Page Not Found[/quote]
I had checked the link. I guess it was working and pointing to Qt Mobility. But yes not to the examples folder.
Anyways its been corrected now.
Thank you VCsala.
-
Thanx for the link, I downloaded the example and placed it in the examples folder of SDK and when I run it for desktop it returns the same errors as previously. I would like to answer @maceik that I had two Desktop editions installed one 4.6.2 and the other 4.7.1.
Now I have uninstalled both the desktop editions and reinstalled Nokia Qt SDK without any Desktop edition and when I run it for simulator it returns error main.o Error 127 -
[quote author="nsit_yogesh" date="1293188324"]Thanx for the link, I downloaded the example and placed it in the examples folder of SDK and when I run it for desktop it returns the same errors as previously. I would like to answer @maceik that I had two Desktop editions installed one 4.6.2 and the other 4.7.1.
Now I have uninstalled both the desktop editions and reinstalled Nokia Qt SDK without any Desktop edition and when I run it for simulator it returns error main.o Error 127[/quote]Just installing the latest Nokia Qt SDK and making no changes to the downloaded example should have worked. Check the console output what error you are getting.
-
Ok finally I have got the example working, it was a blunder on my side, actually C++ Compiler was not installed...Thanx for the consistent support