[Qt-interest] Qt GUI application problem executing as root User
Bo Thorsen
bo at fioniasoftware.dk
Mon Jun 20 12:31:54 CEST 2011
Den 20-06-2011 10:58, Ankit Agarwal skrev:
> Hey,
> Thanks. It worked.
I find that more disturbing than if it had not been the problem. I hope
you can find the time to enter a bug report for Qt here.
What you have done is to treat the sympton, not cure the problem.
Applications should not fail just because you run them as root, unless
there are differences in the environments that cause it (path etc) or
that you don't give root apps permission for X.
Bo.
> On Fri, Jun 17, 2011 at 10:53 PM, Konstantin Tokarev <annulen at yandex.ru
> <mailto:annulen at yandex.ru>> wrote:
>
>
>
> 17.06.2011, 15:05, "Ankit Agarwal" <ankit17.ag
> <http://ankit17.ag>@gmail.com <http://gmail.com>>:
> > Hi,
> > I have an application that was developed using Qt-4.2.2. Now, I
> am looking to upgrade the version of Qt in my system to 4.7. Also, I
> am using qwt-5.0.2.
> >
> > I re-compiled Qwt with Qt-4.7. I am using Fedora 14 on Intel i3
> processor.
> >
> > The problem : My application works fine when I execute it as a
> normal user, but the application crashes when I try to execute it as
> a root user.
> >
> > Error messge:
> > GLib-GIO:ERROR:gdbusconnection.c:2270:initable_init: assertion
> failed: (connection->initialization_error == NULL)
>
> Try to build Qt without glib support (-no-glib option of configure)
>
> --
> Regards,
> Konstantin
>
>
>
>
> --
> Regards,
> Ankit Agarwal
>
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
Bo Thorsen,
Fionia Software.
--
Expert Qt and C++ developer for hire
Contact me if you need expert Qt help
http://www.fioniasoftware.dk
More information about the Qt-interest-old
mailing list