Qt Mobility 1.1.0 installation help
Page |
1 |
Ok guys. Here what i did now.
I completely format my PC. I reinstall windows 7. Then Download Qt SDK from this link [qt.nokia.com]
Then I install Qt SDK in C:Qt2010.05 folder.
Then I download Qt Mobility 1.1.0 from this link [ftp.qt.nokia.com]
Then I extracted zip file at C:QtMobility.
Then turn on the command line by “start>type cmd in run and press enter”.
Then I navigate to c:QtMobility
Then I follow instructions on this link [doc.qt.nokia.com]
Then I opened Qt Command prompt.
here is how I get to QtMobility folder in this command pormpt
!http://img697.imageshack.us/i/capture2xt.jpg/()!
and here are the outputs of configure commands
!http://img233.imageshack.us/i/capture5ur.jpg/()!
!http://img547.imageshack.us/i/capture6h.jpg/()!
!http://img12.imageshack.us/i/capture7zp.jpg/()!
!http://img63.imageshack.us/i/capture8m.jpg/()!
!http://img828.imageshack.us/i/capture9md.jpg/()!
and these are the output images after running mingw32-make
!http://img213.imageshack.us/i/capture3oa.jpg/()!
!http://img227.imageshack.us/i/capture4e.jpg/()!
Now When i run this program
- import Qt 4.7
- import QtMultimediaKit 1.1
- Video {
- id: video
- width : 800
- height : 600
- source: "video.avi"
- MouseArea {
- anchors.fill: parent
- onClicked: {
- video.play()
- }
- }
- focus: true
- Keys.onSpacePressed: video.paused = !video.paused
- Keys.onLeftPressed: video.position -= 5000
- Keys.onRightPressed: video.position += 5000
- }
it displays this error
- file:///C:/Qt/examples/qml/untitled1/untitled1.qml:2:1: module "QtMultimediaKit" is not installed
- import QtMultimediaKit 1.1
- ^
How can I fix this? Help…
18 replies
After following all those steps to install QtMobility I got a C:\QtMobility folder. I checked QtMultimediaKit in this location
C:\QtMobility\include\
and it is present there.
And i did not install QtNokiaSDK, I installed Qt SDK as i mentioned above.
I think Qt Multimedia API is not correctly installed in your PC.Do you have this path in your PC ?
C:\NokiaQtSDK\Simulator\QtMobility\mingw\include\QtMultimediaKitCheck this.
Here is the link…
http://qt.nokia.com/downloads/windows-cpp
just install it :)
ok I am still having problems in installing QtMobility 1.1.0. Here is the link [rapidshare.com] for a video in which i install QtMobility 1.1.0. Please watch it and tell me where am I making mistake. Or where are the errors and how can i solve it.
And here is the link [rapidshare.com] of a video after installing QtMobility 1.1.0 and testing it in QtCreator
Help…
When installing on a mac, I had these errors:
- ld: warning: directory '/Developer/Applications/Qt/plugins/Library/Frameworks' following -L not found
- ld: warning: directory '/tmp/qt-stuff-6474/source/qt-everywhere-opensource-src-4.7.0/lib' following -L not found
- ld: warning: directory '/Developer/Applications/Qt/plugins/Library/Frameworks' following -F not found
- ld: warning: directory '/tmp/qt-stuff-6474/source/qt-everywhere-opensource-src-4.7.0/lib' following -F not found
- Undefined symbols for architecture x86_64:
- "QtMobility::QBluetoothServiceDiscoveryAgent::QBluetoothServiceDiscoveryAgent(QObject*)", referenced from:
- Discoverer::serviceDiscovery() in servicediscovery.o
- "QtMobility::QBluetoothServiceDiscoveryAgent::start(QtMobility::QBluetoothServiceDiscoveryAgent::DiscoveryMode)", referenced from:
- Discoverer::serviceDiscovery() in servicediscovery.o
- "QtMobility::QBluetoothDeviceDiscoveryAgent::QBluetoothDeviceDiscoveryAgent(QObject*)", referenced from:
- Discoverer::deviceDiscovery() in devicediscovery.o
- "QtMobility::QBluetoothDeviceDiscoveryAgent::start()", referenced from:
- Discoverer::deviceDiscovery() in devicediscovery.o
- ld: symbol(s) not found for architecture x86_64
- collect2: ld returned 1 exit status
- ld: warning: directory '/Developer/Applications/Qt/plugins/Library/Frameworks' following -L not found
- ld: warning: directory '/tmp/qt-stuff-6474/source/qt-everywhere-opensource-src-4.7.0/lib' following -L not found
- ld: warning: directory '/Developer/Applications/Qt/plugins/Library/Frameworks' following -F not found
- ld: warning: directory '/tmp/qt-stuff-6474/source/qt-everywhere-opensource-src-4.7.0/lib' following -F not found
- Undefined symbols for architecture i386:
- "QtMobility::QBluetoothServiceDiscoveryAgent::QBluetoothServiceDiscoveryAgent(QObject*)", referenced from:
- Discoverer::serviceDiscovery() in servicediscovery.o
- "QtMobility::QBluetoothServiceDiscoveryAgent::start(QtMobility::QBluetoothServiceDiscoveryAgent::DiscoveryMode)", referenced from:
- Discoverer::serviceDiscovery() in servicediscovery.o
- "QtMobility::QBluetoothDeviceDiscoveryAgent::QBluetoothDeviceDiscoveryAgent(QObject*)", referenced from:
- Discoverer::deviceDiscovery() in devicediscovery.o
- "QtMobility::QBluetoothDeviceDiscoveryAgent::start()", referenced from:
- Discoverer::deviceDiscovery() in devicediscovery.o
- ld: symbol(s) not found for architecture i386
- collect2: ld returned 1 exit status
- lipo: can't open input file: /var/folders/ni/nicf53WVEO4Xcp5huoo1cU+++TI/-Tmp-//ccvqsLTH.out (No such file or directory)
- make[3]: *** [../../../../bin/connectivity.app/Contents/MacOS/connectivity] Error 1
- make[2]: *** [sub-connectivity-make_default] Error 2
- make[1]: *** [sub-src-snippets-make_default] Error 2
- make: *** [sub-doc-make_default-ordered] Error 2
You must log in to post a reply. Not a member yet? Register here!





