I can't seem to get my mouse to work. I can see that the mouse is
working in Angstrom by "cat /dev/input/mouse0 | hexdump ; this shows
the mouse data as I move it.
But when I set:
export QWS_MOUSE_PROTO='IntelliMouse:/dev/input/mouse0'
and then run the program
./MyProgram -qws
the cursor will not move when I move the mouse.
I have substituted 'Microsoft' for IntelliMouse and /dev/input/event2
for /dev/input/mouse0 and it still fails.
I used the following config when building qt on my Ubuntu box:
I can't seem to get my mouse to work. I can see that the mouse is
working in Angstrom by "cat /dev/input/mouse0 | hexdump ; this shows
the mouse data as I move it.
But when I set:
export QWS_MOUSE_PROTO='IntelliMouse:/dev/input/mouse0'
and then run the program
./MyProgram -qws
the cursor will not move when I move the mouse.
I have substituted 'Microsoft' for IntelliMouse and /dev/input/event2
for /dev/input/mouse0 and it still fails.
I compiled QT for BeagleBoard with:
./configure -opensource -confirm-license -no-qt3support -release -
nomake examples -nomake demos -embedded arm -little-endian -xplatform
qws/linux-arm-g++ -prefix /opt/qt4-4.6.3-beagle-shared-vnc -qt-gfx-vnc
in the /usr/lib directory all of the qt embbedded libraries have names
like libQtNetworkE.so.4.6.3 but my executable that I made on my Ubuntu
box needs a file with a name like libQtNetwork.so.4. So I do
something like this: "ln -s ibQtNetworkE.so.4.6.3 libQtNetwork.so.4"
for all the libraries that I need. Start my executable and nothing
happens; program does not start and no error messages.
in the /usr/lib directory all of the qt embbedded libraries have names
like libQtNetworkE.so.4.6.3 but my executable that I made on my Ubuntu
box needs a file with a name like libQtNetwork.so.4. So I do
something like this: "ln -s ibQtNetworkE.so.4.6.3 libQtNetwork.so.4"
for all the libraries that I need. Start my executable and nothing
happens; program does not start and no error messages.
What gives?
Angstrom uses QT_LIB_INFIX to make qt/e and qt/x11 parallel installable. The env script in the SDK sets up the needed qmake vars, as do OE and the native qt toolchain.
Ok, I went back and added "-qtlibinfix E" to my build environment and
it did generate files with the correct file names. I then did a 'opkg
install qtr-embedded' on my Beagleboard. But I take a program the is
built on my Ubuntu box and it will not run on my BeagleBoard without
moving the libraries over. When I execute the code it just sits there,
no gui, no messages and nothing in the dmesg log file.