Important: Please read the Qt Code of Conduct -

Qt5 Compiler Error: 'QtQuick': No such file or directory

  • Hi everyone.

    So I just installed Qt 5.1.1 and created a small QtQuick 2.0 app. This works fine and all but now I want to embed this app in a Qt-GUI-Application so I can interact with it via C++

    Therefore I created a new Qt-GUI-Application in the Qt Creator. This is how my code looks like:

    @#include <QApplication>
    #include <QtCore>
    #include <QtQuick>

    int main(int argc, char *argv[])
    QApplication a(argc, argv);

    QQuickView viewer;
    return a.exec(&#41;;


    I also added QT += quick in the .pro file.


    Project created by QtCreator 2013-10-15T17:54:42


    QT += core gui

    TARGET = IntegratedPowerSupply
    TEMPLATE = app

    SOURCES += main.cpp

    HEADERS +=


    But all I get is the following error message as soon as I want to built it:

    ..\main.cpp:3: Error:C1083: Cannot open include file: 'QtQuick': No such file or directory

    How can I solve this?

    Again, I'm using Qt 5.1.1 on Windows 7

Log in to reply