qt creator中有一段程序需要root权限,请问qt creator中有没有地方可以设置成root,谢谢
我用的fedora 15,我尝试在终端切换成root,然后执行./qtcreator运行qt creator,但是会出现一堆错误如下:
[root@localhost bin]# ./qtcreator
(<unknown>:3990): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
(<unknown>:3990): GLib-GIO-CRITICAL **: g_dbus_proxy_get_name_owner: assertion `G_IS_DBUS_PROXY (proxy)' failed
(<unknown>:3990): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
(<unknown>:3990): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
(<unknown>:3990): GLib-GIO-CRITICAL **: g_dbus_proxy_get_name_owner: assertion `G_IS_DBUS_PROXY (proxy)' failed
(<unknown>:3990): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
(<unknown>:3990): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
(<unknown>:3990): GLib-GIO-CRITICAL **: g_dbus_proxy_get_name_owner: assertion `G_IS_DBUS_PROXY (proxy)' failed
(<unknown>:3990): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
Qt: Session management error: None of the authentication protocols specified are supported
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.