Giter Club home page Giter Club logo

qtrpi's People

Contributors

guillaumelazar avatar jczacharia avatar rose-a avatar synapticvoid avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

qtrpi's Issues

Fix compilation on rpi3

Only if we are compiling on rpi3, we must also update the qmake.conf with this fix:

path:
modules/qtbase/mkspecs/devices/linux-rpi3-g++/

replace the line
$$QMAKE_CFLAGS -std=c++1z
by
$$QMAKE_CFLAGS -std=c++11

Create deploy-qtrpi.sh

  • On Raspberry pi:
    • Create /usr/local/qt5pi/ folder with correct rights
    • Rsync qt5pi
    • Install depedencies libts-0.0-0 libinput5
    • Create file /etc/ld.so.conf.d/qt5pi.conf
    • ldconfig

Create a init-qtrpi-minimal.sh

  • Create /opt/qtrpi folder
  • Deploy raspbian/sysroot (minimal)
  • Deploy raspi (qt5, qt5pi and tools)
  • Create qmake-qtrpi symlink to qt5/binqmake

deploy_qtrpi.sh script has hard coded username

the deploy script uses the hard coded user account of "pi" to set the file owner:group, which prevents other user accounts from succeeding when used to install on the pi.

ssh $TARGET_HOST 'sudo mkdir /usr/local/qt5pi ; sudo chown -R pi:pi /usr/local/qt5pi'

suggest something like this like using cut, sed or awk on QTRPI_TARGET_HOST

nbkhwjm@Pi-Builder:~/qtrpi$ echo $QTRPI_TARGET_HOST | cut -d@ -f1
nbkhwjm

I had to manually change the owner group then rerun the script without --prepare-rpi

Update README

  • introduction with link to the official site
  • used vars env

Fix compilation on rpi3

/opt/qtrpi/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld.gold: error: .obj/qfiledevice.o: unknown CPU architecture

Fix compilation on rpi1

qt modules seems ok but the example qopenglwidget cannot but generated

guillaume@desktop-linux:/opt/qtrpi/raspi/qt5/bin$ rcc rcc: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/rcc': No such file or directory

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.