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

The QT program developed under win10 runs incorrectly on win7

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Invalid
    • Affects Version/s: 6.2.1
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      development: Windows 10 + QT6.2.1
      Run: Windows 7
    • Platform/s:
      Windows

      Description

           I compiled the application with QT creator (qt6.2+MSVC) on win10, and then put the application on win7 to run, and reported the error "无法定位程序输入点CreateDXGIFactory2于动态链接库dxgi.dll上".

           QT official website says that win7 does not support QT (version 6.2) development, so I developed it on win10. I once considered compiling the whole QT and QT program in MT mode, but it is not recommended to do so on QT wiki.

           Via dependencies.exe, dxgi.exe from win7 does not contain the createdxgifactory2 function, but win10 does. I put dxgi.dll from win10 into the application directory, but the problem still exists, indicating that the application is looking for dxgi.dll from win7 system path. In addition, msvcrt.dll also could not find _free_Locale function.

           I want to clarify the following questions:

           1. Whether the application compiled with QT (version 6.2) on win10 supports running on win7?

           2. Is there a way to solve the problem of QT (version 6.2) development on win7?

           3. Is there a way for applications to find these system libraries in the application directory first?

           4.Is there any way to solve my current problems?

           I look forward to your reply, thank you!

        Attachments

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

          Activity

            People

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            bergerac bergerac li
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes