Cannot install a KDE theme

Patrick Burkard the-dark-eye at web.de
Sun May 18 13:46:45 UTC 2008


On Sun, 18 May 2008 15:13:07 +0200, Paul Smith <phhs80 at gmail.com> wrote:

> Dear All,
>
> I am trying to install the KDE Phase theme:
>
> http://www.kde-look.org/content/show.php/Phase?content=11402
>
> but getting the errors below.
>
> Any ideas?
>
> Thanks in advance,
>
> Paul
>
> -------------------------
>
> $ make
> g++ -c -pipe -Wall -W -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
> -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32
> -march=i386 -mtune=generic -fasynchronous-unwind-tables -fPIC
> -DQT_NO_DEBUG -DQT_PLUGIN -I/usr/lib/qt-3.3/mkspecs/default -I.
> -I/usr/lib/qt-3.3/include -I.build/ -I.build/ -o .build/phasestyle.o
> phasestyle.cpp
> phasestyle.cpp:21:24: error: QApplication: No such file or directory
> phasestyle.cpp:22:19: error: QBitmap: No such file or directory
> phasestyle.cpp:23:21: error: QCheckBox: No such file or directory
> phasestyle.cpp:24:21: error: QComboBox: No such file or directory
> phasestyle.cpp:25:23: error: QDockWidget: No such file or directory
> phasestyle.cpp:26:21: error: QKeyEvent: No such file or directory
> phasestyle.cpp:27:27: error: QLinearGradient: No such file or directory
> phasestyle.cpp:28:20: error: QMenuBar: No such file or directory
> phasestyle.cpp:29:20: error: QPainter: No such file or directory
> phasestyle.cpp:30:24: error: QPixmapCache: No such file or directory
> phasestyle.cpp:31:24: error: QProgressBar: No such file or directory
> phasestyle.cpp:32:24: error: QStylePlugin: No such file or directory
> phasestyle.cpp:33:23: error: QPushButton: No such file or directory
> phasestyle.cpp:34:24: error: QRadioButton: No such file or directory
> phasestyle.cpp:35:21: error: QSettings: No such file or directory
> phasestyle.cpp:36:20: error: QSpinBox: No such file or directory
> phasestyle.cpp:37:27: error: QSplitterHandle: No such file or directory
> phasestyle.cpp:38:20: error: QToolBar: No such file or directory
> In file included from phasestyle.cpp:42:
> phasestyle.h:30:25: error: QWindowsStyle: No such file or directory
> In file included from phasestyle.cpp:42:
> phasestyle.h:36: error: expected class-name before '{' token
> phasestyle.h:37: error: ISO C++ forbids declaration of 'Q_OBJECT' with  
> no type
> phasestyle.h:38: error: expected ';' before 'public'
> phasestyle.h:42: error: 'QApplication' has not been declared
> phasestyle.h:43: error: 'QWidget' has not been declared
> phasestyle.h:43: error: 'void PhaseStyle::polish(int*)' cannot be  
> overloaded
> phasestyle.h:42: error: with 'void PhaseStyle::polish(int*)'
> phasestyle.h:44: error: 'QPalette' has not been declared
> phasestyle.h:45: error: 'QApplication' has not been declared
> phasestyle.h:46: error: 'QWidget' has not been declared
> phasestyle.h:48: error: 'QPalette' does not name a type
> phasestyle.h:50: error: 'PrimitiveElement' has not been declared
> phasestyle.h:51: error: expected ',' or '...' before '*' token
> phasestyle.h:53: error: ISO C++ forbids declaration of 'QStyleOption'
> with no type
> phasestyle.h:55: error: 'ControlElement' has not been declared
> phasestyle.h:56: error: expected ',' or '...' before '*' token
> phasestyle.h:58: error: ISO C++ forbids declaration of 'QStyleOption'
> with no type
> phasestyle.h:60: error: 'ComplexControl' has not been declared
> phasestyle.h:61: error: expected ',' or '...' before '*' token
> phasestyle.h:63: error: ISO C++ forbids declaration of
> 'QStyleOptionComplex' with no type
> phasestyle.h:65: error: 'QPixmap' does not name a type
> phasestyle.h:69: error: 'PixelMetric' has not been declared
> phasestyle.h:70: error: expected ',' or '...' before '*' token
> phasestyle.h:71: error: ISO C++ forbids declaration of 'QStyleOption'
> with no type
> phasestyle.h:73: error: 'QRect' does not name a type
> phasestyle.h:77: error: 'QRect' does not name a type
> phasestyle.h:82: error: 'SubControl' does not name a type
> phasestyle.h:87: error: 'StyleHint' has not been declared
> phasestyle.h:88: error: expected ',' or '...' before '*' token
> phasestyle.h:90: error: ISO C++ forbids declaration of 'QStyleOption'
> with no type
> phasestyle.h:119: error: 'QPainter' has not been declared
> phasestyle.h:120: error: expected ',' or '...' before '&' token
> phasestyle.h:124: error: ISO C++ forbids declaration of 'QRect' with no  
> type
> phasestyle.h:126: error: 'QPainter' has not been declared
> phasestyle.h:127: error: 'QRect' has not been declared
> phasestyle.h:128: error: expected ',' or '...' before '&' token
> phasestyle.h:132: error: ISO C++ forbids declaration of 'QPalette' with  
> no type
> phasestyle.h:134: error: 'QPainter' has not been declared
> phasestyle.h:135: error: 'QRect' has not been declared
> phasestyle.h:136: error: expected ',' or '...' before '&' token
> phasestyle.h:138: error: ISO C++ forbids declaration of 'QPalette' with  
> no type
> phasestyle.h:140: error: 'QPainter' has not been declared
> phasestyle.h:141: error: expected ',' or '...' before '&' token
> phasestyle.h:144: error: ISO C++ forbids declaration of 'QRect' with no  
> type
> phasestyle.h:146: error: 'QPainter' has not been declared
> phasestyle.h:147: error: expected ',' or '...' before '&' token
> phasestyle.h:149: error: ISO C++ forbids declaration of 'QRect' with no  
> type
> phasestyle.h:151: error: 'QPainter' has not been declared
> phasestyle.h:152: error: expected ',' or '...' before '&' token
> phasestyle.h:153: error: ISO C++ forbids declaration of 'QPalette' with  
> no type
> phasestyle.h:155: error: 'QTimerEvent' has not been declared
> phasestyle.h:156: error: 'QObject' has not been declared
> phasestyle.h:156: error: 'QEvent' has not been declared
> phasestyle.h:163: error: ISO C++ forbids declaration of 'QList' with no  
> type
> phasestyle.h:163: error: expected ';' before '<' token
> phasestyle.h:164: error: ISO C++ forbids declaration of 'QList' with no  
> type
> phasestyle.h:164: error: expected ';' before '<' token
> phasestyle.cpp:63: error: prototype for 'PhaseStyle::PhaseStyle()'
> does not match any in class 'PhaseStyle'
> phasestyle.h:116: error: candidate is: PhaseStyle::PhaseStyle(const  
> PhaseStyle&)
> phasestyle.cpp:104: error: variable or field 'polish' declared void
> phasestyle.cpp:104: error: 'QApplication' was not declared in this scope
> phasestyle.cpp:104: error: 'app' was not declared in this scope
> phasestyle.cpp:114: error: variable or field 'polish' declared void
> phasestyle.cpp:114: error: 'QWidget' was not declared in this scope
> phasestyle.cpp:114: error: 'widget' was not declared in this scope
> make: *** [.build/phasestyle.o] Error 1
> $
>

Looks like missing Qt librarys or a path problem.
Check if the Qt development packages are installed
and if phasestyles configure skript has detected them
correctly.

Patrick

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/




More information about the fedora-list mailing list