title: QML Connections: Implicitly defined onFoo properties in Connections are deprecated
body: <p>I got the following error message when upgraded to Qt 5.15:</p>
  
  <pre><code>QML Connections: Implicitly defined onFoo properties in Connections are deprecated.
  Use this syntax instead: function onFoo(&lt;arguments&gt;) { ... }
  </code></pre>
  
  <p>The corresponding QML code is pasted below</p>
  
  <pre><code>Connections {
      target: AppProxy
  
      onLogsReady: function(logs) {
          textLogs.text = logs
      }
  }
  </code></pre>
  
  <p>where the <code>onLogsReady</code> is a signal defined in the <code>AppProxy</code> class:</p>
  
  <pre><code>class AppProxy : public QObject {
    Q_OBJECT
    Q_DISABLE_COPY(AppProxy)
  
   public:
    AppProxy(QObject* parent = 0);
    ~AppProxy();
  
   signals:
    void logsReady(QString logs);
  
  // ...
  };
  </code></pre>
  
  <p>I wonder how to suppress this warning.</p>