update qmake project file template

# added in macx condition for mac.
# note there is a bug with Qt5 on mac with C++11 initializer_list.