Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Qt Mobility 1.1.0 installation help
Forum Updated to NodeBB v4.3 + New Features

Qt Mobility 1.1.0 installation help

Scheduled Pinned Locked Moved QML and Qt Quick
20 Posts 8 Posters 13.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    doforumda
    wrote on last edited by
    #1

    Ok guys. Here what i did now.
    I completely format my PC. I reinstall windows 7. Then Download Qt SDK from this "link":http://qt.nokia.com/downloads/
    Then I install Qt SDK in C:Qt2010.05 folder.
    Then I download Qt Mobility 1.1.0 from this "link":ftp://ftp.qt.nokia.com/qt/solutions/qt-mobility-opensource-src-1.1.0-tp.zip
    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":http://doc.qt.nokia.com/qtmobility-1.1.0-beta/installation.html
    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...

    1 Reply Last reply
    0
    • M Offline
      M Offline
      milot.shala
      wrote on last edited by
      #2

      Have you tried installing ActivePerl? or if you have it installed, have you tried editing the environment settings to appropriate perl and qt paths?

      Or try using Qt Command Prompt which comes with the Qt SDK.

      1 Reply Last reply
      0
      • D Offline
        D Offline
        doforumda
        wrote on last edited by
        #3

        Can you please guide me how can i set up environment settings according to information i provide above?

        1 Reply Last reply
        0
        • M Offline
          M Offline
          milot.shala
          wrote on last edited by
          #4

          Can you just try to open Qt Command Prompt from the start menu and try entering the commands you tried on a normal command prompt first, because I don't know exactly where your problem is, but first let's try that.

          1 Reply Last reply
          0
          • D Offline
            D Offline
            doforumda
            wrote on last edited by
            #5

            I have tried Qt Command Prompt. All those images that I provided are the output of that Qt Command Prompt.

            I was trying to give the whole output i got but forum was not allowing me to enter more than 6000 words. :(

            1 Reply Last reply
            0
            • Q Offline
              Q Offline
              qtrahul
              wrote on last edited by
              #6

              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\QtMultimediaKit

              Check this.

              1 Reply Last reply
              0
              • D Offline
                D Offline
                doforumda
                wrote on last edited by
                #7

                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.

                [quote author="qtrahul" date="1293460553"]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\QtMultimediaKit

                Check this.[/quote]

                1 Reply Last reply
                0
                • D Offline
                  D Offline
                  doforumda
                  wrote on last edited by
                  #8

                  and i set my path variable to this

                  c:\QtMobility\lib

                  it is correct??

                  1 Reply Last reply
                  0
                  • K Offline
                    K Offline
                    krishkn
                    wrote on last edited by
                    #9

                    Even i got stucked with this sometimes back .Just do the following Steps while installing QTMobility 1.1
                    configure -prefix c:\QtMobility
                    mingw32-make
                    make install (u forgot this step)
                    add C:\QtMobility\lib to the Path variable

                    Regards,
                    Krishkn

                    1 Reply Last reply
                    0
                    • D Offline
                      D Offline
                      doforumda
                      wrote on last edited by
                      #10

                      i did this step like this

                      mingw32-make install

                      1 Reply Last reply
                      0
                      • K Offline
                        K Offline
                        krishkn
                        wrote on last edited by
                        #11

                        I just installed 4.7.1 and qtMobility 1.1 with the above mentioned steps ,multimedia started working... Some issue with QT SDK i guess (even i had similar issue)

                        Regards,
                        Krishkn

                        1 Reply Last reply
                        0
                        • D Offline
                          D Offline
                          doforumda
                          wrote on last edited by
                          #12

                          ok can you please tell me how can i install 4.7.1? I think it will work with 4.7.1.

                          1 Reply Last reply
                          0
                          • K Offline
                            K Offline
                            krishkn
                            wrote on last edited by
                            #13

                            Here is the link...
                            http://qt.nokia.com/downloads/windows-cpp

                            just install it :)

                            Regards,
                            Krishkn

                            1 Reply Last reply
                            0
                            • D Offline
                              D Offline
                              doforumda
                              wrote on last edited by
                              #14

                              ok I am still having problems in installing QtMobility 1.1.0. Here is the "link":http://rapidshare.com/files/440103701/installing-qtmobility.avi
                              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":http://rapidshare.com/files/440105414/afterInstalling.avi of a video after installing QtMobility 1.1.0 and testing it in QtCreator

                              Help...

                              1 Reply Last reply
                              0
                              • K Offline
                                K Offline
                                kyleplattner
                                wrote on last edited by
                                #15

                                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
                                @

                                1 Reply Last reply
                                0
                                • D Offline
                                  D Offline
                                  doforumda
                                  wrote on last edited by
                                  #16

                                  I am using windows 7.

                                  How did you solve this problem then?

                                  1 Reply Last reply
                                  0
                                  • K Offline
                                    K Offline
                                    kyleplattner
                                    wrote on last edited by
                                    #17

                                    It would seem really beneficial to me for someone to make an installer for Qt Mobility. Is this feasible?

                                    1 Reply Last reply
                                    0
                                    • S Offline
                                      S Offline
                                      simonbolek
                                      wrote on last edited by
                                      #18

                                      hi there,
                                      well I think it is not the best way to solve this, but for me simple copy of

                                      @<path_to>\QtSDK112\Simulator\Qt\mingw\imports\QtMultimediaKit@

                                      into

                                      @<path_to>\c:\temp\Qt\4.7.1\imports@
                                      worked.

                                      After that application output says:

                                      @QDeclarativeImports(qrc:/qml/QML/VideoPlayback.qml)::addImport: "QtMultimediaKit" 1.1 Library as ""
                                      QDeclarativeImports(qrc:/qml/QML/VideoPlayback.qml::importExtension: loaded "C:/temp/Qt/4.7.1/imports/QtMultimediaKit/qmldir"
                                      QDeclarativeImportDatabase::importPlugin: "QtMultimediaKit" from "C:/temp/Qt/4.7.1/imports/QtMultimediaKit/declarative_multimedia.dll"@

                                      cheers
                                      simon:)

                                      cheers
                                      simon:)

                                      http://arcom-ivi.de

                                      1 Reply Last reply
                                      0
                                      • S Offline
                                        S Offline
                                        srav219
                                        wrote on last edited by
                                        #19

                                        Hi,

                                        I am facing similar issue "module "QtMultimediaKit" is not installed " on Centos Linux. I have my libs ,imports and plugins in /usr/local/lib on my embedded target


                                        I have the following env variables set

                                        export QT_PLUGIN_PATH="/usr/local/lib/plugins"
                                        export QML_IMPORT_PATH="/usr/local/lib/imports"

                                        In Imports Folder, i have the following

                                        ls /usr/local/lib/imports

                                        QtMultimediaKit

                                        ls /usr/local/lib/imports/QtMultimediaKit/

                                        libdeclarative_multimedia.so qmldir

                                        ls /usr/local/lib/plugins/

                                        accessible imageformats playlistformats webkit
                                        bearer kbddrivers qmltooling
                                        gfxdrivers mediaservice script
                                        iconengines mousedrivers sqldrivers


                                        I tried with the following qml


                                        import Qt 4.7
                                        import QtMultimediaKit 1.1
                                        Rectangle {
                                        id: page
                                        width: 300; height:200
                                        color: "lightgray"

                                         Text {
                                             id: helloText
                                             text: "Hello world!"
                                             y: 30
                                             anchors.horizontalCenter: page.horizontalCenter
                                             font.pointSize: 10; font.bold: true
                                         }
                                        

                                        Audio {
                                        id: playMusic
                                        source: "audio.wav"
                                        }
                                        MouseArea {
                                        id: playArea
                                        anchors.fill: parent
                                        onPressed: { playMusic.play() }
                                        }
                                        }


                                        In the PRO file , I have the following

                                        QT += declarative multimedia
                                        +CONFIG += mobility
                                        +MOBILITY = multimedia


                                        Inspite all these changes I am seeing the issue "module "QtMultimediaKit" is not installed".

                                        QT - v4.7.4
                                        Mobility - v1.2

                                        Can Anyone help me what has gone wrong ?

                                        1 Reply Last reply
                                        0
                                        • B Offline
                                          B Offline
                                          brents1
                                          wrote on last edited by
                                          #20

                                          @srav219: Did you find your solution? I am having the same problem as you. It works when I run on my Ubuntu desktop, but it does not run on my embedded target device (Angstrom). I can build (cross compile) it just find on my host machine, but running on the target does not work. Please help! Thanks,

                                          1 Reply Last reply
                                          0

                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups
                                          • Search
                                          • Get Qt Extensions
                                          • Unsolved