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?