Why do you want to build static Qt from the SDK? Download source code for the libraries and have fun.