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

File format of qmltypes file?



  • I wanted to write a module for QML and stumbled upon the .qmltypes files. I wondered if this is a specific file format. At first I thought about JSON, but it is not the exact same, just looks quite similar. Can somebody tell me which format the file is in?



  • The qmltypes file itself uses the qml file format :)

    if you look at sample qmltypes for example from QtQuick, you will see it imports QtQuick.tooling and then uses the elements defined there.

    Cheers,
    Chris


Log in to reply