×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 26
  1. #1
    Registered User
    Join Date
    May 2010
    Posts
    44

    Nokia Qt SDK Maemo5 examples

    hello,,

    i am trying to run examples for maemo5 from http://doc.troll.no/qt-maemo-4.6/examples-maemo5.html and i get #include <QtMaemo5> no found.
    I am using Windows Xp.

    1- do u know some examples for Maemo5 to run and test on n900.
    2- I tried some ready examples installed that come with the SDK, and when run them on the simulator of N900, their theme is normal (like windows xp) not Maemo5 style. is that ok??
    thanks

  2. #2
    Nokia Developer Moderator
    Join Date
    Oct 2009
    Posts
    4,326

    Re: Nokia Qt SDK Maemo5 examples

    Qt Simulator is based on desktop Qt SDK and is not Maemo aware. To test Maemo specific code you would need a real device or scratchbox.

  3. #3
    Registered User
    Join Date
    May 2010
    Posts
    44

    Re: Nokia Qt SDK Maemo5 examples

    thanks for the reply,,,

    regarding the other issue, "can not find Maemo5 headers",
    I noticed when I installed the Nokia QT SDK, there was a directory for maemo and I found all maemo headers there..how can include them in my project. ? bcoz in the examples i found in .pro $$SOURCE &$$HEADERS..what do they mean?

    thanks

  4. #4
    Nokia Developer Moderator
    Join Date
    Oct 2009
    Posts
    4,326

    Re: Nokia Qt SDK Maemo5 examples

    Quote Originally Posted by raedbenz View Post
    regarding the other issue, "can not find Maemo5 headers",
    I noticed when I installed the Nokia QT SDK, there was a directory for maemo and I found all maemo headers there..
    Nokia Qt SDK contains Fremantle Maemo SDK.
    Quote Originally Posted by raedbenz View Post
    how can include them in my project. ?
    Using #include? Or what does your question mean?
    Quote Originally Posted by raedbenz View Post
    bcoz in the examples i found in .pro $$SOURCE &$$HEADERS..what do they mean?
    This is list of source files and header files.
    http://doc.trolltech.com/4.6/qmake-v...e.html#sources
    http://doc.trolltech.com/4.6/qmake-v...e.html#headers

  5. #5
    Registered User
    Join Date
    May 2010
    Posts
    44

    Re: Nokia Qt SDK Maemo5 examples

    Quote Originally Posted by divanov View Post
    Nokia Qt SDK contains Fremantle Maemo SDK.

    Using #include? Or what does your question mean?
    When i include
    Code:
    #include <QtMaemo5>
    it does not work, i get error. Y ? do i have to specify the location of headers in .pro ?
    thanks

  6. #6
    Nokia Developer Moderator
    Join Date
    Oct 2009
    Posts
    4,326

    Re: Nokia Qt SDK Maemo5 examples

    Quote Originally Posted by raedbenz View Post
    When i include
    Code:
    #include <QtMaemo5>
    it does not work, i get error. Y ? do i have to specify the location of headers in .pro ?
    thanks
    Do you have
    Code:
    QT += maemo5
    in the project file?

  7. #7
    Registered User
    Join Date
    May 2010
    Posts
    44

    Re: Nokia Qt SDK Maemo5 examples

    Quote Originally Posted by divanov View Post
    Do you have
    Code:
    QT += maemo5
    in the project file?
    yes i do...
    check this please: http://doc.qt.nokia.com/qt-maemo-4.6...mationbox.html
    what do i have to modify (in .pro) in order to compile it and run on simulator ?
    thanx

  8. #8
    Nokia Developer Moderator
    Join Date
    Oct 2009
    Posts
    4,326

    Re: Nokia Qt SDK Maemo5 examples

    Quote Originally Posted by raedbenz View Post
    yes i do...
    check this please: http://doc.qt.nokia.com/qt-maemo-4.6...mationbox.html
    what do i have to modify (in .pro) in order to compile it and run on simulator ?
    thanx
    Please read comment #2. You cannot compile Maemo specific code for Qt Simulator in Nokia Qt SDK.

  9. #9
    Registered User
    Join Date
    May 2010
    Posts
    44

    Re: Nokia Qt SDK Maemo5 examples

    Quote Originally Posted by divanov View Post
    Please read comment #2. You cannot compile Maemo specific code for Qt Simulator in Nokia Qt SDK.
    Hello,

    could u clarify me something..
    can i compile and run qt examples on the N900 or not yet?
    bcoz i have read some blogs and they say QT is not supported until PR1.2 comes

    Thanks

  10. #10
    Nokia Developer Moderator
    Join Date
    Oct 2009
    Posts
    4,326

    Re: Nokia Qt SDK Maemo5 examples

    Quote Originally Posted by raedbenz View Post
    can i compile and run qt examples on the N900 or not yet?
    Yes, you can, but you will need to install Qt 4.6.2 on N900 manually.

  11. #11
    Registered User
    Join Date
    May 2010
    Posts
    44

    Re: Nokia Qt SDK Maemo5 examples

    Quote Originally Posted by divanov View Post
    Yes, you can, but you will need to install Qt 4.6.2 on N900 manually.
    Hello,

    I searched the web and they say from extras-devel repository.
    I have enabled the extras-devel repository. and i didnt find anything related. so what packages need to install?
    or is there any other way to install Qt on n900
    Thanks
    Last edited by raedbenz; 2010-05-14 at 21:58.

  12. #12
    Nokia Developer Moderator
    Join Date
    Oct 2009
    Posts
    4,326

    Re: Nokia Qt SDK Maemo5 examples

    Quote Originally Posted by raedbenz View Post
    Hello,

    I searched the web and they say from extras-devel repository.
    I have enabled the extras-devel repository. and i didnt find anything related. so what packages need to install?
    or is there any other way to install Qt on n900
    Thanks
    You don't need extras-devel as Qt is located in Fremantle repository, just execute
    Code:
    apt-get install libqt4-core

  13. #13
    Registered User
    Join Date
    May 2010
    Posts
    44

    Re: Nokia Qt SDK Maemo5 examples

    hello,

    i just tried to execute the command on Xterminal and i get that libqt4-core is the latest. i think this means it is already installed.
    then took this example http://doc.troll.no/qt-maemo-4.6/maemo5-rotation.html i compiled it and sent to the device to /home/developer/ .
    on the xterminal i type:
    Code:
    ./rotation
    and i get: error while loading shared libraries: libQtMaemo5.so.4; cannot open shared object: no such file or directory
    any hints?

    Thanks very much

  14. #14
    Nokia Developer Moderator
    Join Date
    Oct 2009
    Posts
    4,326

    Re: Nokia Qt SDK Maemo5 examples

    What is output of
    Code:
    dpkg -l "libqt4-*"
    ?

  15. #15
    Registered User
    Join Date
    May 2010
    Posts
    44

    Re: Nokia Qt SDK Maemo5 examples

    hello,
    it is a big list of libqt4- packages
    are u looking for something specific?

Page 1 of 2 12 LastLast

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. automatic rotate screen on meamo
    By fily_love in forum Nokia N9
    Replies: 27
    Last Post: 2010-04-06, 08:37
  3. Infra-red capability
    By Symbian_Challenge_0412 in forum General Development Questions
    Replies: 1
    Last Post: 2005-08-16, 18:24
  4. createImage on Nokia Series 40 MIDP Concept SDK Beta 0.3
    By GerardMason in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2003-09-30, 10:00

Posting Permissions

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