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. Issue Encountered with C++ Compilation in Qt Creator and MSVC
Forum Updated to NodeBB v4.3 + New Features

Issue Encountered with C++ Compilation in Qt Creator and MSVC

Scheduled Pinned Locked Moved Unsolved General and Desktop
compilationfile not foundqt 6.8.3
1 Posts 1 Posters 55 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.
  • L Offline
    L Offline
    Lunix
    wrote last edited by
    #1

    Hi,
    Context
    I am developing a Qt Desktop application on Windows using Qt Creator, with the Qt 6.8.3 MSVC2022 64bit kit. My project is properly set up on the Qt side (kits, sources, .pro file, etc.), but I am running into compilation errors due to the inability to find standard C/C++ header files (such as string.h, crtdbg.h), even though they are present in the Windows SDK.

    Observed Symptoms
    Compilation error:

    mainwindow.h:4:10: In included file: 'crtdbg.h' file not found
    yvals.h:20:10: error occurred here
    

    After creating or renaming a file as string.h, other essential files (such as crtdbg.h) are still missing.

    The standard SDK paths (e.g., C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\crtdbg.h) do exist on disk.

    Manually adding paths to the environment variables (INCLUDE, LIB) of the kit in Qt Creator has not resolved the issue.

    Thanks for helping.

    1 Reply Last reply
    0
    • L Lunix referenced this topic

    • Login

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