Results 1 to 3 of 3

Thread: QAssistant issue

  1. #1
    Join Date
    Dec 2006
    Posts
    33
    Thanks
    10
    Thanked 5 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default QAssistant issue

    I'm trying to use the Assistant as the help viewer for my application. I set up a myHelp.adp file in oldpath/myHelp.adp with some simple html documents, and everyhthing works find using the command
    assistant -profile myHelp.adp
    from the oldpath directory.

    Then I moved everthing to "newpath", went to the command line with current directory at "newpath", and entered the same assistant command.

    The initial index.html page comes up find, but when I clck on any other page, say, "page1", in the index sidebar, I get the error "The page could not be found", followed by
    "file:///oldpath/page1.html." - like it is still looking in "oldpath". There is no reference to oldPath in my adp file or any of the html files. I even searched the regedit (Windows XP) for "oldPath" to no avail. It's like assistant is remembering the old setup in some undocumented way.

    Any ideas? Thanks.
    Jim L
    Seattle, WA

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QAssistant issue

    It seems that the index is stale. I'm not sure how to force the Assistant to reindex the docs (it should happen automatically when you change the docs), but you can try to delete the index file (C:\Documents and Settings\user\.assistant\contentdbXX.yyy).
    Last edited by jacek; 14th December 2007 at 21:32. Reason: typo

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

    jml (14th December 2007)

  4. #3
    Join Date
    Dec 2006
    Posts
    33
    Thanks
    10
    Thanked 5 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Thumbs up Re: QAssistant issue

    Thank you! That fixed it.
    Jim L
    Seattle, WA

Similar Threads

  1. QSocketNotifier Issue
    By TheGrimace in forum Qt Programming
    Replies: 6
    Last Post: 18th July 2007, 21:29
  2. qt3 to qt4 - uic issue
    By hvengel in forum Qt Programming
    Replies: 10
    Last Post: 4th March 2007, 02:59
  3. Database access issue
    By Gayathri in forum Newbie
    Replies: 3
    Last Post: 23rd November 2006, 07:41
  4. Replies: 5
    Last Post: 22nd September 2006, 08:04
  5. A Design Issue...
    By nupul in forum Qt Programming
    Replies: 6
    Last Post: 4th May 2006, 17:41

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.