Added optimization to qmake file and documentation.