[Kde-windows] crystalsvg not found
Peter Kümmel
syntheticpp at gmx.net
Wed Feb 22 23:31:31 CET 2006
Hi,
I run this small program on windows
#include <kapplication.h>
#include <kcmdlineargs.h>
#include <KTabWidget.h>
#include <KMainWindow.h>
int main( int argc, char **argv )
{
KCmdLineArgs::init(argc, argv, "mini", "test", "description", "0.1");
KApplication a;
KTabWidget *w = new KTabWidget;
a.setMainWidget( w );
w->show();
return a.exec();
}
and get this error (dcopserver is running):
mini: Icon theme crystalsvg not found.
mini: Couldn't find current icon theme, falling back to default.
mini: Icon theme crystalsvg not found.
mini: ERROR: Error: standard icon theme "crystalsvg" not found!
QApplication::palette() failed: please instantiate the QApplication object first.
No style available in non-gui applications!
When using KMainWindow instead of the KTabWidget it gives a different error:
mini: Icon theme crystalsvg not found.
mini: Couldn't find current icon theme, falling back to default.
mini: Icon theme crystalsvg not found.
mini: ERROR: Error: standard icon theme "crystalsvg" not found!
mini: KAccelActions( KAccelBase = 01A094C8 ): this = 01A094CC
mini: KAccelBase(): this = 01A094C8
mini: KAccel( watch = [KMainWindow pointer(0x01a09208) to unnamed widget, geometry=761x511+88+88], p
Parent = 01A093B8, psName = KActionCollection-KAccel ): this = 01A09470
QApplication::exec() failed: please instantiate the QApplication object first.
Any ideas?
How could it find crystalsvg?
Thanks,
Peter
More information about the Kde-windows
mailing list