Results 1 to 4 of 4

Thread: How do I incorporate standalone content into a QCH file?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,017 Times in 4,793 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How do I incorporate standalone content into a QCH file?

    You can do that but for it to work you need to properly populate the help generator project file. Take a look at existing files and follow the pattern. Pay attention to the namespace (or rather "virtual folder") part, it can't be some arbitrary path.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  2. #2
    Join Date
    Dec 2010
    Posts
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How do I incorporate standalone content into a QCH file?

    Many thanks for the quick response, Wysota. I tried every combination of entries I could think of in the virtualFolder tag and namespace tag, both in the .qhp as well as all involved .html files. Even tried deleting one tag, then the other, etc., but I still get the same error on the TOC entries and search result entries for the .html files not created through code extraction (the concept topics). The .html files created through extraction work every time.

    I couldn’t find a sample that separates the extraction step from the .qch file creation step (ie, has “outside” .html files to deal with). Do you know of any or have a sample? Or is there a better way to bring these “outside” files in? It’s almost as if index.html is getting inserted into the path for some reason (going by the error message). Should’ve mentioned none of the .html files I want to add are named index.html. Or perhaps there are key places I need to match up virtual folder and/or namespace—do you know what those are?

  3. #3
    Join Date
    Dec 2010
    Posts
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How do I incorporate standalone content into a QCH file?

    Wysota--I figured it out. It was a script in the files that Qt Creator didn't like. It's working now. Many thanks again for your help (without your note telling me it should work, I wouldn't have kept trying things.)

Similar Threads

  1. Replies: 12
    Last Post: 9th March 2011, 15:46
  2. set content(&file)
    By rk0747 in forum Qt Programming
    Replies: 1
    Last Post: 6th February 2010, 08:31
  3. How to modify the content of text file
    By grsandeep85 in forum Qt Programming
    Replies: 3
    Last Post: 31st July 2009, 10:23
  4. Saving QLabel content in a file
    By Caius Aérobus in forum Newbie
    Replies: 1
    Last Post: 29th October 2008, 17:03
  5. How To Incorporate Progress Bar In Program
    By deekayt in forum Qt Programming
    Replies: 8
    Last Post: 20th December 2006, 14:40

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.