Image 01
profile-image

chris0c0hogan

Christopher Hogan
Plasma WiFi

Plasma 4 Extensions by ochoha 52 comments

I made it a but further by modifying the CMakeLists.txt. However, now I get:

make
Scanning dependencies of target plasma_applet_wifi_signal_automoc
Generating plasma-wifi-signal.moc
[ 0%] Built target plasma_applet_wifi_signal_automoc
Scanning dependencies of target plasma_applet_wifi_signal
[ 50%] Building CXX object CMakeFiles/plasma_applet_wifi_signal.dir/plasma_applet_wifi_signal_automoc.o
[100%] Building CXX object CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o
Linking CXX shared module lib/plasma_applet_wifi_signal.so
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o: In function `Plasma_WiFi_Signal_Strength::qt_metacast(char const*)':
/home/krit/Documents/downloads/kde4/plasmoids/plasma-wifi-0.5/plasma-wifi-signal.moc:58: undefined reference to `Plasma::Applet::qt_metacast(char const*)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o: In function `~Plasma_WiFi_Signal_Strength':
/home/krit/Documents/downloads/kde4/plasmoids/plasma-wifi-0.5/plasma-wifi-signal.cpp:48: undefined reference to `Plasma::Applet::~Applet()'
/home/krit/Documents/downloads/kde4/plasmoids/plasma-wifi-0.5/plasma-wifi-signal.cpp:48: undefined reference to `Plasma::Applet::~Applet()'
/home/krit/Documents/downloads/kde4/plasmoids/plasma-wifi-0.5/plasma-wifi-signal.cpp:48: undefined reference to `Plasma::Applet::~Applet()'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o: In function `Plasma_WiFi_Signal_Strength':
/home/krit/Documents/downloads/kde4/plasmoids/plasma-wifi-0.5/plasma-wifi-signal.cpp:37: undefined reference to `Plasma::Applet::Applet(QObject*, QList<QVariant> const&)'
/home/krit/Documents/downloads/kde4/plasmoids/plasma-wifi-0.5/plasma-wifi-signal.cpp:37: undefined reference to `Plasma::Applet::Applet(QObject*, QList<QVariant> const&)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o: In function `Plasma_WiFi_Signal_Strength::qt_metacall(QMetaObject::Call, int, void**)':
/home/krit/Documents/downloads/kde4/plasmoids/plasma-wifi-0.5/plasma-wifi-signal.moc:64: undefined reference to `Plasma::Applet::qt_metacall(QMetaObject::Call, int, void**)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o: In function `Plasma_WiFi_Signal_Strength::paintAntenna(QPainter*, QRect const&)':
/home/krit/Documents/downloads/kde4/plasmoids/plasma-wifi-0.5/plasma-wifi-signal.cpp:122: undefined reference to `Plasma::Svg::Svg(QObject*)'
/home/krit/Documents/downloads/kde4/plasmoids/plasma-wifi-0.5/plasma-wifi-signal.cpp:123: undefined reference to `Plasma::Svg::setImagePath(QString const&)'
/home/krit/Documents/downloads/kde4/plasmoids/plasma-wifi-0.5/plasma-wifi-signal.cpp:124: undefined reference to `Plasma::Svg::setContainsMultipleImages(bool)'
/home/krit/Documents/downloads/kde4/plasmoids/plasma-wifi-0.5/plasma-wifi-signal.cpp:127: undefined reference to `Plasma::Svg::hasElement(QString const&) const'
/home/krit/Documents/downloads/kde4/plasmoids/plasma-wifi-0.5/plasma-wifi-signal.cpp:155: undefined reference to `Plasma::Svg::hasElement(QString const&) const'
/home/krit/Documents/downloads/kde4/plasmoids/plasma-wifi-0.5/plasma-wifi-signal.cpp:156: undefined reference to `Plasma::Svg::paint(QPainter*, QRectF const&, QString const&)'
/home/krit/Documents/downloads/kde4/plasmoids/plasma-wifi-0.5/plasma-wifi-signal.cpp:128: undefined reference to `Plasma::Svg::paint(QPainter*, QRectF const&, QString const&)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro+0x0): undefined reference to `Plasma::Applet::staticMetaObject'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0x20): undefined reference to `Plasma::Applet::eventFilter(QObject*, QEvent*)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0x24): undefined reference to `Plasma::Applet::timerEvent(QTimerEvent*)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0x40): undefined reference to `Plasma::Applet::type() const'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0x44): undefined reference to `Plasma::Applet::paint(QPainter*, QStyleOptionGraphicsItem const*, QWidget*)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0x48): undefined reference to `Plasma::Applet::paintWindowFrame(QPainter*, QStyleOptionGraphicsItem const*, QWidget*)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0x50): undefined reference to `Plasma::Applet::shape() const'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0x58): undefined reference to `Plasma::Applet::sizeHint(Qt::SizeHint, QSizeF const&) const'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0x60): undefined reference to `Plasma::Applet::itemChange(QGraphicsItem::GraphicsItemChange, QVariant const&)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0x7c): undefined reference to `Plasma::Applet::focusInEvent(QFocusEvent*)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0x94): undefined reference to `Plasma::Applet::resizeEvent(QGraphicsSceneResizeEvent*)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0xa0): undefined reference to `Plasma::Applet::hoverLeaveEvent(QGraphicsSceneHoverEvent*)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0xb4): undefined reference to `Plasma::Applet::save(KConfigGroup&) const'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0xb8): undefined reference to `Plasma::Applet::restore(KConfigGroup&)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0xbc): undefined reference to `Plasma::Applet::formFactor() const'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0xc0): undefined reference to `Plasma::Applet::location() const'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0xc8): undefined reference to `Plasma::Applet::contextualActions()'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0xcc): undefined reference to `Plasma::Applet::isPopupShowing() const'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0xd0): undefined reference to `Plasma::Applet::addAssociatedWidget(QWidget*)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0xd4): undefined reference to `Plasma::Applet::removeAssociatedWidget(QWidget*)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0xd8): undefined reference to `Plasma::Applet::initExtenderItem(Plasma::ExtenderItem*)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0xdc): undefined reference to `Plasma::Applet::createConfigurationInterface(KConfigDialog*)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0xe0): undefined reference to `Plasma::Applet::destroy()'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0xe4): undefined reference to `Plasma::Applet::showConfigurationInterface()'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0xec): undefined reference to `Plasma::Applet::configChanged()'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0xf0): undefined reference to `Plasma::Applet::saveState(KConfigGroup&) const'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0xf4): undefined reference to `Plasma::Applet::constraintsEvent(QFlags<Plasma::Constraint>)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0xf8): undefined reference to `Plasma::Applet::sceneEventFilter(QGraphicsItem*, QEvent*)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0xfc): undefined reference to `Plasma::Applet::mouseMoveEvent(QGraphicsSceneMouseEvent*)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0x100): undefined reference to `Plasma::Applet::hoverEnterEvent(QGraphicsSceneHoverEvent*)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0x11c): undefined reference to `non-virtual thunk to Plasma::Applet::shape() const'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0x134): undefined reference to `non-virtual thunk to Plasma::Applet::paint(QPainter*, QStyleOptionGraphicsItem const*, QWidget*)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0x138): undefined reference to `non-virtual thunk to Plasma::Applet::type() const'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0x13c): undefined reference to `non-virtual thunk to Plasma::Applet::sceneEventFilter(QGraphicsItem*, QEvent*)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0x158): undefined reference to `non-virtual thunk to Plasma::Applet::focusInEvent(QFocusEvent*)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0x160): undefined reference to `non-virtual thunk to Plasma::Applet::hoverEnterEvent(QGraphicsSceneHoverEvent*)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0x168): undefined reference to `non-virtual thunk to Plasma::Applet::hoverLeaveEvent(QGraphicsSceneHoverEvent*)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0x178): undefined reference to `non-virtual thunk to Plasma::Applet::mouseMoveEvent(QGraphicsSceneMouseEvent*)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0x190): undefined reference to `non-virtual thunk to Plasma::Applet::itemChange(QGraphicsItem::GraphicsItemChange, QVariant const&)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0x1bc): undefined reference to `non-virtual thunk to Plasma::Applet::sizeHint(Qt::SizeHint, QSizeF const&) const'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTI27Plasma_WiFi_Signal_Strength[typeinfo for Plasma_WiFi_Signal_Strength]+0x8): undefined reference to `typeinfo for Plasma::Applet'
collect2: ld returned 1 exit status
make[2]: *** [lib/plasma_applet_wifi_signal.so] Error 1
make[1]: *** [CMakeFiles/plasma_applet_wifi_signal.dir/all] Error 2
make: *** [all] Error 2
loft plasma-wifi-0.5 #


QT: 4.4.2
KDELIBS: 4.2.0-r3
OS: Gentoo

I'd really like to get this applet back!

Thanks,

Chris - Mar 02 2009