Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Qt Academy Launch in California!

    Solved Qt 5.7.0 Kernel32.dll Problem

    General and Desktop
    1
    2
    1893
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Taz742
      Taz742 last edited by

      When I tried start my program in windows xp, i have error kernel32.dll.
      How to Fix This ?

      Do what you want.

      Taz742 1 Reply Last reply Reply Quote 0
      • Taz742
        Taz742 @Taz742 last edited by Taz742

        Excuse me, I'm using 5.8 i ... Now i tried 5.7 and it works.

        hskoglund said in: go to solution
        Hi, setting the /SUBSYSTEM:WINDOWS,5.01 is not possible for MinGW_32 but it is also not needed, it is already set for you automatically to /SUBSYSTEM:WINDOWS,4 which means you can run your MinGW_32 .exe also on WIndows NT 4 and Windows 2000.

        The problem is that starting with Qt 5.8.0 the classes QWindowsPipeReader and QWindowsPipeWriter in Q5Core.dll uses CancelIOEx and that API is not available on Windows XP.

        If you don't use those classes perhaps it's possible to patch them, easiest would be to binary edit the IAT in Qt 5.8.0's Qt5Core.dll, but maybe there are more errors like this waiting in another Qt dll...

        Do what you want.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post