Dennis Kellly
|
Re: how to export qt environment
|
Dennis Kellly
12/14/2017 8:20 AM
post118275
|
Re: how to export qt environment
First, you do not waitfor the device /dev/devi/mouse0 to appear. USB enumeration may take some time.
Second, In the build file, it is ineffective to use "export" - you are not in a shell. Variables are set in the build
fille environment without "export". For example,
LD_LIBRARY_PATH=:/proc/boot:/lib:/usr/lib:/lib/dll:/lib/dll/pci
I suggest you put your Qt app call into a shell script, say "/proc/boot/go.sh". Then you call it from the build file
like
/bin/sh -c "/proc/boot/go.sh" &
You can use "sh" or "ksh" depending on your build.
|
|
|