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 Error "Icon not found in application".
Ref. No. QNX.000009946
Category(ies) Development
Issue When attempting to add a compiled application that was created using PhAB, to the PDM (Desktop Manager), the large icon is not displayed, and PDM returns the error "Icon not found in application".  The icon was created and compiled in the application.  Why does it not display?
Solution There are several things to keep in mind when adding an icon to an application using Phab:

- Check to see that the names for both icons did not change from the defaults.  Default names are "LIcon" and "SIcon", for large and small icon.  These must be the names for the icons.

- Make certain that the base window knows of the icon module.  This is set in the resources for the base window.  The resource is named "Pt_ARG_ICON_WINDOW", this resource should have the name of the icon module in it.

- Make sure that the icon's sizes do not exceed, or are smaller than the required size.  Large Icon (43x43), Small Icon (15x15).  An icon smaller than that of the required pixel size will result in the icon not being found.  The same applies for an icon that exceeds the sizes.