Import QT Components in QT Creator
-
Hi,
I'm new here and programming with QT. I learn QML and I would import the QT Components for Desktop applications, but I don't know how. I got the folder from "GIT":git@gitorious.org:qt-components/desktop.git but I don't know how I can import in QT Creator.
Does anyone can explain me how I can resolve this problem?Thanks.
-
You do not need the components: they are included inside Qt since Qt 5.1 or so. Just use this:
@
import QtQuick.Controls 21.2
@More info: "the documentation":http://qt-project.org/doc/qt-5/qtquickcontrols-index.html.
-
@ sierdzio Do you mean 1.2 ? ;)
-
Haha, sure, yes. I sometimes forget to proof-read my posts ;-)