Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [solved] Assistant can't find files from custom documentation
Forum Updated to NodeBB v4.3 + New Features

[solved] Assistant can't find files from custom documentation

Scheduled Pinned Locked Moved General and Desktop
7 Posts 2 Posters 6.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    maciej
    wrote on last edited by
    #1

    Hi all,

    I'd like to create Help system in my application with use of QtAssistant. I've created .qhp and .qhcp files, then generated collection file with:
    @qcollectiongenerator help.qhcp -o help.qhc@
    and started assistant with:
    @assistant -collectionFile help.qhc@
    Unfortunately I'm getting 404's, e.g.:
    @The page could not be found
    'qthelp://test.assistant/help/en/tool/index.html'@

    If you need source, I've uploaded my "example":http://files.myopera.com/Maciek/files/assistant.zip.

    Also I'd like to know where is cacheDirectory stored, as I need to clear it (with <cacheDirectory> set sections are doubled). I'm using Linux, but I haven't found any .assistant or .{cache,config}/{Qt,Troltech,Nokia,Assistant}/ entries. I'm using Qt 4.7.0

    Thanks for your help.

    Earth is a beta site.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sigrid
      wrote on last edited by
      #2

      On Linux, the cache directory should exist under $HOME/.assistant.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        maciej
        wrote on last edited by
        #3

        Well... not on mine Linux :)

        Earth is a beta site.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sigrid
          wrote on last edited by
          #4

          Does it get created for you when you start Qt Assistant?

          1 Reply Last reply
          0
          • M Offline
            M Offline
            maciej
            wrote on last edited by
            #5

            That's strange but not. And I need to clear cache, while some problems seem to be caused by old values from cache.

            Earth is a beta site.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              sigrid
              wrote on last edited by
              #6

              There has been several caching fixes in later versions of Qt 4.7.x. Can you try upgrading to Qt 4.7.3 to see if that helps?

              The assistant cache directory should be:

              ./local/share/data/Trolltech/Assistant/....

              1 Reply Last reply
              0
              • M Offline
                M Offline
                maciej
                wrote on last edited by
                #7

                [quote author="sigrid" date="1305810984"]./local/share/data/Trolltech/Assistant/....[/quote]
                Ahh... there it is! Removing that directory helped. Thanks for information!

                Earth is a beta site.

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved