Patrick N.
|
Re: QNX 6.5 with Qt4 - jpg - pictures
|
Patrick N.
09/24/2013 9:41 AM
post105349
|
Re: QNX 6.5 with Qt4 - jpg - pictures
Ok, i now tried to export everything I see when I type "set". The resulting .profile-file looks now like this:
(The "#" marks the point after which I exported the additional values. the 6 exports before were already writen in the
file)
>> export QWS_DISPLAY=qnx
>> export QWS_KEYBOARD=qnx
>> export TMPDIR=/ramdisk
>> export QWS_MOUSE_PROTO=qnx
>> export QT_PLUGIN_PATH=/usr/lib/qt4/plugins
>> export PATH=/proc/boot:/sbin:/bin:/usr/sbin:/usr/bin
###############################################
>> export RANDOM=4548
>> export SECONDS=64
>> export SHELL
>> export SYSNAME=nto
>> export TERM=vt100
>> export TMOUT=0
>> export TMPDIR=/ramdisk
>> export _=set
>> export GRAPHICS_ROOT=/usr/lib/graphics/omap3730
>> export HOME=/
>> export IFS='
>> export '
>> export KSH_VERSION='@(#)PD KSH v5.2.14 99/07/13.2'
>> export LD_LIBRARY_PATH=:/proc/boot:/lib:/usr/lib:/lib/dll:/opt/lib:/usr/photon/lib:/usr/photon/lib:/tmp
>> export MAILCHECK=600
>> export OPTIND=1
>> export PATH=:/proc/boot:/bin:/usr/bin:/opt/bin:/usr/photon/bin:/sbin:/usr/sbin
>> export PPID=1
>> export PS1='# '
>> export PS2='> '
>> export PS3='#? '
>> export PS4='+ '
>> export PWD=/
Unfortunately nothing changes. doesn`t matter if I start the binary from the board or send it from Momentics to the
board.
But starting from shell the images are loaded, but nothing is displayed on the monitor...
|
|
|
Patrick N.
|
Re: QNX 6.5 with Qt4 - jpg - pictures
|
Patrick N.
09/24/2013 10:47 AM
post105356
|
Re: QNX 6.5 with Qt4 - jpg - pictures
I played a bit around with the variables and added PATH and LD_LIBRARY_PATH to the environment variables in the run
configurator of momentics.
Now I can load the jpg´s if I start the program from my hostmachine and send it to the board.
BUT if I start the program binary directly from the board (via momentics ), the jpg´s still are not loaded.
Could it be that the needed environment variables are deleted if I kill the shell?
How can I set these variables without starting the shell again?
already tried to export these again after killing the shell in the rc.local-file, but then the OS is freezing.
(It looks like, because gf_splash is not killed which is before starting the program and killing the shell in rc.local)
|
|
|