Fix check whether PE file is a debug build for MinGW

Use code inspired by objdump / pfd library to decide
whether a MinGW PE file is a debug build, or not.

Task-number: QTBUG-38160
Change-Id: If6b6136238eb7962a948ea7168fb3a8f8f87e323
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
androiddeployqt: Escape arguments to shell tools

Code is borrowed from qmake to escape and quote arguments passed
to shell tools as needed.

Task-number: QTBUG-38249
Change-Id: I4932df3963b0c1706374b4ba78c5e23c8e3304d2
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
Include CMakeParseArguments in Qt5LinguistToolsMacros.cmake

This is shipped with CMake 2.8.3, which is the minimum version of
CMake required anyway.

Task-number: QTBUG-38375
Change-Id: I48c155f9532fafe2b91544a93cf489f238f0b9d9
Reviewed-by: Volker Krause <volker.krause@kdab.com>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
CMake: Check that executables in the linguist package exist before use.

Change-Id: Ifaaff157a836e3ebfb94b563631b65a226ed0d8c
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
CMake: Add a lconvert IMPORTED target.

Task-number: QTBUG-37937
Change-Id: I3d389f8a96b04b8d94d13990d55a88bb5637a1e3
Reviewed-by: Volker Krause <volker.krause@kdab.com>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
CMake: Add an IMPORTED target for qcollectiongenerator.

This makes it easier to generate assistant documentation with
Sphinx, for example.

Change-Id: Idb45ec47f3c2bcf8a6df313380abf71a4c5a7da5
Reviewed-by: Volker Krause <volker.krause@kdab.com>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Polish qtdiag.

Add missing platform capabilities, style hints.
Output network configuration, add command line
option for GL extensions.

Change-Id: I98277bcc0df578381cfd13d80e3ed60156769799
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>