Hi! First I wonder, is qmake a compiler or does it just create makefiles that it uses when compiling the code with another compiler, say gcc or mingw? My second question is, does qmake optimize multiplication/division by one? That is, if I write

Qt Code:
  1. a = one * b;
To copy to clipboard, switch view to plain text mode 
or

Qt Code:
  1. a = b * one;
To copy to clipboard, switch view to plain text mode 
or

Qt Code:
  1. a = b / one;
To copy to clipboard, switch view to plain text mode 
, is this optimized to just

Qt Code:
  1. a = b;
To copy to clipboard, switch view to plain text mode 
? Here, "one" is either a define or a const that is set to one. Also, does it depend on whether a and b are float types, and on whether one is a float type?