Problems with the qdbusabstractdaptor example
I want learn to program with QDBus and tested the QDBusAbstractAdaptor example. It seems that the example has a mistake: QApplication has not members called hasMainWindow and mainWindow. My Qt version is 4.7.4
What can I do?
welcome to devnet
Where did you find this example?
"This are the DBus examples":http://qt-project.org/doc/qt-4.8/examples-dbus.html for Qt 4.8
Since there are several, which do you mean?
I found it in my qtassistant and here "doc from qt nokia":http://doc.qt.nokia.com/4.7-snapshot/qdbusadaptorexample.html and here "qt-project.org":http://qt-project.org/doc/qt-4.7/qdbusadaptorexample.html#id-6ca400b0-0d9d-4283-85dc-2a7515d78371
no glue. This example is a bit hidden. IMHO it is not completely out of question that the example does not work at all, since it is not really in the streamline of what people would look at.
You should file a bug report on "JIRA.":https://bugreports.qt-project.org/secure/Dashboard.jspa