Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Qt Running Error: (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 ?
Re: Qt Running Error  
You said, You will use start up script ("before you run your program... or put it in a startup script.")

i add this code bzh file

I didn't put plugins. How can i put plugins to /usr/lib/qt4/plugins?

Thanks for help
Re: Qt Running Error  
Hi Dennis,

I used qt plugins path command but error still countinue 

i took video for my steps. You can look youtube link

I'm waiting monday for your answers

http://www.youtube.com/watch?v=Cqo5_UEeSGM

thanks
Re: Qt Running Error  
So did you include the font files?  There are about 80 of them in the 4.8 release.  My beagle image has them at /usr/
local/Trolltech/QtEmbedded-4.8.0-arm/lib/fonts.
Re: Qt Running Error  
I don't include font. I used 4.8.2 for create qmake. Also add prefix=/usr/local/qt-arm-v7 paramter when i creating qmake
.

My fonts file /usr/local/qt-qnx-arm-v7/lib/fonts. You can look image.png

how can i include this fonts?

I need information like fonts location on beagleboard image

Attachment: Image image.png 215.5 KB
Re: Qt Running Error  
You willl have to experiment.  I can't know for sure.  I told you where I put the font files on my image.
Re: Qt Running Error  
As far as i know, i will carry qt-qnx-armv7 directory to under /usr/local directory

i copied qt-qnx-armv7 direcory to sd card. But i can not copy .

you can look following link for my steps

http://www.youtube.com/watch?v=Srl51JfKPaM

thanks
Re: Qt Running Error  
Dennis Do you have any idea about this problem?

I'm trying copy directory with this command but i get error 

cp -R /fs/dos/local /usr/

Please you watch this video 
http://www.youtube.com/watch?v=Srl51JfKPaM

Re: Qt Running Error  
Is there no one to help about this error?

Thanks
Re: Qt Running Error  
I solved this problem.

Thanks