PDA

View Full Version : Qt 4 assistant does not start



zav1984
17th June 2011, 21:27
Hello,

I have the following problem in Ubuntu:

When I try to start the Qt 4 Assistant I get the following error message:

zav@zav1984:~$ assistant
Error reading collection file '/home/zav/.local/share/data/Trolltech/Assistant/qthelpcollection_4.7.0.qhc': Cannot open collection file: /home/zav/.local/share/data/Trolltech/Assistant/qthelpcollection_4.7.0.qhc

I already tried to find the file, without success :(. I guess I have to install it myself. But I installed Qt with the synaptic package manager and the Qt 4 Designer and the Qt 4 Linguist works!!! So I actually don't know what I did wrong?!

Thanks!

wysota
17th June 2011, 22:17
You must have confused assistant somehow. It surely shouldn't be looking for collection files in your home dir unless someone (guess who?) pointed it to a collection file inside some user's home directory.

zav1984
18th June 2011, 11:37
Where is the qthelpcollection_4.7.0.qhc file normally installed? Do I have to set a PATH variable?

Thanks!

wysota
18th June 2011, 12:03
There is no such file in Qt, as far as I know. Try deleting (or moving) ~/.config/Trolltech directory and start assistant again.

darren.huang
13th December 2011, 04:23
Try:
sudo mkdir -p /home/zav/.local/share/data/Trolltech/Assistant
sudo chmod 777 /home/zav/.local/share/data/Trolltech/Assistant

----

And run again the qt-assistant.