On Sun, Jul 28, 2002 at 06:06:58PM +0200, Thomas Ritter wrote:
> My distribution is debian unstable with KDE 3.0.2 and QT-3.0.4-mt.

Ok, CLicqGui::CLicqGui(int argc, char **argv) in licqgui.cpp calls
KApplication(argc, argv, "Licq").

kapplication.h declares this KApplication constructor as
KApplication(int& argc, char** argv, const QCString& rAppName, bool allowStyles=true, 
bool GUIenabled=true);

KApplication::KApplication(int& ar[...], bool GUIenabled) calls
QApplication( argc, argv, GUIenabled )

QApplication::QApplication(int &argc, char **argv, bool GUIenabled)
calls QApplication::construct(argc, argv, GUIenabled ? GuiClient : Tty)

QApplication::construct(int &argc, char **argv, Type type) finally
assigns qt_is_gui_used as qt_is_gui_used = (type != Tty)

The function that spat out that error was QApplication::style():
QStyle& QApplication::style()
{
#ifndef QT_NO_STYLE
    if ( qt_is_gui_used ) {
[...]
    } else {
        qFatal( "No style available in non-gui applications!" );
    }
#endif

    return *app_style;
}

It doesn't look like it's the plugin's fault...
What changes did the Debian folks do to Qt and KDE? Did they change
kapplication.h?

  Daniel Glöckner



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Licq-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/licq-devel

Reply via email to