This is a Breakout game QPKG example.
The following instructions can help you to build and use this QPKG.
Before start to develop your QPKG or use this example, NAS should already setup the QDK environment:
In QTS Desktop, open App Center.
Search QDK and install the latest version.
Upload this project to one of your NAS folder.
Login to QNAP NAS and execute qbuild command to build this qpkg.
For example:
[admin@SW4-TS42 breakout]$ pwd
/share/CACHEDEV1_DATA/QDK-Guide/example/QPKG/breakout
[admin@SW4-TS42 breakout]$ ls
arm-x19/ arm-x41/ build/ icons/ qpkg.cfg x86/ x86_ce53xx/
arm-x31/ arm_64/ config/ package_routines shared/ x86_64/
[admin@SW4-TS42 breakout]$ qbuild
Creating archive with data files for arm-x19...
Creating archive with control files...
Creating QPKG package...
Creating archive with data files for arm-x31...
Creating archive with control files...
Creating QPKG package...
Creating archive with data files for arm-x41...
Creating archive with control files...
Creating QPKG package...
Creating archive with data files for arm_64...
Creating archive with control files...
Creating QPKG package...
Creating archive with data files for x86...
Creating archive with control files...
Creating QPKG package...
Creating archive with data files for x86_64...
Creating archive with control files...
Creating QPKG package...
Creating archive with data files for x86_ce53xx...
Creating archive with control files...
Creating QPKG package...
[admin@SW4-TS42 breakout]$ ls build/
breakout_0.1_arm-x19.qpkg breakout_0.1_arm-x31.qpkg.md5 breakout_0.1_arm_64.qpkg breakout_0.1_x86.qpkg.md5 breakout_0.1_x86_ce53xx.qpkg
breakout_0.1_arm-x19.qpkg.md5 breakout_0.1_arm-x41.qpkg breakout_0.1_arm_64.qpkg.md5 breakout_0.1_x86_64.qpkg breakout_0.1_x86_ce53xx.qpkg.md5
breakout_0.1_arm-x31.qpkg breakout_0.1_arm-x41.qpkg.md5 breakout_0.1_x86.qpkg breakout_0.1_x86_64.qpkg.md5
[admin@SW4-TS42 breakout]$
After successfully build QPKG.
Download the corresponding QPKG file in build/ folder to your computer. (depends on the architecture of your QNAP NAS model)
In QTS Desktop, open App Center.
Then manual Install the QPKG.
Now you can test this example QPKG and start to develop your own.