I used raspberry version-Lite version with no graphical interface, on the official website you can download the ISO image, I would not have posted here.
Then to burn system 16G memory card, installed on the raspberry pie, connect the monitor to see if the output, output, if any, that preparations have been made.
PI account log in, install Qt development environment:
sudo apt-get upgrade
sudo apt-get update
sudo apt-get install qtcreator
May be a bit slow, patient wait; wait until the installation is over, at the command line enter: qmake, see if there are reactions, if there is a reaction, then congratulations,you have half the battle!
Because there is no Lite version of the graphical interface, so it supports the Windows graphical interface displays, we need to install it X-server, on what X-server, you can go to look on the Web, simple graphical interface must be understood as the operating system to display conditions, specific commands are:
sudo apt-get install xorg
Because the API used mplayer playing, so to install mplayer, Mplayer, you can also go to learn more about the Internet, know that it is a multimedia player can be a specific command:
sudo apt-get install mplayer
We networking, raspberry pie, through cable, local area network or wireless network card to connect to the current, so that you can using the remote SSH raspberry pie, the specific connection I do not repeat them here, there are many tutorials on the Web.
Here, already have all the conditions, just develop software running. Well depending on how to develop it? Then on the computer platform, download QT,Qt there are a lot of versions, this version is 3.0.1 for me. About how Qt is installed on the computer, I think you should, it will not repeat.
Then there's development, source code download in the end, after the debugging on a computer, determines there is no BUG (note that version would sometimes result in an error, look when installed), using the FTP tool, I use FileZilla, spread to Raspberry pie, it is best to create a new folder, I/home/PI/player this path.
OK, then when it comes to exciting: compiling software. Directory to place you FTP into the QT program to begin implementation of these three commands:
Qmake-project # this command is used to build the Qt project;
Qmake #Qt compiler to initialize the project;
Make # commands are very familiar, not much explanation.
This process is very slow, don't be impatient, play phone, about 1 minute or so, to see if there is no BUG output, then congratulations, you made it! Then hurried to try to run it? Ls to see if you have a. o files, if you see the files already generated software to test: enter./Player (this is the generated names, of course, you can define your own), if a window appears on the screen, you should be excited, that's right, you have succeeded in making a simple embedded work.
We'll get him at boot, then modify the RC.local script file, add startup code, when you restart, you will find that the monitor has a player's interfaces.