Hi,
I am new to Qt. I am developing a simple application using Qt. I want the exe to be displayed on the qvfb. But i am getting the following error:
"_X11TransSocketINETConnect() can't get address for QVFb:6000: Name or service not known
simplecalc: cannot connect to X server QVFb:0"
These were my installation steps:
cd /to qt-x11-opensource-src-4.4.3
./configure -qvfb
make
make install
I set the evnvironment variables as mentioned in the installation steps in the trolltech site.
The installation was successful without any errors.
I then went inside the tools/qvfb within the above mentioned directory.
make
make install
I developed a simple calculator application using Qt designer tool. Made an exe and it was succcessful without any errors. I could successfully display it on the X11 widow.
I went inside /usr/local/Trolltech/Qt-4.4.3/bin/ and ran qvfb.
I ran my application as :
simplecalc -qws -display QVFb:0
But it threw an error:
_X11TransSocketINETConnect() can't get address for QVFb:6000: Name or service not known
simplecalc: cannot connect to X server QVFb:0
Please help.
![]()
Bookmarks