Skip qt4support when generating documentation.

Fix warnings:
qtserialport/src/serialport/qt4support/src/qlockfile.cpp:57: warning: Overrides a previous doc
qtbase/src/corelib/io/qlockfile.h:53: warning: (The previous doc is here)

Change-Id: I75c93fd6dbd9bebfa506b2f606aeb8511a892305
Reviewed-by: Laszlo Papp <lpapp@kde.org>
Remove the noisy comments from the terminal example

If anything, this should be made clear in a different way, like proper variable
names, inline convenience functions for naming, example documentation extension,
and so on.

This is also consistent with the other examples not using "water can" comments.

However, these comments mostly add noise to the code without much benefit as far
as I can tell.

Change-Id: I9c4121d91ca2671d44c08cf986232422f136a785
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Don't remove -framework on Mac.

"LIBS -= -framework QtSerialPort" removes all occurrences of -framework
which breaks the build if you use a framework together with QtSerialPort.
To avoid this we skip the call to qtAddLibrary under Mac.

Task-number: QTBUG-37989
Change-Id: I53b71ad433e93c8c59d17c526ef2424db47bca15
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Reviewed-by: Laszlo Papp <lpapp@kde.org>