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

Windows Server 2016 is no longer working

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.8.4, 6.9.1, 6.10.0 FF
    • 6.8.0, 6.8.1, 6.8.2, 6.9.0 Beta2
    • Core: Threads
    • None
    • Windows
    • 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

        1. 1_LoadLibrary.png
          1_LoadLibrary.png
          326 kB
        2. 2_Depends.png
          2_Depends.png
          266 kB
        3. error.png
          error.png
          6 kB
        4. error1.png
          error1.png
          6 kB
        For Gerrit Dashboard: QTBUG-134075
        # Subject Branch Project Status CR V

        Activity

          People

            thiago Thiago Macieira
            larss Lars Schmertmann
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews