QT4 problem link already exist in the guide.
You right
However the problem with "cannot find -lqjpeg" does not. Furthermore the fix (comment out Q_IMPORT_PLUGIN(qjpeg) in qt4.cpp) does help for the GIT version of VLC (it the very last, right?), but does NOT for vlc-0.9.8a. Any ideas?