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

Wrong SetThreadDescription usage in qthread_win.cpp

    XMLWordPrintable

Details

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

    Description

      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:

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes