Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Qt Running Error: Page 1 of 2 (19 Items)
   
Qt Running Error  
Hi ,

I'm working qnx one BeagleBoard. I have a error whey i running qt application.
My Error:


# ./helloapp -qws
QWSServerSocket::init: Address family not supported by protocol family
QWSServerSocket: unable to create socket.
QWSServerPrivate::initServer: server socket not listening: No such process
Failed to bind to /ramdisk/qtembedded-0/QtEmbedded-0
Abort 

You can look this youtube link for my 
http://www.youtube.com/watch?v=nZ8Ccbb-x4o

Thank you in advance
Re: Qt Running Error  
Dennis Do you have any idea about this error?

Thanks
Re: Qt Running Error  
You are using beagle board without a network.  The error is a Qt library trying to find a socket.  I suppose you can 
start io-pkt-v4 without a driver, and the library will be happy.  You'll have to try it.
Re: Qt Running Error  
Hi Dennis,

I thanks for help. I solved this problem with your support but i have a new problem.

You can look image.png for my steps. I'm will working weekend for qt porting problem. I'm waiting for your answers.

Error: 


/helloapp -qws
QFontDatabase: Cannot find font directory /usr/local/qt-qnx-armv7/lib/fonts - is Qt installed correctly?
Abort
# 

Thanks for help

Attachment: Image image.png 157.89 KB
Re: Qt Running Error  
Qt 4.8.2 does not default the plugin path as expected. Edit /bin/qTstat on the SD card and add the following as the 
first line so plugin for .jpg images can be used:

export QT_PLUGIN_PATH=/usr/lib/qt4/plugins
Re: Qt Running Error  
I have never used qstat and how can i edit qstat?

Thanks for help
Re: Qt Running Error  
Just export the variable  .. fo get qTstat

# export QT_PLUGIN_PATH=/usr/lib/qt4/plugins

before you run your program... or put it in a startup script.
Re: Qt Running Error  
I did these steps qt now, but still i getting error.

please
if you show it with a picture of these steps will be very good for me 

Re: Qt Running Error  
Hi Dennis,

You said this code export QT_PLUGIN_PATH=/usr/lib/qt4/plugins but I think this command only QT_PLUGIN_PATH=/usr/lib/qt4/
plugins not export QT_PLUGIN_PATH=/usr/lib/qt4/plugins for variable

You can look youtube link
http://www.youtube.com/watch?v=hUW17EV4f8A

You can look commans.txt for my steps


I'm waiting for your answers
Attachment: Text commands 402 bytes
Re: Qt Running Error  
So why didn't you use the command I gave you - before running ./helloapp -qws

export QT_PLUGIN_PATH=/usr/lib/qt4/plugins
./helloapp -qws

Did you put the plugins in /usr/lib/qt4/plugins ?