PDA

View Full Version : Deploy programm for Raspi



mayrhofer
2nd February 2016, 17:47
Hey guys,

i need to deploy my programm,which i have created on my windows working station for raspberry pi2. I need to release it until friday and i have no idea how this works. Fast help would be nice.

Ciao

ChrisW67
2nd February 2016, 20:30
Are you cross-compiling on Windows for RPi, or do you have a Qt program that builds and runs as a native Windows program that you need to build on the RPi? One way or the other you need to generate native RPi executable.

Once you have a native RPi executable then you need to follow the Linux/X11 deployment information (Creating the application pacakage) (http://doc.qt.io/qt-5/linux-deployment.html) to make a deployment bundle. You can then consider wrapping that as a .deb package for the Raspbian distro installer.

mayrhofer
2nd February 2016, 20:40
Hey

I try to install Qt on my Raspberry/Linux Arch - System but i always get an error when i want to create a basic project : "Could not start process "make" (kit: Desktop) when executing step "Make"
I´ve installed g++ and Qt version 5.5.1
------
EDIT:
I have solved the build problem,i forgot to install installed the package base-devel.

Ciao

ChrisW67
2nd February 2016, 20:52
You need to install basic development tools. Find the package containing GNU make and install it.

mayrhofer
2nd February 2016, 20:57
Hey
So now i need to follow the instructions for deploy?(http://doc.qt.io/qt-5/linux-deployment.html) When i want to compile it by default i don´t need to take other option i.e at ./configure -static -prefix /path/to/Qt <other parameters>?
Ciao