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. Cannot open include file windows.h please help!
Qt 6.11 is out! See what's new in the release blog

Cannot open include file windows.h please help!

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 3.2k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    hi guys
    i have installed qt 5.3.2 64 bit for windows vs 2013 openGL and before that install microsot visual studio ultimate 2013 for that purpose. so after i go new file or project and setup my new project and run i got this error
    cannot open include file 'windows.h':no such file or directory.
    guys this is very important for me to solve this problem.
    where is windows.h to add its path to global variables?
    any help appreciated..

    1 Reply Last reply
    0
    • T Offline
      T Offline
      trallallero
      wrote on last edited by
      #2

      Did you configure the build kit ?

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        yeah every thing ok.
        i dont know what happen!
        for example if i open project from c:/users/myPc qt said cant find .pro file. if i open file from some drive qt said that cannot find glu32.lib.
        i receive prj from my friend and want to run that.
        i dont figure it out..

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi and welcome to devnet,

          If you are using Qt Creator: Is there by any chance a .pro.user file that you also got with the project ? If so close Qt Creator, delete that file and reopen the project

          Hope it helps

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          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