Heinrich

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Cross-compiling Qt Embedded 5.5 for Raspberry Pi 2 #7212
    Heinrich
    Participant

    Hi man,

    I found a work around to compile qt5 on the Pi, with visualdbg. Hopes this helps

    1. Download new VisualGDB (windows machine)
    2. sudo apt-get update (on pi)
    3. sudo apt-get install qtdeclarative5-dev (on pi)
    4. 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

    1. Now in visual studio start new Linux project
    2. Use Qt
    3. Project template = A QT-based application
    4. Build the project locally with cross-compiler
    5. Synchronize headers and libraries add /opt and /etc
    6. 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.
Viewing 1 post (of 1 total)