summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.qmake.conf2
-rw-r--r--configure.pri10
-rw-r--r--src/plugins/platforms/vnc/qvnc.cpp6
3 files changed, 11 insertions, 7 deletions
diff --git a/.qmake.conf b/.qmake.conf
index 16b4b3995d..1e9cbe7c47 100644
--- a/.qmake.conf
+++ b/.qmake.conf
@@ -4,4 +4,4 @@ CONFIG += warning_clean
QT_SOURCE_TREE = $$PWD
QT_BUILD_TREE = $$shadowed($$PWD)
-MODULE_VERSION = 5.9.6
+MODULE_VERSION = 5.9.7
diff --git a/configure.pri b/configure.pri
index dc703ecb14..f53d6c1b04 100644
--- a/configure.pri
+++ b/configure.pri
@@ -677,10 +677,14 @@ defineReplace(printHostPaths) {
defineTest(qtConfOutput_preparePaths) {
isEmpty(config.input.prefix) {
- $$qtConfEvaluate("features.developer-build"): \
+ $$qtConfEvaluate("features.developer-build") {
config.input.prefix = $$QT_BUILD_TREE # In Development, we use sandboxed builds by default
- else: \
- config.input.prefix = /usr/local/Qt-$$[QT_VERSION]
+ } else {
+ win32: \
+ config.input.prefix = C:/Qt/Qt-$$[QT_VERSION]
+ else: \
+ config.input.prefix = /usr/local/Qt-$$[QT_VERSION]
+ }
have_prefix = false
} else {
config.input.prefix = $$absolute_path($$config.input.prefix, $$OUT_PWD)
diff --git a/src/plugins/platforms/vnc/qvnc.cpp b/src/plugins/platforms/vnc/qvnc.cpp
index fa65e8c9a4..79cdef6f52 100644
--- a/src/plugins/platforms/vnc/qvnc.cpp
+++ b/src/plugins/platforms/vnc/qvnc.cpp
@@ -551,9 +551,9 @@ void QVncClientCursor::write(QVncClient *client) const
{
const quint16 tmp[6] = { htons(0),
htons(1),
- htons(hotspot.x()), htons(hotspot.y()),
- htons(cursor.width()),
- htons(cursor.height()) };
+ htons(uint16_t(hotspot.x())), htons(uint16_t(hotspot.y())),
+ htons(uint16_t(cursor.width())),
+ htons(uint16_t(cursor.height())) };
socket->write((char*)tmp, sizeof(tmp));
const qint32 encoding = qToBigEndian(-239);