qmake is not a compiler. It just creates the make files (depending on the used mkspec it generates the make file for different compilers.)
If the code you have posted is optimized depends on your compiler. But you can make a simple program, compile it and see yourself in the assembler code.
Bookmarks