Improved qmake project files with debug and release tmp object dirs.
Moved common settings into one pri file.
Fixed uninitialized variable.