All pastes #709455 Raw Edit

Make Error of ColorLabel

public text v1 · immutable
#709455 ·published 2007-09-24 18:16 UTC
rendered paste body
HobbyBlobby@FelixLinuxPC:~/Desktop/Spaß> ./build
In file included from ColorLabel.cpp:1:
ColorLabel.h:3:18: error: QtCore: Datei oder Verzeichnis nicht gefunden
ColorLabel.h:4:17: error: QtGui: Datei oder Verzeichnis nicht gefunden
ColorLabel.h:6: error: expected class-name before ‘{’ token
ColorLabel.h:7: error: ISO C++ forbids declaration of ‘Q_OBJECT’ with no type
ColorLabel.h:8: error: expected ‘;’ before ‘public’
ColorLabel.h:10: error: expected `:' before ‘slots’
ColorLabel.h:11: error: expected primary-expression before ‘void’
ColorLabel.h:11: error: ISO C++ forbids declaration of ‘slots’ with no type
ColorLabel.h:11: error: expected ‘;’ before ‘void’
ColorLabel.cpp:3: error: expected `)' before ‘*’ token
ColorLabel.cpp:7: error: no ‘void QColorLabel::incrHue()’ member function declared in class ‘QColorLabel’
ColorLabel.cpp: In member function ‘void QColorLabel::incrHue()’:
ColorLabel.cpp:10: error: ‘QColor’ was not declared in this scope
ColorLabel.cpp:10: error: expected `;' before ‘backColor’
ColorLabel.cpp:11: error: ‘backColor’ was not declared in this scope
ColorLabel.cpp:12: error: ‘QPalette’ has not been declared
ColorLabel.cpp:12: error: ‘setBackgroundRole’ was not declared in this scope
ColorLabel.cpp:13: error: ‘QPalette’ has not been declared
ColorLabel.cpp:13: error: ‘setForegroundRole’ was not declared in this scope
ColorLabel.cpp:14: error: expected `;' before ‘foreColor’
ColorLabel.cpp:15: error: ‘foreColor’ was not declared in this scope
ColorLabel.cpp:16: error: ‘QPalette’ was not declared in this scope
ColorLabel.cpp:16: error: ‘setPalette’ was not declared in this scope
make: *** [ColorLabel.o] Fehler 1
HobbyBlobby@FelixLinuxPC:~/Desktop/Spaß> make
g++ -c -pipe -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fno-strict-aliasing -Wall -W -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fno-strict-aliasing  -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT -I/usr/lib/qt3/mkspecs/default -I. -I. -I/usr/include -I/usr/lib/qt3/include -o ColorLabel.o ColorLabel.cpp
In file included from ColorLabel.cpp:1:
ColorLabel.h:3:18: error: QtCore: Datei oder Verzeichnis nicht gefunden
ColorLabel.h:4:17: error: QtGui: Datei oder Verzeichnis nicht gefunden
ColorLabel.h:6: error: expected class-name before ‘{’ token
ColorLabel.h:7: error: ISO C++ forbids declaration of ‘Q_OBJECT’ with no type
ColorLabel.h:8: error: expected ‘;’ before ‘public’
ColorLabel.h:10: error: expected `:' before ‘slots’
ColorLabel.h:11: error: expected primary-expression before ‘void’
ColorLabel.h:11: error: ISO C++ forbids declaration of ‘slots’ with no type
ColorLabel.h:11: error: expected ‘;’ before ‘void’
ColorLabel.cpp:3: error: expected `)' before ‘*’ token
ColorLabel.cpp:7: error: no ‘void QColorLabel::incrHue()’ member function declared in class ‘QColorLabel’
ColorLabel.cpp: In member function ‘void QColorLabel::incrHue()’:
ColorLabel.cpp:10: error: ‘QColor’ was not declared in this scope
ColorLabel.cpp:10: error: expected `;' before ‘backColor’
ColorLabel.cpp:11: error: ‘backColor’ was not declared in this scope
ColorLabel.cpp:12: error: ‘QPalette’ has not been declared
ColorLabel.cpp:12: error: ‘setBackgroundRole’ was not declared in this scope
ColorLabel.cpp:13: error: ‘QPalette’ has not been declared
ColorLabel.cpp:13: error: ‘setForegroundRole’ was not declared in this scope
ColorLabel.cpp:14: error: expected `;' before ‘foreColor’
ColorLabel.cpp:15: error: ‘foreColor’ was not declared in this scope
ColorLabel.cpp:16: error: ‘QPalette’ was not declared in this scope
ColorLabel.cpp:16: error: ‘setPalette’ was not declared in this scope
make: *** [ColorLabel.o] Fehler 1