Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt installation problem(invalid version of w32api.h)
Qt 6.11 is out! See what's new in the release blog

Qt installation problem(invalid version of w32api.h)

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 3 Posters 7.0k Views 1 Watching
  • 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.
  • T Offline
    T Offline
    ttgump
    wrote on last edited by
    #1

    Hi, I am trying to install Qt4.8.3 in windows with minGW. I have installed minGW in my computer, when installing qt, it says can't find invalid w32api.h. It need a version of 3.1.1 but mine is 3.1.7. Can I continue installation? Is there any problem to run qt with new version of minGW?

    1 Reply Last reply
    0
    • JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      The Qt 4.8.x DLLs on the website are incompatible with GCC 4.7 unfortunately. You have two options:

      Download an older version of GCC -- The offically supported version is GCC 4.4 (ftp://ftp.qt.nokia.com/misc/MinGW-gcc440_1.zip ), but people report that GCC 4.6 also works

      Use GCC 4.7 to build Qt 4.8.x yourself from the source code

      P.S. I think you meant w32api.h versions 3.13 and 3.17

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      0
      • V Offline
        V Offline
        vincenet
        wrote on last edited by
        #3

        Sorry to active this old thread...

        I would like to download a ming version appropriate (I have same problem). Since nokia's link JKSH mentioned not work anymore, I go to http://sourceforge.net/projects/mingw/files/Installer/ but I do not know how to find older version of mingw. At the first time I downloaded with link "Looking for the latest version? Download mingw-get-setup.exe (86.5 kB)" (inappropriate recent version !)

        Regards

        1 Reply Last reply
        0
        • JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by
          #4

          New link: https://qt-project.org/forums/viewthread/34960

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          1 Reply Last reply
          0

          • Login

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