Update:
Got hello world (window with text) cross compiled.
(.... even here are pitfalls.. GL lib was missing... .NO FREE MEAL here )
On Ubuntu:
sudo apt-get install mesa-common-dev
sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev
QT Creator does deploy my binary to my raspy.. but fails to start since its a "Gui".. how should it handle that. OK for now.
If I start the binary on a VNC desktop running on the Raspi send to by Windows PC... Hello world works.
This means: Cross compile with QT is working !...
Than I tried to start a debug session...
gdbserver was missing grrrrrrrrrr
On raspi:
sudo apt-get install gdbserver
OK....
After that debgging is still not working since it does not find shared libs...
18:51:38: Found 101 free ports.
18:51:38: Starting gdbserver...
18:51:38: Debugging starts
Listening on port 10001
Remote debugging from host 192.168.178.51
limiting remote suggested packet size (18431 bytes) to 16384
Process /opt/Test_1/bin/Test_1 created; pid = 8127
Could not load shared library symbols for 3 libraries, e.g. /usr/local/qt5pi/lib/libQt5Widgets.so.5.
Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?
Could not load shared library symbols for 3 libraries, e.g. /usr/local/qt5pi/plugins/platforms/libqeglfs.so.
Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?
Could not load shared library symbols for 2 libraries, e.g. /usr/local/qt5pi/plugins/egldeviceintegrations/libqeglfs-kms-integration.so.
Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?
All the libs are there......
Anyhow. Enough for now...
Marko