locate() doesn't work

Daniel Naber daniel.naber at t-online.de
Mon Jul 15 22:10:57 BST 2002


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?

Regards
 Daniel

-- 
http://www.danielnaber.de




More information about the kde-core-devel mailing list