You are not logged in.

#1 2007-05-03 19:47:50

janwil
Member
From: Tartu, Estonia
Registered: 2003-08-15
Posts: 88

Kdevelop not showing Qt reference documentation [solved]

Hi all,

I am trying to code a little Qt app using Kdevelop on my Arch box. When I choose Documentation -> Qt Reference Documentation, nothing gets displayed. When I right-click on Qt Reference Documentation from the Documentation pane and try to open it in a new tab, I get the following error message:

Could not start process Unable to create io-slave:
klauncher said: Unknown protocol ''.
.

This happens actually on three different Arch boxes of mine, both with Kdevelop 3.3.6 and 3.4.0.  Am I missing something or are the Qt docs somewhat badly generated? Most of the other docs seem to work fine.

Thanks for any advice in advance,
Jan

Last edited by janwil (2007-05-04 10:42:27)

Offline

#2 2007-05-03 21:01:07

equadon
Member
Registered: 2007-04-12
Posts: 25

Re: Kdevelop not showing Qt reference documentation [solved]

Arch removes the documentation for most packages, including Qt.

However, it's easily retrived. Using ABS, you can get the PKGBUILD for the Qt version you're using. I usually enter the directory where the PKGBUILD is and run 'makepkg -o' to only retrieve the sources, and not compile it. When everything is downloaded, copy the 'docs' folder to /opt/qt/ and you should be all set.

Offline

#3 2007-05-03 23:40:13

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Kdevelop not showing Qt reference documentation [solved]

There is already a Qt docs package in extra: qt-doc

Offline

#4 2007-05-04 05:41:44

janwil
Member
From: Tartu, Estonia
Registered: 2003-08-15
Posts: 88

Re: Kdevelop not showing Qt reference documentation [solved]

Hi again,

Thanx, we got a step further smile However, I installed the qt-doc package, but I still get the same error message. The message talks about unknown protocol "." which seems strange. Does everyone else have Qt documentation working properly with Kdevelop?

Jan

Offline

#5 2007-05-04 10:42:03

janwil
Member
From: Tartu, Estonia
Registered: 2003-08-15
Posts: 88

Re: Kdevelop not showing Qt reference documentation [solved]

Hi again!

The mystery is solved. The problem was that Kdevelop looked for documentation in the /opt/qt directory, while the documentation was actually stored in /opt/qt/doc/html/. Correcting the path in Kdevelop's settings fixed the problem.

Jan

Offline

Board footer

Powered by FluxBB