Bump MODULE_VERSION to 5.1.1

Change-Id: I27019a0056156434a1151c09b3d5b38eba23897e
Reviewed-by: Laszlo Papp <lpapp@kde.org>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Merge remote-tracking branch 'origin/release' into stable

Change-Id: I08b51226675178ae62fa93c91bc8dd04d18bd62f
Use debug_and_release_target for mixed release and build selection

It is more appropriate as it is a more abstract use case than just tightening it
to Windows.

Change-Id: I60d0ea472299b3048ad6762512d632d010366f95
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Fix an erratic name of enum "Rate" on "BaudRate" in Q_ENUMS macro

Change-Id: I74ceefbb108c142fe260a5c86a9f610b0de91cde
Reviewed-by: Laszlo Papp <lpapp@kde.org>
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Enums intended as flags is moved to Q_FLAGS() macro

Task-number: QTBUG-31964
Change-Id: I771ace406cc549e9c48d84fe90974487202ee14b
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Reviewed-by: Laszlo Papp <lpapp@kde.org>
Add property to set exclusivity

Disabling the serial port driver's exclusive mode is necessary for
pseudo serial ports and some USB/serial adapters to work correctly.

Change-Id: I74d45feed619817b61e265b00aec8b0ebfae7a33
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Merge branch 'release' into stable

Change-Id: I82f533fb54d2c32ab0831f709320d2044eccc70e
Use consistent style for local const

Should be:

* consistent name with the rest
* static as it is used only once inside the desired method
* const int instead of enum for sanity and consistency

Change-Id: I7a7a7b894a559d03b02a4358c87c464045950253
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Add a missing space to the code

Change-Id: I8e97e51801dbef8154f2dcba1bd2b9464486eccf
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Add more "See also" references for the serial port info documentation

Change-Id: I90fbcd6ce4f88869528ea8757aa7dd428c3adaa3
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Revert "Add property to set exclusivity"

This reverts commit 4c67500e5d14e561e37b4bdc056f059d3eefdfa4.

"dev: unfrozen branch, containing alpha-quality code that is ready to go into
beta testing at any time"

... from: http://qt-project.org/wiki/Branch-Guidelines

Please respect the basic principles. In doubts, do not approve changes yourself,
but ask for help.

Besides the illegit nature of this change, it has fundamental documentation
issues as well. It is summer, and this can wait until 5.2, so please do /not/
rush with approvals.

Change-Id: Ic2763394035c776088cb28f9c04086920cedb3a2
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Use QT_INSTALL_HEADERS instead of QT_INSTALL_PREFIX/include

It is more accurate this way as there might be scenarios, like Red Hat, where
the headers are not installed into $$QT_INSTALL_PREFIX/include.

Task-number: QTBUG-31966
Change-Id: I4be31a4b218aed008fecba81e8d2b91616cea370
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>