Important: Please read the Qt Code of Conduct -

Compiler can't find the Qt Classes

  • Hello!

    I'm receiving the error when compiling:

    fatal error C1083: CANNOT OPEN INCLUDE FILE: 'QInputDialot': No such file or directory

    And the same error for the others included Qt Classes, like QIntValidator, QDoubleValidator, QAction, QComboBox... etc
    This code was working before I put one include(project.pri) in .pro file.

    Any help? Thanks!

  • Lifetime Qt Champion


    What does that project.pri contain ?

  • In addition to what SGaist said, there is a definite typo: "QInputDialot". Did you mean "QInputDialog"?

    EDIT: Unless of course that typo was when you typed up this post... :)

Log in to reply