×

Discussion Board

Results 1 to 11 of 11
  1. #1
    Registered User
    Join Date
    Mar 2010
    Posts
    46

    How maemo examples can run on N900?

    Sorry about the stupid questions.
    But I've tried so many times to get one example on my N900 but failed.
    (It has firmware PR1.1.1 now)

    I tried camera example, toolbar examples in maemo examples.
    They works fine in scratchbox.
    But when I compile/make them under sbox-FREMANTLE_ARMEL and put them on N900, I failed to execute them.

    On N900, the programs can't be executed by just double click.
    So I open a xterm window do the following statement.

    'sudo gainroot'
    #sudo ./example_file_chooser

    But there is nothing happened. No application launched and no error message shows.

    I don't know if I missed something needed on N900. Do I need to install anything on N900?
    Basically, I following this post to compile my application. http://forums.internettablettalk.com...d.php?p=561391

    Thanks for any advise.

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

    Re: How maemo examples can run on N900?

    There is no information available in the wiki for the camera module.

    Check this maemo page: http://wiki.forum.nokia.com/index.php/Category:Maemo

    Best regards,

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

    Re: How maemo examples can run on N900?

    You must have the same version of Qt on the device and in your development platform.
    You launch applications with just
    Code:
    ./binary_name

  4. #4
    Registered User
    Join Date
    Mar 2010
    Posts
    46

    Re: How maemo examples can run on N900?

    It shows Permission denied as the following.
    /bin/sh: ./test: Permission denied
    So I use : sudo ./test
    then It will show prompt but nothing happened.

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

    Re: How maemo examples can run on N900?

    Do the following:
    Code:
    chmod 755 test
    ./test

  6. #6
    Registered User
    Join Date
    Mar 2010
    Posts
    46

    Re: How maemo examples can run on N900?

    Hi! Daniil:
    Thanks!
    But Still the same...

    May I know how to make sure the Qt version on N900 ,especially download more than one version Qt example from app manager.

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

    Re: How maemo examples can run on N900?

    Quote Originally Posted by stone.chao View Post
    May I know how to make sure the Qt version on N900 ,especially download more than one version Qt example from app manager.
    Are you sure that test is a binary file?
    Code:
    dpkg -l "libqt4-*"
    gives you Qt version

  8. #8
    Registered User
    Join Date
    Mar 2010
    Posts
    46

    Re: How maemo examples can run on N900?

    Yes. since I got this test example ran on scratchbox.

    The result of dpkg -l "libqt4-*" is kind of strange.
    I have 4.5.3 and 4.6.2 both.
    all names of 4.6.2 components begin with libqt4-maemo5-xxx , including core, D-Bus, GUI, network, XML
    and names of 4.5.3 components begin with libqt4-xxx , including core, D-Bus, GUI, network, XML,SQL, SQLite,SVG, OPENGL.
    Is it ok to have 2 versions Qt on N900?

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

    Re: How maemo examples can run on N900?

    None of the versions is the latest. You should remove 4.6.2 manually
    Code:
    apt-get remove libqt4-maemo5-core

  10. #10
    Registered User
    Join Date
    Mar 2010
    Posts
    46

    Re: How maemo examples can run on N900?

    Since I upgrade the firmware to PR1.2,It can work with Nokia QT SDK beta now.
    But only in Qt creator.If I copy the file and put it in MyDocs on N900. It seems can't be executed nor double click neither command line.
    I use 'ls -l' and found the result is -rw-r--r--
    and chmod 755 xxx didn't help. It remains -rw-r--r--

    Finally I found out that may because the limitation of the directory.
    I try to copy the file to /home/developer. and chmod again.
    It works now.
    Sorry for silly questions. Those things are quite new to me..

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

    Re: How maemo examples can run on N900?

    Quote Originally Posted by stone.chao View Post
    If I copy the file and put it in MyDocs on N900. It seems can't be executed nor double click neither command line.
    I use 'ls -l' and found the result is -rw-r--r--
    and chmod 755 xxx didn't help. It remains -rw-r--r--
    /home/user/MyDocs/ is a FAT32 partition, it doesn't support execution bit.

Similar Threads

  1. N900 Maemo 5 HildonPortraitFlags
    By ee4hire in forum Nokia N9
    Replies: 1
    Last Post: 2010-04-16, 08:07
  2. Copyright on N900 / Maemo 5
    By b666m in forum General Messaging
    Replies: 1
    Last Post: 2010-01-23, 02:51
  3. PhoneGap on N900 / Maemo
    By miohtama in forum Symbian
    Replies: 0
    Last Post: 2009-11-24, 00:32
  4. N900 / Maemo
    By proberts in forum [Closed] Publishing to Nokia Store
    Replies: 6
    Last Post: 2009-10-06, 23:21
  5. N900 MAEMO and Midp...
    By sblantipodi in forum Mobile Java General
    Replies: 50
    Last Post: 2009-10-05, 18:40

Posting Permissions

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