Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.8.0, 6.8.1, 6.8.2, 6.9.0 Beta2
-
None
-
-
a9e251332 (dev), 5ed1dcd1c (6.9), 9484b6e5b (6.8)
Description
https://codereview.qt-project.org/c/qt/qtbase/+/542795 started to use SetThreadDescription with the message
Starting with Windows 10 1607 there's a modern API to set a thread's name on Windows (replacing the RaiseException hack).
But one point in the documentation was missed:
Windows Server 2016, Windows 10 LTSB 2016 and Windows 10 version 1607: SetThreadDescription is only available by Run Time Dynamic Linking in KernelBase.dll.
This leads to the following error, when we start out application:
Sadly we need to support Windows Server 2016 even if Qt no longer supports it. At least we want you to know this issues. We are currently work on a solution using https://doc.qt.io/qt-6/qlibrary.html to load KernelBase.dll. Maybe you can give us a hint if the way looks right?
Attachments
For Gerrit Dashboard: QTBUG-134075 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
629255,4 | Fix usage of API functions on Windows 1607 (Build 14393) | dev | qt/qtbase | Status: MERGED | +2 | 0 |
632024,2 | Fix usage of API functions on Windows 1607 (Build 14393) | 6.9 | qt/qtbase | Status: MERGED | +2 | 0 |
632045,1 | Fix usage of API functions on Windows 1607 (Build 14393) | 6.9.0 | qt/qtbase | Status: ABANDONED | +2 | 0 |
632046,2 | Fix usage of API functions on Windows 1607 (Build 14393) | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |
632060,1 | Fix usage of API functions on Windows 1607 (Build 14393) | 6.8.3 | qt/qtbase | Status: ABANDONED | +2 | 0 |