Results 1 to 8 of 8

Thread: QDesktopServices::openUrl with location hash fails on Windows and Mac

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2012
    Posts
    46
    Thanks
    11
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: QDesktopServices::openUrl with location hash fails on Windows and Mac

    So then I can't rely on the default handler -- my help document is originally a PDF but when I couldn't get the "#page=20" to work I converted it to HTML. Last night I was reading up on the QDesktopServices::setUrlHandler() and thinking that might be the way to go so thanks for confirming.

    Your first paragraph is exactly what I saw when I was testing.

    Thanks!

    Kodi

  2. #2
    Join Date
    Oct 2008
    Posts
    11
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QDesktopServices::openUrl with location hash fails on Windows and Mac

    Hi,

    I'm very interesting by what you try to do.
    Are you succed to open pdf file with #page=X extension using "QDesktopServices::setUrlHandler() ?

Similar Threads

  1. QDesktopServices::openUrl() slow
    By rbp in forum Qt Programming
    Replies: 10
    Last Post: 23rd January 2011, 16:30
  2. local html file and QDesktopServices::openUrl
    By ntp in forum Qt Programming
    Replies: 1
    Last Post: 19th August 2010, 08:05
  3. Replies: 1
    Last Post: 3rd February 2010, 04:45
  4. QDesktopServices::openUrl - Problem
    By rmagro in forum Qt Programming
    Replies: 8
    Last Post: 2nd April 2009, 14:21
  5. QDesktopServices::openUrl and HTML fragments
    By roro in forum Qt Programming
    Replies: 2
    Last Post: 18th June 2007, 17:31

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.