[Development] Support for *Notes and UpstreamFiles fields in qt_attributions.json files

Ulf Hermann ulf.hermann at qt.io
Wed Feb 15 11:15:02 CET 2023


Or QML, in fact:


// Attribution.qml in QtAttribution module:
QtObject {
     property string name
     property list<string> files
     property list<string> upstreamFiles
     // ....
}


// Actual attribution.qml in source tree:
import QtAttribution
Attribution {
     // allows comments as much as you like
     name: "Foobar"
     files: ["some/file.h", "some/file.cpp"]
     license: License.GPL // can be a QML enum in a License.qml
     // ...
}


That would be all nicely human-readable and easily verified with 
qmllint. I get the argument for sticking with JSON now, though.

best,
Ulf


More information about the Development mailing list