neuronalmotion / qtrpi Goto Github PK
View Code? Open in Web Editor NEWAn easy-to-use environment to cross-compile Qt applications for Raspberry Pi from your desktop.
License: MIT License
An easy-to-use environment to cross-compile Qt applications for Raspberry Pi from your desktop.
License: MIT License
We should split the two different projects with two different github repo:
@synapticvoid : What do think about it?
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
raspi/qt5
+ raspi/qt5pi
)QTRPI_TARGET_DEVICE
sysroot-minimal/
├── lib
│ └── lib
├── opt
│ └── vc
└── usr
├── include
└── lib
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
tag name: v5.6.2
I guess bluetooth comes from the 'qtconnectivity' package (http://code.qt.io/cgit/qt/qtconnectivity.git)
In the compilation log, around "QPA backends"
.pro
, .h
, .cpp
)/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
QTRPI_QT_VERSION
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
init => compile
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.