Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User Sasler's Avatar
    Join Date
    Jan 2010
    Posts
    272
    I got the following code:
    Code:
    QDesktopServices::openUrl(QUrl("http://www.google.com"))
    While this woks fine in Windows, nothing happens in N900. Am I doing something wrong? Or is there another way to open an URL in N900?

    Thanks

  2. #2
    Nokia Developer Moderator divanov's Avatar
    Join Date
    Oct 2009
    Posts
    4,326
    It opens browser for me with Qt 4.5.3. Didn't try with 4.6 yet.

  3. #3
    Nokia Developer Moderator divanov's Avatar
    Join Date
    Oct 2009
    Posts
    4,326
    And with Qt 4.6 it works properly as well.

  4. #4
    Registered User Sasler's Avatar
    Join Date
    Jan 2010
    Posts
    272
    Quote Originally Posted by divanov View Post
    It opens browser for me with Qt 4.5.3. Didn't try with 4.6 yet.
    Yes, sorry. When I did installed a prober Debian package instead of using remote run in MADDE, it worked.

    Thanks for the help anyway.

  5. #5
    Registered User stone.chao's Avatar
    Join Date
    Mar 2010
    Posts
    46
    hi!
    I tried this code QDesktopServices:penUrl(QUrl("http://www.google.com"));
    and include <QDesktopServices> and <QUrl> in the .cpp file.
    But it seems did nothing.
    Should I install any package in N900 to make it work?
    My program is compile with scratchbox and run it under /home/developer/ on N900.

    Thanks for help!

  6. #6
    Nokia Developer Moderator divanov's Avatar
    Join Date
    Oct 2009
    Posts
    4,326
    It works without problem in PR 1.2.

Similar Threads

  1. openURL for SMS & Email
    By walty8 in forum Symbian Web Runtime
    Replies: 4
    Last Post: 2010-09-21, 11:29
  2. OVI for N900
    By rrdbala in forum [Closed] Publishing to Nokia Store
    Replies: 3
    Last Post: 2009-12-27, 21:14
  3. Excuse me... About N900..
    By naoki126 in forum General Development Questions
    Replies: 1
    Last Post: 2009-11-15, 18:59
  4. N900 / Maemo
    By proberts in forum [Closed] Publishing to Nokia Store
    Replies: 6
    Last Post: 2009-10-06, 23:21
  5. Nokia N900 and flash - some answers required?
    By khan.azee in forum [Archived] Flash Lite on Nokia Devices
    Replies: 11
    Last Post: 2009-09-22, 07: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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved