Tim, Serghei,
I ran into another constructor error on kpowersave in countdown_Dialog.cpp. This one isn't quite the same as the normal class::class problem (the error looks the same, but the code doesn't)
Here is the error:
[ 14%] Building CXX object src/CMakeFiles/kdeinit_kpowersave-shared.dir/countdown_Dialog.cpp.o cd /home/david/tblds/trinity-app-kpowersave/src/kpowersave/src && /usr/bin/c++ -Dkdeinit_kpowersave_shared_EXPORTS -DHAVE_CONFIG_H -DUSE_QT3 -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -march=x86-64 -mtune=generic -O2 -pipe -include tqt.h -fPIC -I/home/david/tblds/trinity-app-kpowersave/src/kpowersave/src -I/home/david/tblds/trinity-app-kpowersave/src/kpowersave -I/opt/trinity/include -I/opt/qt/include -I/opt/qt/include/tqt -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/hal -o CMakeFiles/kdeinit_kpowersave-shared.dir/countdown_Dialog.cpp.o -c /home/david/tblds/trinity-app-kpowersave/src/kpowersave/src/countdown_Dialog.cpp /home/david/tblds/trinity-app-kpowersave/src/kpowersave/src/countdown_Dialog.cpp: In constructor ‘countdown_Dialog::countdown_Dialog(QWidget*, const char*, bool, Qt::WFlags)’: /home/david/tblds/trinity-app-kpowersave/src/kpowersave/src/countdown_Dialog.cpp:170:54: error: invalid use of incomplete type ‘struct KProgress’ /home/david/tblds/trinity-app-kpowersave/src/kpowersave/src/countdown_Dialog.h:23:7: error: forward declaration of ‘struct KProgress’ /home/david/tblds/trinity-app-kpowersave/src/kpowersave/src/countdown_Dialog.cpp:171:16: error: invalid use of incomplete type ‘struct KProgress’ /home/david/tblds/trinity-app-kpowersave/src/kpowersave/src/countdown_Dialog.h:23:7: error: forward declaration of ‘struct KProgress’ /home/david/tblds/trinity-app-kpowersave/src/kpowersave/src/countdown_Dialog.cpp:171:115: error: invalid use of incomplete type ‘struct KProgress’ /home/david/tblds/trinity-app-kpowersave/src/kpowersave/src/countdown_Dialog.h:23:7: error: forward declaration of ‘struct KProgress’ /home/david/tblds/trinity-app-kpowersave/src/kpowersave/src/countdown_Dialog.cpp:172:16: error: invalid use of incomplete type ‘struct KProgress’ /home/david/tblds/trinity-app-kpowersave/src/kpowersave/src/countdown_Dialog.h:23:7: error: forward declaration of ‘struct KProgress’ /home/david/tblds/trinity-app-kpowersave/src/kpowersave/src/countdown_Dialog.cpp:174:73: error: no matching function for call to ‘QGridLayout::addMultiCellWidget(KProgress*&, int, int, int, int)’ /opt/qt/include/qlayout.h:332:10: note: candidate is: void QGridLayout::addMultiCellWidget(QWidget*, int, int, int, int, int) make[2]: *** [src/CMakeFiles/kdeinit_kpowersave-shared.dir/countdown_Dialog.cpp.o] Error 1 make[2]: Leaving directory `/home/david/tblds/trinity-app-kpowersave/src/kpowersave' make[1]: *** [src/CMakeFiles/kdeinit_kpowersave-shared.dir/all] Error 2 make[1]: Leaving directory `/home/david/tblds/trinity-app-kpowersave/src/kpowersave' make: *** [all] Error 2 Aborting...
Dunno what changed, it was building fine a day or two ago :)