Closed nbigaouette closed 8 years ago
I've mentioned this incorrectly in the commit https://github.com/White-Oak/qml-rust/commit/447ca67ea02ec881b5e137ef341351c74dfdbc8f, these warnings are supposed to be fixed, but there may appear other inconvinient warnings.
Sorry for the inconvenience -- the Q_OBJECT! nacro generates quite a bunch of a code, so it may be hard to catch every possible warning.
Btw, I'm sorry if macros are not very comfortable to use -- current rust's macros are really limiting in theirs design. When macros 1.1 will be available, Q_OBJECT and other macros are going to be redesigned to be more flexible and powerful (for example setting signals, properties and slots in custom orders, setting different options for properties (being read-only and others) etc).
The
Q_OBJECT!()
macro generates a lot of warning. Could those be suppressed so end-user is not flooded with those?For example: