For Qt5,
@
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
@
equals
@
QT += widgets
@
which is needed when you using QtWidgets module.
@
CONFIG -= app_bundle
@
is needed when you don't want to create a app bundle. For example, when you create a console application.