Enable autodetection of VxWorks fb driver for available qt-gfx list

If the VxWorks drivers are in the source tree, show them as available.
Not applicable to Qt5 as it does not have anymore QWS.

Change-Id: I0005f9d67922679a102b5b69f4c7051afef60ba2
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
QLocale: Update the Japanese and Czech locale

- Japanese locale: Year should be displayed in 4 digits instead of 2 in short format
- Czech locale: monthName should be displayed in lower case

N.B: The changes above are already fixed on Qt 5 that uses an updated version (v22.1) of CLDR

Change-Id: I40535ea60b1f6abdd3717a28adbcddaa63b39997
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Cocoa: Do not use NSOpenGLPFAAccelerated flag for GL context

The NSOpenGLPFAAccelerated flag indicates that only hardware-accelerated
renderers are considered. It is used when direct rendering is enabled in
QGLFormat. As direct rendering is enabled by default in QGLFormat, this
prevents software rendering fallback if no hardware acceleration is
available.

Task-number: QTBUG-29641
Change-Id: I438bd5ce4e803962fd68c7e9d79f40840760e2d5
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Strip prepending <hostname>: string from currentPath() for VxSim

VxWorks simulator (VxSim) maps SDK rootdir usable as normal directory.
Mapped directory name is either host: or <hostname>: and can be used
without prepending prefix containing colon. Strip prepending string and
colon to get valid native path to host SDK rootdir running VxSim.

Change-Id: I15f4bf4d9eb2cea87268bad9b1a95973962cb2c8
(cherry picked from qtbase/cd5a4279f38ac6cca8ff8da4d75c2577d9b0bbcd)
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Create default install prefix location for QtEmbedded with VxWorks

VxWorks has two different targets (modes) for which Qt can be build.
DKM mode is static build and RTP is using shared libraries. Distinguish
these two if we are creating default install prefix. Not applicable to
Qt5 as it does not anymore make separation for QtEmbedded build.

Change-Id: Icaff82a1d3078e8882ae5dbe9b2e60bc4a419b66
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Fixed checking HOME variable return value using isEmpty()

Return value of the QFile::decodeName(qgetenv("HOME")); is never null
if HOME environment variable is not set. So need to check the return
value using isEmpty() instead.

Task-number: QTBUG-28912

Change-Id: I7875520965bf2c0c7311fb051c1f5177e9c3685b
(cherry picked from qtbase/05b4000e01ff5785739617c3069fbe0b0d36a606)
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Doc: Edited Qt Help page and clarified .qhp file location.

-replaced "html" with "HTML"
-noted that the .qhp files are in the HTML directories

Task-number: QTBUG-29576
Change-Id: I6c6925465ae370d6796657057eb3c4bf7bf5ab47
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Reviewed-by: Gatis Paeglis <gatis.paeglis@digia.com>
Ensure that pixels is only freed if there was no CGImage for it

If there was a CGImage that was using the same pixel data then when it
is released it will also free the pixel data. So don't release it a
second time in that case.

Change-Id: I7d0f3fcbaeb137328acc71783be4e4cee33ce001
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>