Results 1 to 4 of 4

Thread: Qt Assistant path

  1. #1
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Question Qt Assistant path

    Is there any way to set path for Qt Assistant ??
    I had installed Qt in D:/4.2.2 then reinstalled Qt in D:/Qt/4.2.2
    now when I run Assistant, I cannot access documentation for any classes
    it says D:/4.2.2/doc/html/... not found...
    I guess reinstalling Qt has caused the problem, I hadnt uninstalled Qt, just deleted the directory.

    Is there a way to uninstall Qt properly ?
    or How can I set the path for Qt Assistant so that all information is available to me in the Assistant itself ?

  2. #2
    Join Date
    Jan 2006
    Posts
    667
    Thanks
    10
    Thanked 80 Times in 74 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt Assistant path

    You will need to change the environment variable called QTDIR to now point to the directory where Qt is installed.

  3. #3
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt Assistant path

    I tried changing the path to the Qt directory but its still not helping

    Let me explain the problem once agian -
    When I open the assistant from Qt Demo, it works fine for the text browser area. But when I click on some item from the index list, I get the error as 'D:/4.2.2/....' not found. D:/4.2.2 was previous directory where I had installed Qt. Then I installed Qt again to D:/Qt/4.2.2 . I didnt uninstall the previous one, just deleted the directory(I dont know how to uninstall Qt )
    In short Text browser works fine... but the clicks on index list doesn't work ...

    I guess thers something in the registry for this problem.
    ne suggestions ??

  4. #4
    Join Date
    Feb 2007
    Posts
    16
    Thanks
    2
    Thanked 3 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt Assistant path

    I've been having the same problem. I created an installer for my company, but if they chose to install Qt to a path that is different from the one on which it was built on my machine, some of the tools like QMake and QAssistant would not work. I came across this post and tried what Munna suggested and it worked beautifully. If you're using Windows, you will have to set QTDIR as an environment variable.

Similar Threads

  1. valid a path name
    By klaus1111 in forum Newbie
    Replies: 3
    Last Post: 23rd July 2006, 16:07
  2. Replies: 1
    Last Post: 18th July 2006, 13:06
  3. Which path should I use?
    By Dark_Tower in forum Newbie
    Replies: 3
    Last Post: 8th April 2006, 13:09
  4. Qt assistant under linux
    By jochen_r in forum Newbie
    Replies: 8
    Last Post: 10th January 2006, 09:39

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.