[Development] Recommendations for 3rd-party QCH file installation folder for easy discovery?

Friedrich W. H. Kossebau kossebau at kde.org
Thu Nov 24 19:51:13 CET 2016


Hi,

Am Donnerstag, 24. November 2016, 11:08:56 CET schrieb Lisandro Damián Nicanor 
Pérez Meyer:
> On jueves, 24 de noviembre de 2016 07:38:20 ART Uwe Rathmann wrote:
> > On Tue, 22 Nov 2016 18:05:20 +0100, Friedrich W. H. Kossebau wrote:
> > > Q1: what would be a good system path pattern (on *nixoid systems) for
> > > Qt-based libraries to install their QCH files to?
> > 
> > Qwt ( http://qwt.sf.net ) offers a qch file and is available for quite
> > some time. So you could check, what is common practice among distro
> > packagers.
> > 
> > F.e. on my box ( OpenSusSE 12.2 ) it is simply not part of qwt6-devel-
> > doc. But the OpenSuSE package maintainer seems in general not being aware
> > of these Qt specific files as the installation of the feature files is
> > also broken.
> > 
> > But the rest of the docs can be found below /usr/share/doc/packages/qwt6-
> > devel-doc and IMO this is where I would expect to find qwt.qch as well.
> > 
> > Maybe other distros can give you a better hint.
> 
> At least on Debian I would push them to /usr/share/<app>/doc/

I see, thanks for the info.
Even more, "find /usr/share/ -name doc" tells me on my openSUSE Tumbleweed 
that indeed
	/usr/share/<app>/doc/
is more popular than
	/usr/share/doc/packages/<app>

And I see that GammaRay puts their QCH file here directly to
/usr/share/gammaray/gammaray-api.qch

Meh. There are better places for variety and personality :)

Hm. Currently I am tempted to solve this issue for now by defaulting the 
install of the 3rd-party QCH files directly to the Qt system folder with the 
Qt QCH files (the one of the Qt linked against).
Seems at least Qt Assistant automatically adds any new QCH file placed there, 
so this would solve the discoverability issue. After all if someone installed 
a package with the QCH file, they do want to use it usually...

Cheers
Friedrich



More information about the Development mailing list