×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2008
    Posts
    26

    qt 4.6 /usr/lib vs /opt/qt4-maemo

    I might be missing something here or it's just not possible to test my app using latest qt 4.6 on scratchbox. I've just upgraded my scratchbox and libqt4-dev, and I noticed that qt4.6 is now available on '/usr/lib' which ,by the way, it's its original place. However since the qt 4.6 library available on my n900 (libqt4-maemo5) is installed under '/opt/qt4-maemo', my application won't execute.
    Since "libqt4-maemo5" for qt4.6 is not available any more due PR 1.2 release, What should I do?? I thought I could run multiple versions of qt on my machine, and if that is true, how could I have qt 4.6 libraries under /usr/lib and /opt and then choose which path to use during compilation??
    Last edited by romulovitor; 2010-03-29 at 22:09.

  2. #2
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: qt 4.6 /usr/lib vs /opt/qt4-maemo

    Quote Originally Posted by romulovitor View Post
    However since the qt 4.6 library available on my n900 (libqt4-maemo5) is installed under '/opt/qt4-maemo', my application won't execute.
    This should not be the case since Qt is not using rpath any more.

    Quote Originally Posted by romulovitor View Post
    Since "libqt4-maemo5" for qt4.6 is not available any more due PR 1.2 release
    What do you mean?
    http://repository.maemo.org/pool/fre...+0m5_armel.deb

    Quote Originally Posted by romulovitor View Post
    I thought I could run multiple versions of qt on my machine, and if that is true, how could I have qt 4.6 libraries under /usr/lib and /opt and then choose which path to use during compilation??
    Yes, you can have multiple version of Qt inside scratchbox, but I find it a bit inconvenient.

    You can try to install libqt4*4.6.2*armel.deb on the device
    http://repository.maemo.org/pool/fre...ree/q/qt4-x11/

  3. #3
    Registered User
    Join Date
    Mar 2008
    Posts
    26

    Re: qt 4.6 /usr/lib vs /opt/qt4-maemo

    Quote Originally Posted by divanov View Post
    This should not be the case since Qt is not using rpath any more.
    That was my case. I had 2 binaries, one compiled with qt libraries under '/opt' and other under '/usr/lib', copied them to my n900 and executed 'ldd' against them and I was getting.

    ldd ./app_from_opt
    libQtMaemo5.so.4 => /opt/qt4-maemo5/lib/libQtMaemo5.so.4

    ldd ./app_from_usr_lib
    libQtMaemo5.so.4 => Not found


    Quote Originally Posted by divanov View Post
    What do you mean?
    Warning: Promotion of experimental Qt based applications (qt4-maemo5) is blocked due to possible conflicts with upcoming Maemo 5 releases http://maemo.org/packages/package_in...91204-0maemo1/



    Quote Originally Posted by divanov View Post
    Yes, you can have multiple version of Qt inside scratchbox, but I find it a bit inconvenient.

    You can try to install libqt4*4.6.2*armel.deb on the device
    http://repository.maemo.org/pool/fre...ree/q/qt4-x11/
    That solved the problem and thank you again for pointing to right direction.

Similar Threads

  1. Qt for Symbian development resources
    By liuxg in forum [Archived] Qt General ( Qt技术)
    Replies: 55
    Last Post: 2011-01-26, 04:06
  2. gsreamer-0.10-plugins-good+Phonon
    By niqt in forum Nokia N9
    Replies: 10
    Last Post: 2010-03-05, 09:56
  3. RTcom
    By LAS_VEGAS in forum Nokia N9
    Replies: 8
    Last Post: 2010-01-20, 15:12
  4. How to use Qt Creator for creating maemo applications
    By marcelobarrosalmeida in forum Nokia N9
    Replies: 9
    Last Post: 2010-01-20, 01:10
  5. kinetic scrolling
    By stalep in forum Nokia N9
    Replies: 10
    Last Post: 2009-12-08, 12:41

Posting Permissions

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