Hi!
I have made following changes for compatibility with QtQuick (QML).
- Changed PortSettings from struct to class
- Moved port settings related types inside the PortSettings class
- Exposed the metatype information using Q_ENUMS for all the enum types
- Added more properties to QextSerialPort class
With these changes, a QtQuick C++ component using QExtSerialPort can accept settings within QML files or even QextSerialPort can be instantiated from within QML. By deriving from QextSerialPort or by adding Q_INVOKABLE macro before the member method declarations, its functions can also be called directly from within a QML application.
I hope you can help me push these changes to the trunk (i.e. the main or master branch). I do not know much about creating patches, etc. I have committed the latest copy to my local git checkout.
Regards,
Piyoosh Mukhija