Hi man,
I found a work around to compile qt5 on the Pi, with visualdbg. Hopes this helps
- Download new VisualGDB (windows machine)
- sudo apt-get update (on pi)
- sudo apt-get install qtdeclarative5-dev (on pi)
- edit \etc\ld.so.conf (reference https://sysprogs.com/w/fixing-rpath-link-issues-with-cross-compilers/)
/opt/vc/lib
/lib/arm-linux-gnueabihf
/usr/lib/arm-linux-gnueabihf
/usr/local/lib
- Now in visual studio start new Linux project
- Use Qt
- Project template = A QT-based application
- Build the project locally with cross-compiler
- Synchronize headers and libraries add /opt and /etc
- Configure QT settings =
Qt version 5.x
MKspecs directory /usr/lib/arm-linux-gnueabihf/qt5/mkspecs
Should work, let me know
-
This reply was modified 9 years ago by Heinrich.