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-opensource-windows-x86-msvc2010-5.5.1 does not compile
Forum Update on Monday, May 27th 2025

qt-opensource-windows-x86-msvc2010-5.5.1 does not compile

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
3 Posts 3 Posters 297 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.
  • X Offline
    X Offline
    Xabi
    wrote on last edited by
    #1

    Hello. Under my Windows 11 64 bits I have isntalled:

    • Visual Studio 2010

    • ServicePack1 para Visual Studio 2010

    • Debugging Tools (https://developer.microsoft.com/es-es/windows/downloads/windows-sdk)

    Everthyng seems correct. I can compile a "Hello world from Visual Studio".

    Now I have Installed: qt-opensource-windows-x86-msvc2010-5.5.1

    The QtCreator autodect the Qt Version and the compiler and create the kit.

    captur1.png

    But when I try to compile a sample application I got the following error:

    C:\Qt\Qt5.5.1\5.5\msvc2010\include\QtCore\qglobal.h:39: error: C1083: No se puede abrir el archivo incluir: 'cstddef': No such file or directory

    I have tried with different QtCreator versions and removing and isntalling again.

    I also have added to the PATH:

    • C:\Program Files (x86)\Windows Kits\10
    • C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE
    • C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin

    But it does not work.
    It seems that the problem is with the build enviroment variables. Maybe I need more of them: VCINSTALLDIR, VSINSTALLDIR, WinSDkDir but they are not created. ¿why?

    Thanks

    Axel SpoerlA aha_1980A 2 Replies Last reply
    0
    • X Xabi

      Hello. Under my Windows 11 64 bits I have isntalled:

      • Visual Studio 2010

      • ServicePack1 para Visual Studio 2010

      • Debugging Tools (https://developer.microsoft.com/es-es/windows/downloads/windows-sdk)

      Everthyng seems correct. I can compile a "Hello world from Visual Studio".

      Now I have Installed: qt-opensource-windows-x86-msvc2010-5.5.1

      The QtCreator autodect the Qt Version and the compiler and create the kit.

      captur1.png

      But when I try to compile a sample application I got the following error:

      C:\Qt\Qt5.5.1\5.5\msvc2010\include\QtCore\qglobal.h:39: error: C1083: No se puede abrir el archivo incluir: 'cstddef': No such file or directory

      I have tried with different QtCreator versions and removing and isntalling again.

      I also have added to the PATH:

      • C:\Program Files (x86)\Windows Kits\10
      • C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE
      • C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin

      But it does not work.
      It seems that the problem is with the build enviroment variables. Maybe I need more of them: VCINSTALLDIR, VSINSTALLDIR, WinSDkDir but they are not created. ¿why?

      Thanks

      Axel SpoerlA Offline
      Axel SpoerlA Offline
      Axel Spoerl
      Moderators
      wrote on last edited by Axel Spoerl
      #2

      @Xabi
      Why Qt 5.5.1? It's 9 years old and out of support.

      If you look at the error message: It complains that qtglobal.h includes #include <cstddef>in line 39. So you're probably compiling for cxx11/17, where this include doesn't exist. I am not sure, but if I recall correctly, you have to use an ancient C++ compiler like gcc 4 or something.

      Or you use a recent Qt Version, e.g. 6.5

      Software Engineer
      The Qt Company, Oslo

      1 Reply Last reply
      2
      • X Xabi

        Hello. Under my Windows 11 64 bits I have isntalled:

        • Visual Studio 2010

        • ServicePack1 para Visual Studio 2010

        • Debugging Tools (https://developer.microsoft.com/es-es/windows/downloads/windows-sdk)

        Everthyng seems correct. I can compile a "Hello world from Visual Studio".

        Now I have Installed: qt-opensource-windows-x86-msvc2010-5.5.1

        The QtCreator autodect the Qt Version and the compiler and create the kit.

        captur1.png

        But when I try to compile a sample application I got the following error:

        C:\Qt\Qt5.5.1\5.5\msvc2010\include\QtCore\qglobal.h:39: error: C1083: No se puede abrir el archivo incluir: 'cstddef': No such file or directory

        I have tried with different QtCreator versions and removing and isntalling again.

        I also have added to the PATH:

        • C:\Program Files (x86)\Windows Kits\10
        • C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE
        • C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin

        But it does not work.
        It seems that the problem is with the build enviroment variables. Maybe I need more of them: VCINSTALLDIR, VSINSTALLDIR, WinSDkDir but they are not created. ¿why?

        Thanks

        aha_1980A Offline
        aha_1980A Offline
        aha_1980
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @Xabi and just to add to @Axel-Spoerl:

        MSVC 2010 is a 15 year old compiler. Why would you want to use such a old development system on a brand-new Windows 11?

        As Qt versions higher than 5.5 need full C++11 support, this compiler is unusable for current development.

        Regads

        Qt has to stay free or it will die.

        1 Reply Last reply
        2

        • Login

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