Qt, C++: GConf-WARNING **: Client failed to connect to the D-BUS daemon -


i'm trying make form application under arch linux qt , c++, when try run application below:

firstwindow.h

#include <qmainwindow> #include <qlabel> #include <qpushbutton> #include <qlineedit> #include <qlayout>  class firstwindow:public qmainwindow {     q_object      public:         qlabel       *lbl;         qpushbutton  *btn;         qlineedit    *row;      firstwindow():qmainwindow()     {         setwindowtitle("first window");         qwidget *win = new qwidget(this);         setcentralwidget(win);          lbl = new qlabel("hello universe", win);         btn = new qpushbutton("click click", win);         row = new qlineedit(win);          qvboxlayout *main = new qvboxlayout(win);         main->addwidget(win);          qhboxlayout *nextto = new qhboxlayout();         nextto->addwidget(row);         nextto->addwidget(btn);         main->addlayout(nextto);          resize(200,50);         win->show();     } }; 

after compiling it, error:

#qmake -project #qmake #make # ./qtfirstwindow (process:21806): gconf-warning **: client failed connect d-bus daemon: did not receive reply. possible causes include: remote application did not send reply, message bus security policy blocked reply, reply timeout expired, or network connection broken.  (process:21806): gconf-warning **: client failed connect d-bus daemon: did not receive reply. possible causes include: remote application did not send reply, message bus security policy blocked reply, reply timeout expired, or network connection broken.  (process:21806): gconf-warning **: client failed connect d-bus daemon: did not receive reply. possible causes include: remote application did not send reply, message bus security policy blocked reply, reply timeout expired, or network connection broken. qt: session management error: authentication rejected, reason : none of authentication protocols specified supported 

it doesn't stop or kill application, doesn't run it. think error isn't code wrote, because little sample. how can deal that? idea?


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -