Try to build Qt from source directory because I have problems with building Qt outside sources.