Home
Developer Resources
QNX RTOS v4
QNX RTOS v4 Knowledge Base

QNX RTOS v4 Knowledge Base

Foundry27
Foundry27
QNX RTOS v4 project
Resources

QNX RTOS v4 Knowledge Base

Title Minimum required files to run Photon
Ref. No. QNX.000006453
Category(ies) Installation
Issue We want to use Photon 1.1x on an embedded system.  What are the minimum required files to run Photon?

Solution This is the list of the minimmum files needed to run Photon:

Optional files indicated by a (-) preceding the filename

environment variables:
x09PHOTON_PATH should be set to /usr/photon/
x09PHFONT should be set to /dev/phfont

/usr/photon/bin/
x09Photon
x09phfont
x09one of phfontpfr, phfontphf, phfontall (phfontphf is smallest)
x09-pwm
x09-pdm
x09phlib_s11
x09-phlib_render_11 ( if printing or double buffer containers are desired )
x09-Aplib_s11 ( if any of your apps are linked shared in PhAB 1.13)

/usr/photon/font/ ( you should use "fontcfg" to setup the following 5 files )
x09fontdir
x09fontext
x09fontmap
x09fontopt
x09mappings
x09phcursor.phf
x09[... any fonts which your apps use..]
x09[ most common are helv 10 and 12 regular and bold ]
x09
-/usr/photon/pdm/ ( only needed if pdm is included )
x09defaults
x09bkgd  [any from here you want]
x09savers [any from here you want]
x09
/bin/
x09-Input (If you don't have this, your photon session is display only)

/usr/photon/keyboard/ (include any .kbd keyboard files used (.kdef's not required))