Tack så jätte mycket för hjälp, jag var tvungen att lägga till libplasma-dev så funkade det
men nu fastnade jag vid nästa steg

när jag skriver in
så får jag
Kod: Markera allt
[ 12%] Generating plasma_applet_am3rok_automoc.cpp
Generating infodisplay.moc
Generating infowidget.moc
Generating infodialog.moc
Generating buttonwidget.moc
Generating amarok_client.moc
Generating infowidgetplasma.moc
Scanning dependencies of target plasma_applet_am3rok
[ 25%] Building CXX object CMakeFiles/plasma_applet_am3rok.dir/plasma_applet_am3rok_automoc.o
[ 37%] Building CXX object CMakeFiles/plasma_applet_am3rok.dir/amarok_client.o
In file included from /home/evil-duck/plasma-am3rok-0.4/amarok_client.cpp:28:
/home/evil-duck/plasma-am3rok-0.4/amarok_client.hpp:31:33: error: QGraphicsLinearLayout: No such file or directory
In file included from /home/evil-duck/plasma-am3rok-0.4/amarok_client.cpp:29:
/home/evil-duck/plasma-am3rok-0.4/buttonwidget.hpp:37:27: error: QGraphicsWidget: No such file or directory
In file included from /home/evil-duck/plasma-am3rok-0.4/amarok_client.cpp:28:
/home/evil-duck/plasma-am3rok-0.4/amarok_client.hpp:71: error: ISO C++ forbids declaration of ‘QGraphicsLinearLayout’ with no type
/home/evil-duck/plasma-am3rok-0.4/amarok_client.hpp:71: error: expected ‘;’ before ‘*’ token
In file included from /home/evil-duck/plasma-am3rok-0.4/amarok_client.cpp:29:
/home/evil-duck/plasma-am3rok-0.4/buttonwidget.hpp:43: error: expected class-name before ‘{’ token
/home/evil-duck/plasma-am3rok-0.4/buttonwidget.hpp:48: error: expected `)' before ‘*’ token
/home/evil-duck/plasma-am3rok-0.4/buttonwidget.hpp:57: error: ‘Qt::SizeHint’ has not been declared
/home/evil-duck/plasma-am3rok-0.4/buttonwidget.hpp:66: error: ISO C++ forbidsdeclaration of ‘QGraphicsLinearLayout’ with no type
/home/evil-duck/plasma-am3rok-0.4/buttonwidget.hpp:66: error: expected ‘;’ before ‘*’ token
/home/evil-duck/plasma-am3rok-0.4/buttonwidget.hpp:43: warning: ‘class ButtonWidget’ has virtual functions but non-virtual destructor
In file included from /home/evil-duck/plasma-am3rok-0.4/amarok_client.cpp:30:
/home/evil-duck/plasma-am3rok-0.4/infowidgetplasma.hpp:44: error: expected `)' before ‘*’ token
/home/evil-duck/plasma-am3rok-0.4/infowidgetplasma.hpp:46: error: ‘Qt::SizeHint’ has not been declared
/home/evil-duck/plasma-am3rok-0.4/amarok_client.cpp: In constructor ‘AmarokClient::AmarokClient(QObject*, const QVariantList&)’:
/home/evil-duck/plasma-am3rok-0.4/amarok_client.cpp:49: error: ‘IgnoreAspectRatio’ is not a member of ‘Plasma’
/home/evil-duck/plasma-am3rok-0.4/amarok_client.cpp:49: error: ‘setAspectRatioMode’ was not declared in this scope
/home/evil-duck/plasma-am3rok-0.4/amarok_client.cpp: In member function ‘virtual void AmarokClient::init()’:
/home/evil-duck/plasma-am3rok-0.4/amarok_client.cpp:57: error: ‘main_layout’ was not declared in this scope
/home/evil-duck/plasma-am3rok-0.4/amarok_client.cpp:57: error: expected type-specifier before ‘QGraphicsLinearLayout’
/home/evil-duck/plasma-am3rok-0.4/amarok_client.cpp:57: error: expected `;' before ‘QGraphicsLinearLayout’
/home/evil-duck/plasma-am3rok-0.4/amarok_client.cpp:63: error: no matching function for call to ‘ButtonWidget::ButtonWidget(AmarokClient* const)’
/home/evil-duck/plasma-am3rok-0.4/buttonwidget.hpp:43: note: candidates are: ButtonWidget::ButtonWidget()
/home/evil-duck/plasma-am3rok-0.4/buttonwidget.hpp:43: note: ButtonWidget::ButtonWidget(const ButtonWidget&)
/home/evil-duck/plasma-am3rok-0.4/amarok_client.cpp:65: error: no matching function for call to ‘AmarokClient::connect(ButtonWidget*&, const char [32], AmarokClient* const, const char [30])’
/usr/include/qt4/QtCore/qobject.h:196: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
/usr/include/qt4/QtCore/qobject.h:297: note: bool QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
/home/evil-duck/plasma-am3rok-0.4/amarok_client.cpp:72: error: no matching function for call to ‘InfoWidgetPlasma::InfoWidgetPlasma(AmarokClient* const)’
/home/evil-duck/plasma-am3rok-0.4/infowidgetplasma.hpp:39: note: candidates are: InfoWidgetPlasma::InfoWidgetPlasma()
/home/evil-duck/plasma-am3rok-0.4/infowidgetplasma.hpp:39: note: InfoWidgetPlasma::InfoWidgetPlasma(const InfoWidgetPlasma&)
/home/evil-duck/plasma-am3rok-0.4/amarok_client.cpp: In member function ‘voidAmarokClient::recalculateGeometry()’:
/home/evil-duck/plasma-am3rok-0.4/amarok_client.cpp:114: error: ‘contentsRect’ was not declared in this scope
/home/evil-duck/plasma-am3rok-0.4/amarok_client.cpp:129: error: ‘getContentsMargins’ was not declared in this scope
/home/evil-duck/plasma-am3rok-0.4/amarok_client.cpp:150: error: ‘setPreferredSize’ was not declared in this scope
/home/evil-duck/plasma-am3rok-0.4/amarok_client.cpp: In member function ‘voidAmarokClient::constraintsEvent(Plasma::Constraints)’:
/home/evil-duck/plasma-am3rok-0.4/amarok_client.cpp:160: error: ‘setSizePolicy’ was not declared in this scope
/home/evil-duck/plasma-am3rok-0.4/amarok_client.cpp:161: error: ‘setMinimumWidth’ was not declared in this scope
/home/evil-duck/plasma-am3rok-0.4/amarok_client.cpp:164: error: ‘setSizePolicy’ was not declared in this scope
/home/evil-duck/plasma-am3rok-0.4/amarok_client.cpp:165: error: ‘setMinimumHeight’ was not declared in this scope
/home/evil-duck/plasma-am3rok-0.4/amarok_client.cpp:168: error: ‘setSizePolicy’ was not declared in this scope
/home/evil-duck/plasma-am3rok-0.4/amarok_client.cpp: In member function ‘virtual void AmarokClient::mousePressEvent(QGraphicsSceneMouseEvent*)’:
/home/evil-duck/plasma-am3rok-0.4/amarok_client.cpp:256: error: ‘contentsRect’ was not declared in this scope
make[2]: *** [CMakeFiles/plasma_applet_am3rok.dir/amarok_client.o] Error 1
make[1]: *** [CMakeFiles/plasma_applet_am3rok.dir/all] Error 2
make: *** [all] Error 2
hehe känns lite som murphys law det här
ber om ursäkt för all besvär
