Qt 4: Refactor the shell handling for header generation


It does not make much sense to use branches for only a minor difference, hence
there is now a precheck for the host os and the quote variable is set
accordingly.

This is a slightly modified version of what QtCreator's qtcreator.pro is using.
Basically, single quote is used here for the quote variable rather than double
quote as double quote is causing issues at least on my machine.

Task-number: QTBUG-33125
Change-Id: I9eb0a0a62e1404a095cfc3b1bd68c519552d23b8
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
commit3ce7f4bd74ab46d1c01f15ce037af2b69058f881
parentd8dc10efb1714dcfafa6a08e107fd31fc1e3ce0e
authorLaszlo Papp <lpapp@kde.org>
committerThe Qt Project <gerrit-noreply@qt-project.org>
commit timeFri, 23 Aug 2013 10:37:46 +0200