[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwin
Subject:    Re: XIconifyWindow doesn't work with kde, how to use iconifyWindow?
From:       Lubos Lunak <l.lunak () suse ! cz>
Date:       2008-11-28 9:01:39
Message-ID: 200811281001.40028.l.lunak () suse ! cz
[Download RAW message or body]

On Wednesday 26 of November 2008, Aapo Rantalainen wrote:
> >  You probably need to compile it as C++, and the command is missing
> > include path for Qt includes and also the libraries (libkdeui at least).
>
> Thanks for reply. I didn't get it working yet.

> So I added -I/usr/include/kde/ to g++ command, so it is now:
> g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB
> -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I.
> -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore
> -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4
> -I. -I. -I. -o main.o main.cpp -I/usr/include/kde
>
> But I got errors
> In file included from main.cpp:4:
> /usr/include/kde/kwin.h:682: error: "QCString" does not name a type
> /usr/include/kde/kwin.h:690: error: "QCString" does not name a type
> /usr/include/kde/kwin.h:697: error: "QCString" does not name a type
> /usr/include/kde/kwin.h:704: error: "QCString" does not name a type

 I expect you are mixing KDE3 and Qt4 here.

> btw: Am I right this is only way that I can iconify window in KDE?
> (KWin::iconifyWindow)

 No. As I've said, in this case XIconifyWindow() should be equivalent.

-- 
Lubos Lunak
KDE developer
--------------------------------------------------------------
SUSE LINUX, s.r.o.   e-mail: l.lunak@suse.cz , l.lunak@kde.org
Lihovarska 1060/12   tel: +420 284 028 972
190 00 Prague 9      fax: +420 284 028 951
Czech Republic       http://www.suse.cz
_______________________________________________
kwin mailing list
kwin@kde.org
https://mail.kde.org/mailman/listinfo/kwin
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic