Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Trying to run qmlscene but getting the following error



  • I created a qml file containing

    import QtQuick 2.12
    
    Rectangle {
        width: 200
        height: 100
        color: "red"
        Text {
            anchors.centerIn: parent
            text: "Hello World"
        
        }
        TapHandler{
            onTapped: parent.color = "blue"
        }
    }
    

    but I am getting the following error.
    qmlscene: could not find a Qt installation of ""
    my Qt is installed at
    /home/puneethchanda/Documents/Qt/
    can anyone please help me how to solve this.


Log in to reply