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



  • 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.



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



  • Well... not on mine Linux :)



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



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



  • 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/....



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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.