kdoctools

Aleix Pol aleixpol at kde.org
Fri Nov 15 12:27:11 UTC 2013


On Fri, Nov 15, 2013 at 10:12 AM, Treeve Jelbert <treeve at scarlet.be> wrote:

> I build all of kf5 as standalone modules
>
> kdoctools is now required when building kdewidgets, but the build fails
>
> FAILED: cd /usr/src/kdewidgets-5.x/build/docs/makekdewidgets &&
> /opt/qt5/bin/meinproc5 --stylesheet
> /opt/qt5/share/ksgmltools2/customization/kde-include-man.xsl --check
>
> /var/git/kde5libs/kdewidgets/docs/makekdewidgets/man-makekdewidgets.1.docbook
> man-makekdewidgets.1.docbook:5: warning: failed to load external entity
> "dtd/kdex.dtd"
> ]>
>
>
> kdoctools installs files to /opt/qt5/share/ksgmltools2/customization
> whereas
> kdelibs4 uses /opt/qt4/share/apps/ksgmltools2/customization
>
> is the problem due to the extra apps directory?
>
> is it possible to make the dependency on kdoctools optional?
> _______________________________________________
> Kde-frameworks-devel mailing list
> Kde-frameworks-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
>

I wouldn't make the dependency on KDocTools optional, the advantage would
be that then things are less tested. Documentation needs some love too
anyway.

The problem you're having is because meinproc uses QStandardPaths,
requiring you to have XDG_* variables defined, especially XDG_DATA_DIRS.

Aleix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20131115/2e9e0800/attachment.html>


More information about the Kde-frameworks-devel mailing list