Results 1 to 3 of 3

Thread: QHelpEngineCore

  1. #1
    Join Date
    May 2009
    Posts
    52
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default QHelpEngineCore

    I'm trying to load a help colection file using QHelpEngineCore. It works from disk, how can I load it from the resource file (the qrc file)? Is that possible in other ways or the resource file is only for images?

  2. #2
    Join Date
    May 2009
    Posts
    62
    Thanks
    2
    Thanked 16 Times in 15 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QHelpEngineCore

    QHelpEngineCore modifies the collection file, so I don't think that a resource-based file is supported.

    But you could read your collection file from resource and save it to disk before you initialize the help engine.

  3. The following user says thank you to shentian for this useful post:

    Carlsberg (20th June 2009)

  4. #3
    Join Date
    May 2009
    Posts
    52
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QHelpEngineCore

    Ok, I thought so too. Thank you

    In the end, having a really simple help, I just keep the html in the resource file and drop it on a QTextBrowser

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.