In another case, when I am trying to get the IMEI number of the phone: import QtQuick 2.0 import Ubuntu.Components 0.1 import QtSystemInfo 5.0 import Ubuntu.Components.ListItems 0.1 as ListItem import "components"
DeviceInfo { id: deviceInfos } ListItem.SingleValue { objectName: "imeiItem" property string imeiNumber imeiNumber: deviceInfos.imei(0) text: "IMEI" value: imeiNumber visible: true } The syslog shows: root@ubuntu-phablet:~# grep DEN /var/log/syslog | grep "deviceinfo" Jul 8 13:38:40 ubuntu-phablet dbus[718]: apparmor="DENIED" operation="dbus_method_call" bus="system" path="/" interface="org.ofono.Manager" member="GetModems" mask="send" name="org.ofono" pid=7659 profile="com.ubuntu.developer.liu-xiao-guo.deviceinfo_DeviceInfo_0.1" peer_pid=1232 peer_profile="unconfined" Jul 8 13:41:31 ubuntu-phablet dbus[718]: apparmor="DENIED" operation="dbus_method_call" bus="system" path="/" interface="org.ofono.Manager" member="GetModems" mask="send" name="org.ofono" pid=7919 profile="com.ubuntu.developer.liu-xiao-guo.deviceinfo_DeviceInfo_0.1" peer_pid=1232 peer_profile="unconfined" However, there is no indication in the application output window at all. Attached please find the captured pic. ** Attachment added: "apparmor_problem1.png" https://bugs.launchpad.net/ubuntu/+source/qtcreator/+bug/1338886/+attachment/4147812/+files/apparmor_problem1.png -- You received this bug notification because you are a member of Kubuntu Bugs, which is subscribed to qtcreator in Ubuntu. https://bugs.launchpad.net/bugs/1338886 Title: Not enough debug information in the application output window when "AccessDenied" happens To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtcreator/+bug/1338886/+subscriptions -- kubuntu-bugs mailing list kubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs