5. At the top of the qmake.conf, there is a configure line. Copy and paste the configure line into a text file located in your build build directory. Edit the configure line to find your toolchain and filesystem. Also make sure to include the options -no-pch, -no-opengl, -opengl es2, Here is an example of a configure line.
Update: In the latest Qt5 stable, the option to compile the examples/demos is -compile-examples, instead of -make examples -make demos
If you are running into problems with webkit, use the option -no-icu, this will disable the webkit.