Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Stupid QtCreator4.11, could not find 'stddef.h'

Stupid QtCreator4.11, could not find 'stddef.h'

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
1 Posts 1 Posters 213 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.
  • Q Offline
    Q Offline
    QtTester
    wrote on last edited by
    #1

    There are many same issue ,but seems not fixed:
    https://forum.qt.io/topic/97736/5-12-new-install-not-finding-windows-sdk/8
    https://forum.qt.io/topic/120539/need-to-specify-a-include-and-lib-environment-manually-_/4

    Today I assamble a new computer and encounter the same problem, install windows 10-1909, install vs2017, install qt-opensource-windows-x86-5.14.2.exe.
    Now VS can debug c++, while qt creator reminds "Could not find stddef.h",
    Here are the solution:

    1/ add INCLUDE enviroment:
    INCLUDE=
    C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt;
    C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um;
    C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\winrt

    LIB=
    C:\Program Files (x86)\Windows Kits\10\Lib\10.0.17763.0\ucrt\x86;
    C:\Program Files (x86)\Windows Kits\10\Lib\10.0.17763.0\um\x86

    PATH +=
    C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x86

    2/ reopen IDE ,now it's happy

    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