I happened to come across this post while following the same tutorial, and I've managed to make it compile and run through some trial and error.
What ended up working for me was ignoring the changes the guide makes in lightingwidget.h, and other than that just following the tutorial. I ended up having a missing library (libglu), but after installing that everything compiled fine and works as expected.
Hope you can get it to work too.