Please nominate your Qt Champions for 2021!

The system cannot find the path specified

  • In my QT creator software, there is this message popping out all the time in General messages as,

    "The system cannot find the path specified"

    But it wont cause to any error messages, My codes work fine inside the software. But there is a problem which i don't know it is related to the above message. when I created an empty qt project i created a main.cpp source file and I included QApplication and QLabel but there is a orange line under those included lines it says no such file or directory.

    help me to solve this problem

  • OK, I solved the problem my self because I'm using QT5 I need to add some codes to the .pro file

    QT       += core gui
    greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

    Problem solved

Log in to reply