Merge remote-tracking branch 'origin/5.10' into dev
Change-Id: I644cd82b0d952b7d139e0228bf5017f147db77e7
This commit is contained in:
commit
79dfc08437
Binary file not shown.
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 34 KiB |
0
src/corelib/io/qfilesystemengine_win.cpp
Executable file → Normal file
0
src/corelib/io/qfilesystemengine_win.cpp
Executable file → Normal file
@ -3751,8 +3751,7 @@ void QGuiApplication::restoreOverrideCursor()
|
||||
} else {
|
||||
if (QPlatformCursor::capabilities().testFlag(QPlatformCursor::OverrideCursor))
|
||||
clearOverrideCursor(QGuiApplicationPrivate::screen_list);
|
||||
else
|
||||
applyWindowCursor(QGuiApplicationPrivate::window_list);
|
||||
applyWindowCursor(QGuiApplicationPrivate::window_list);
|
||||
}
|
||||
}
|
||||
#endif// QT_NO_CURSOR
|
||||
|
@ -886,6 +886,8 @@ Q_GLOBAL_STATIC(QCocoaTabletDeviceDataHash, tabletDeviceDataHash)
|
||||
|
||||
- (bool)handleTabletEvent: (NSEvent *)theEvent
|
||||
{
|
||||
static bool ignoreButtonMapping = qEnvironmentVariableIsSet("QT_MAC_TABLET_IGNORE_BUTTON_MAPPING");
|
||||
|
||||
if (!m_platformWindow)
|
||||
return false;
|
||||
|
||||
@ -934,14 +936,15 @@ Q_GLOBAL_STATIC(QCocoaTabletDeviceDataHash, tabletDeviceDataHash)
|
||||
rotation -= 360.0;
|
||||
|
||||
Qt::KeyboardModifiers keyboardModifiers = [QNSView convertKeyModifiers:[theEvent modifierFlags]];
|
||||
Qt::MouseButtons buttons = ignoreButtonMapping ? static_cast<Qt::MouseButtons>(static_cast<uint>([theEvent buttonMask])) : m_buttons;
|
||||
|
||||
qCDebug(lcQpaTablet, "event on tablet %d with tool %d type %d unique ID %lld pos %6.1f, %6.1f root pos %6.1f, %6.1f buttons 0x%x pressure %4.2lf tilt %d, %d rotation %6.2lf",
|
||||
deviceId, deviceData.device, deviceData.pointerType, deviceData.uid,
|
||||
windowPoint.x(), windowPoint.y(), screenPoint.x(), screenPoint.y(),
|
||||
static_cast<uint>(m_buttons), pressure, xTilt, yTilt, rotation);
|
||||
static_cast<uint>(buttons), pressure, xTilt, yTilt, rotation);
|
||||
|
||||
QWindowSystemInterface::handleTabletEvent(m_platformWindow->window(), timestamp, windowPoint, screenPoint,
|
||||
deviceData.device, deviceData.pointerType, m_buttons, pressure, xTilt, yTilt,
|
||||
deviceData.device, deviceData.pointerType, buttons, pressure, xTilt, yTilt,
|
||||
tangentialPressure, rotation, z, deviceData.uid,
|
||||
keyboardModifiers);
|
||||
return true;
|
||||
|
@ -8,7 +8,7 @@ QT += \
|
||||
qtConfig(accessibility): QT += accessibility_support-private
|
||||
qtConfig(vulkan): QT += vulkan_support-private
|
||||
|
||||
LIBS += -ldwmapi -ld2d1 -ld3d11 -ldwrite -lVersion -lgdi32
|
||||
LIBS += -ldwmapi -ld2d1 -ld3d11 -ldwrite -lversion -lgdi32
|
||||
|
||||
include(../windows/windows.pri)
|
||||
|
||||
|
@ -59,6 +59,7 @@ Q_LOGGING_CATEGORY(lcQpaTablet, "qt.qpa.input.tablet")
|
||||
|
||||
+ (void)load
|
||||
{
|
||||
#ifndef Q_OS_TVOS
|
||||
if (QOperatingSystemVersion::current() < QOperatingSystemVersion(QOperatingSystemVersion::IOS, 11)) {
|
||||
// iOS 11 handles this though [UIView safeAreaInsetsDidChange], but there's no signal for
|
||||
// the corresponding top and bottom layout guides that we use on earlier versions. Note
|
||||
@ -73,6 +74,7 @@ Q_LOGGING_CATEGORY(lcQpaTablet, "qt.qpa.input.tablet")
|
||||
}
|
||||
];
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
+ (Class)layerClass
|
||||
|
@ -141,19 +141,17 @@ static QSet<QByteArray> keywords()
|
||||
#endif
|
||||
#ifdef Q_CC_MSVC
|
||||
<< "msvc"
|
||||
#ifdef _MSC_VER
|
||||
#if _MSC_VER == 1910
|
||||
<< "msvc-2017"
|
||||
#elif _MSC_VER == 1900
|
||||
<< "msvc-2015"
|
||||
#elif _MSC_VER == 1800
|
||||
<< "msvc-2013"
|
||||
#elif _MSC_VER == 1700
|
||||
<< "msvc-2012"
|
||||
#elif _MSC_VER == 1600
|
||||
# if _MSC_VER <= 1600
|
||||
<< "msvc-2010"
|
||||
#endif
|
||||
#endif
|
||||
# elif _MSC_VER <= 1700
|
||||
<< "msvc-2012"
|
||||
# elif _MSC_VER <= 1800
|
||||
<< "msvc-2013"
|
||||
# elif _MSC_VER <= 1900
|
||||
<< "msvc-2015"
|
||||
# else
|
||||
<< "msvc-2017"
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef Q_PROCESSOR_X86
|
||||
@ -163,7 +161,7 @@ static QSet<QByteArray> keywords()
|
||||
<< "arm"
|
||||
#endif
|
||||
|
||||
#ifdef Q_AUTOTEST_EXPORT
|
||||
#ifdef QT_BUILD_INTERNAL
|
||||
<< "developer-build"
|
||||
#endif
|
||||
;
|
||||
|
@ -3514,7 +3514,7 @@ int QTreeViewPrivate::itemAtCoordinate(int coordinate) const
|
||||
const int contentsCoordinate = coordinate + vbar->value();
|
||||
for (int viewItemIndex = 0; viewItemIndex < viewItems.count(); ++viewItemIndex) {
|
||||
viewItemCoordinate += itemHeight(viewItemIndex);
|
||||
if (viewItemCoordinate >= contentsCoordinate)
|
||||
if (viewItemCoordinate > contentsCoordinate)
|
||||
return (viewItemIndex >= itemCount ? -1 : viewItemIndex);
|
||||
}
|
||||
} else { // ScrollPerItem
|
||||
|
4594
tests/auto/bic/data/QtConcurrent.5.10.0.linux-gcc-amd64.txt
Normal file
4594
tests/auto/bic/data/QtConcurrent.5.10.0.linux-gcc-amd64.txt
Normal file
File diff suppressed because it is too large
Load Diff
4542
tests/auto/bic/data/QtCore.5.10.0.linux-gcc-amd64.txt
Normal file
4542
tests/auto/bic/data/QtCore.5.10.0.linux-gcc-amd64.txt
Normal file
File diff suppressed because it is too large
Load Diff
4881
tests/auto/bic/data/QtDBus.5.10.0.linux-gcc-amd64.txt
Normal file
4881
tests/auto/bic/data/QtDBus.5.10.0.linux-gcc-amd64.txt
Normal file
File diff suppressed because it is too large
Load Diff
8357
tests/auto/bic/data/QtGui.5.10.0.linux-gcc-amd64.txt
Normal file
8357
tests/auto/bic/data/QtGui.5.10.0.linux-gcc-amd64.txt
Normal file
File diff suppressed because it is too large
Load Diff
5379
tests/auto/bic/data/QtNetwork.5.10.0.linux-gcc-amd64.txt
Normal file
5379
tests/auto/bic/data/QtNetwork.5.10.0.linux-gcc-amd64.txt
Normal file
File diff suppressed because it is too large
Load Diff
19376
tests/auto/bic/data/QtOpenGL.5.10.0.linux-gcc-amd64.txt
Normal file
19376
tests/auto/bic/data/QtOpenGL.5.10.0.linux-gcc-amd64.txt
Normal file
File diff suppressed because it is too large
Load Diff
19627
tests/auto/bic/data/QtPrintSupport.5.10.0.linux-gcc-amd64.txt
Normal file
19627
tests/auto/bic/data/QtPrintSupport.5.10.0.linux-gcc-amd64.txt
Normal file
File diff suppressed because it is too large
Load Diff
4969
tests/auto/bic/data/QtSql.5.10.0.linux-gcc-amd64.txt
Normal file
4969
tests/auto/bic/data/QtSql.5.10.0.linux-gcc-amd64.txt
Normal file
File diff suppressed because it is too large
Load Diff
4609
tests/auto/bic/data/QtTest.5.10.0.linux-gcc-amd64.txt
Normal file
4609
tests/auto/bic/data/QtTest.5.10.0.linux-gcc-amd64.txt
Normal file
File diff suppressed because it is too large
Load Diff
19126
tests/auto/bic/data/QtWidgets.5.10.0.linux-gcc-amd64.txt
Normal file
19126
tests/auto/bic/data/QtWidgets.5.10.0.linux-gcc-amd64.txt
Normal file
File diff suppressed because it is too large
Load Diff
4982
tests/auto/bic/data/QtXml.5.10.0.linux-gcc-amd64.txt
Normal file
4982
tests/auto/bic/data/QtXml.5.10.0.linux-gcc-amd64.txt
Normal file
File diff suppressed because it is too large
Load Diff
0
tests/auto/corelib/io/qfileinfo/tst_qfileinfo.cpp
Executable file → Normal file
0
tests/auto/corelib/io/qfileinfo/tst_qfileinfo.cpp
Executable file → Normal file
Loading…
Reference in New Issue
Block a user