×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    Jul 2009
    Posts
    5

    Porting Qt Mobility 1.1.0 on N900.

    Hi,

    I have successfully build Qt Mobility 1.1.0 with Qt 4.7 experimental binaries.

    I want to try out camera application on N900.

    - How can I put QtMobility 1.1.0 libaries on N900 ?
    or
    - How to package QtMobility 1.1.0 for N900 ?
    or
    I couldn't find QtMobility 1.1.0 debain packages for N900 over internet.

    I tried running camera application by copying libQtMultimediaKit.so.1 to N900 and get folllowing error:

    defaultServiceProvider::requestService(): no service found for - "com.nokia.qt.camera .

    Could any one point out how to resolve this error?

    Thanks in advance.

    BR,
    Iqbal

  2. #2
    Super Contributor
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,326

    Re: Porting Qt Mobility 1.1.0 on N900.

    Qt 4.7 for Symbian is not released.

    You can use experimental packages for the Scratchbox based SDK, for the N900.

    How to compile into Scratchbox.

    Log in scatchbox.
    Install Qt 4.7 experimental packages.
    After in QtMobility directory

    Code:
    ./configure
    make
    make install
    Scrachbox work only in Linux....

  3. #3
    Registered User
    Join Date
    Jul 2009
    Posts
    5

    Re: Porting Qt Mobility 1.1.0 on N900.

    As I wrote, I have already compiled and done with above mentioned steps.

    Now I would like to know how to put created libraries (After building QtMobility 1.1.0 in scratchbox) in real phone N900.

    BR,
    Iqbal

  4. #4
    Super Contributor
    Join Date
    Mar 2009
    Posts
    1,024

    Re: Porting Qt Mobility 1.1.0 on N900.

    Hi,
    If you haven't built any debian package I think this is the faster way.
    1) Make a tarball with the Mobility 1.1 libraries (*.so.1.1.0) and symlinks created (*.so.1 .so.1.1). To create a tarball you can use tar cvzf file.tgz list_of_file_to_compress
    2) copy the tarball to the device via scp (you have to install opennsh on the N900) or using mass storage.
    3) uncompress the tarball in /usr/lib

    You can use scp to copy the libraries directly from scratchbox to the n900, but note it follows the symlinks then it will copy the same library 3 times. I don't know if there is a special flag to prevent this.

  5. #5
    Registered User
    Join Date
    Jul 2009
    Posts
    5

    Re: Porting Qt Mobility 1.1.0 on N900.

    Hi, Thanks for response.

    I use scp to copy the libararies from scratchbox to N900. It looks like I need to copy something else other than libraries as I get the following error after launching the camera application.

    defaultServiceProvider::requestService(): no service found for - "com.nokia.qt.camera"

    Could you suggest what file/library I need to copy to aviod this error.

    - I don't see any debian folder in QtMobility 1.1.0 source package. So how to create debain package of QtMobility 1.1.0?
    Last edited by blueiqbal; 2010-08-17 at 12:59.

  6. #6
    Registered User
    Join Date
    Jul 2009
    Posts
    5

    Re: Porting Qt Mobility 1.1.0 on N900.

    Thanks everyone. Camera application is working fine on N900 now.

    I had to copy mediaservices plugins under ../<QTFolder>lib/qt4 folder. Earlier I was putting these plugins in lib folder directly.

  7. #7
    Registered User
    Join Date
    Feb 2010
    Posts
    40

    Re: Porting Qt Mobility 1.1.0 on N900.

    Quote Originally Posted by rahulvala View Post
    Qt 4.7 for Symbian is not released.

    You can use experimental packages for the Scratchbox based SDK, for the N900.

    How to compile into Scratchbox.

    Log in scatchbox.
    Install Qt 4.7 experimental packages.
    After in QtMobility directory

    Code:
    ./configure
    make
    make install
    Scrachbox work only in Linux....

    I have successfully install Qt 4.7 experimental packages, " ./configure " QtMobility1.1.
    But I can not successfully "make" QtMobility1.1. , it have error just like this
    collect2: ld returned 1 exit status
    make[2]: *** [../../lib/libQtServiceFramework.so.1.1.0] Error 1
    make[2]: Leaving directory `/tmp/qt-mobility-opensource-src-1.1.0-tp/src/serviceframework'
    make[1]: *** [sub-serviceframework-make_default] Error 2
    make[1]: Leaving directory `/tmp/qt-mobility-opensource-src-1.1.0-tp/src'
    make: *** [sub-src-make_default-ordered] Error 2
    Do you know how to solve this problem?

  8. #8
    Registered User
    Join Date
    Jul 2009
    Posts
    5

    Re: Porting Qt Mobility 1.1.0 on N900.

    Check if you are using correct qmake by running which qmake command

  9. #9
    Registered User
    Join Date
    Feb 2010
    Posts
    40

    Re: Porting Qt Mobility 1.1.0 on N900.

    These is my qmake Info
    [sbox-FREMANTLE_ARMEL: ~] > which qmake
    /opt/qt4-maemo5/bin/qmake
    [sbox-FREMANTLE_ARMEL: ~] > qmake -query QT_VERSION
    4.7.0
    I download Qt4.7 from http://repository.maemo.org/extras-d...-experimental/
    After login in Scratchbox , I install them by..
    dpkg -i libqt4-experimental-*
    dpkg -i qt4-experimental-declarative-qmlviewer_4.7.0~git20100628-0maemo1_armel.deb
    Also I can successfully run a sample example on N900 by using it.

Similar Threads

  1. Qt Creator code completion not working with Qt Mobility for Symbian
    By ceefour in forum [Archived] Qt Mobility Project
    Replies: 4
    Last Post: 2011-09-10, 05:02
  2. Replies: 3
    Last Post: 2010-06-30, 01:17
  3. Qt Mobility + Qt 4.7 SDK is it posible on N900
    By phandangduythinh in forum [Archived] Qt Mobility Project
    Replies: 3
    Last Post: 2010-06-17, 14:28
  4. Does Qt Mobility 1.0.0 support QCamera for N900?
    By hpbrother in forum [Archived] Qt Mobility Project
    Replies: 9
    Last Post: 2010-05-19, 11:18
  5. QT Mobility Contacts - N900
    By gurmukh in forum [Archived] Qt Mobility Project
    Replies: 4
    Last Post: 2010-02-16, 11:42

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×