Important: Please read the Qt Code of Conduct -

[Solved] Qt 5.3.1 MSVC2013 Build error

  • Hey!

    Have a problem which I think is related to OpenGL, so I am trying a Qt version without OpenGL. But now I get errors that not all of my header files can be found. But they are located in the build directory, so I dont know why I get this error. I get 4 errors of this type (only change name for the header file):

    • c:\qt\sommerjobb - tomra\transed\Source\languagelist.h:3: error: C1083: Cannot open include file: 'langitmodel.h': No such file or directory

    Any help?

  • Lifetime Qt Champion


    It looks completely unrelated to OpenGL nor Qt, you seem to be missing an the include path to find "langitmodel.h". Where is it ?

    On a side note (important one) you are going to get into trouble with the path you are currently using (c:\qt\sommerjobb – tomra). Paths with spaces in it have always been problematic on windows, you should change that.

  • I found the error: i did this
    #include "languagelist.h"
    #include <langitmodel.h>

    instead of this:
    @#include "languagelist.h"
    #include "langitmodel.h"@

Log in to reply