arachide
arachide

Reputation: 8066

no button component in qml/qt design mode

I am transferring one of my Delphi project to QT

When I do GUI design, there is no button control in qml types

enter image description here

or I have to add button using code?

    Button {
        //...
    }

Your comment welcome

Upvotes: 1

Views: 1358

Answers (1)

Evgeny Timoshenko
Evgeny Timoshenko

Reputation: 3259

You should add import statement to qml file:

import QtQuick.Controls 1.1

Upvotes: 1

Related Questions