Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. dwmapi.dll not found

dwmapi.dll not found

Scheduled Pinned Locked Moved Solved General and Desktop
6 Posts 3 Posters 5.3k Views
  • 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.
  • J Offline
    J Offline
    Jedd
    wrote on 12 Mar 2017, 15:36 last edited by Jedd 3 Dec 2017, 15:36
    #1

    For statically compiled (mingw32) Qt 5.8 applications, I'm getting a "dwmapi.dll not found" error when I try to run on Windows XP. This was not an issue using 5.6.. No issues on win7 and up.

    Any ideas on debugging this?

    1 Reply Last reply
    1
    • ? Offline
      ? Offline
      A Former User
      wrote on 12 Mar 2017, 16:11 last edited by
      #2

      Hi. There is no need to debug that. Looks like you've hit a 10-years old Windows / Internet Explorer problem. Just google it.

      1 Reply Last reply
      0
      • J Offline
        J Offline
        Jedd
        wrote on 12 Mar 2017, 16:46 last edited by
        #3

        Thanks for the reply Wieland. My XP testing VM does not have IE7, but IE6. And code compiled with Qt 5.6 runs w/o issues in this VM. Could you please expand your answer?

        1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          wrote on 12 Mar 2017, 17:02 last edited by
          #4

          I googled "dwmapi.dll missing" and it came up with lots of people complaining that IE7 doesn't work on their Windows XP boxes. Some claiming, IE7 would break dwmapi.dll. But it looks like Windows XP doesn't come with said dll by default: https://support.microsoft.com/en-us/help/980342/an-application-that-uses-the-ieframe.dll-module-does-not-work-after-you-install-internet-explorer-7. Maybe you can install dwmapi.dll from another source (e.g. copy it from a Vista machine). It might be worth noting that, since Qt 5.7, Windows XP is no longer supported: https://doc.qt.io/qt-5/supported-platforms-and-configurations.html.

          1 Reply Last reply
          2
          • C Offline
            C Offline
            Chris Kawa
            Lifetime Qt Champion
            wrote on 12 Mar 2017, 17:32 last edited by
            #5

            DWM is the Desktop Window Manager - a new window manager introduced in Vista. Simply copying that dll to XP won't magically work. It's a whole sub-system.
            As the table on the page @Wieland posted suggests - last Qt version that supports XP is the LTS release - Qt 5.6. That's the version you should be using if you're targeting XP.

            1 Reply Last reply
            2
            • J Offline
              J Offline
              Jedd
              wrote on 12 Mar 2017, 17:46 last edited by
              #6

              Thanks for the replies.

              1 Reply Last reply
              0

              1/6

              12 Mar 2017, 15:36

              • Login

              • Login or register to search.
              1 out of 6
              • First post
                1/6
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved