Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-130263

Wrong SetThreadDescription usage in qthread_win.cpp

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.8.0
    • QPA: Windows
    • None

      https://github.com/qt/qtbase/commit/6848969cbc7b9a282e9cc22670721e6ed464b29e

       

      According to Microsoft's article:

      Windows Server 2016, Windows 10 LTSB 2016 and Windows 10 version 1607: SetThreadDescription is only available by Run Time Dynamic Linking in KernelBase.dll.

      https://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-setthreaddescription

       

      As a result you can't even build a project on such windows versions, since in causes runtime error:

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            owolff Oliver Wolff
            dthspk Roman Zhilkin
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes