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. [Solved] stddef.h no such file or directory
Forum Updated to NodeBB v4.3 + New Features

[Solved] stddef.h no such file or directory

Scheduled Pinned Locked Moved Installation and Deployment
6 Posts 2 Posters 11.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.
  • M Offline
    M Offline
    mqw00058
    wrote on last edited by
    #1

    I installed Qt creator and then Qt library-mingw on Window system.

    I tried to compile an example code in the Qt Creator but I got the error message.

    Mabe 'stddef.h' is one of c++ headers.

    I think that the Qt Creator is not connected to mingw.

    What should be set or changed in Qt Creator option?
    I tried to add INCLUDEPATH to Build environment variables in QtCreator but still not working.

    [Eddy : fixed typos in title]

    1 Reply Last reply
    0
    • EddyE Offline
      EddyE Offline
      Eddy
      wrote on last edited by
      #2

      Hi, mqw00058,

      Welcome to the forum.

      Can you tell us: How did you install Qt? Where did you get it from? OS?

      Qt Certified Specialist
      www.edalsolutions.be

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mqw00058
        wrote on last edited by
        #3

        I dowload qt frome http://download.qt-project.org/official_releases/qt/4.8/4.8.5/qt-win-opensource-4.8.5-mingw.exe

        1 Reply Last reply
        0
        • EddyE Offline
          EddyE Offline
          Eddy
          wrote on last edited by
          #4

          Can you check you environment variables?
          is PATH pointing to your mingw/bin directory?

          Qt Certified Specialist
          www.edalsolutions.be

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mqw00058
            wrote on last edited by
            #5

            Thank you so much.

            After the mingw/bin directory path is added to PATH variable in Build Environment of QtCreator, it works now.

            1 Reply Last reply
            0
            • EddyE Offline
              EddyE Offline
              Eddy
              wrote on last edited by
              #6

              I'm glad it's working now.

              Could you please edit your title of your first post and add [Solved] to it next time. I did it for you here to show how we like it. thanks.

              Qt Certified Specialist
              www.edalsolutions.be

              1 Reply Last reply
              0
              • S szumial referenced this topic on

              • Login

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