locate() doesn't work
Simon Hausmann
hausmann at kde.org
Mon Jul 15 22:22:02 BST 2002
On Mon, Jul 15, 2002 at 11:10:57PM +0200, Daniel Naber wrote:
> Hi,
>
> I copied this code from meinproc.cpp:
>
> QString catalogs;
> catalogs += locate( "dtd", "customization/catalog" );
> catalogs += ":";
> catalogs += locate( "dtd", "docbook/xml-dtd-4.1.2/docbook.cat" );
>
> While it works there, in my code (a Kate plugin) it only returns two empty
> strings. How can I make it work in my code, too?
The fillInstance functions in xslt.cpp might be of interest for you :-)
Simon
More information about the kde-core-devel
mailing list