QNX RTOS v4 Knowledge Base
QNX RTOS v4 Knowledge Base
Title |
How do I get PtWebCLient.h into an app? |
Ref. No. |
QNX.000007408 |
Category(ies) |
Development |
Issue |
I am trying to include a PtWebClient widget in an app. Right now it is just a base window with a PtWebClient widget. I create a web.h to put some defines plus the #include "photon/PtWebClient.h"
I edit indHfiles to: MYHDR = web.h
I save it and Generate under Build/Run and then Make it. I get an undefined symbol error for PtWebClient. The only way to get rid of the error is to add "#include web.h" to abmain.c by editing. Of course it will disappear on each generation.
|
Solution |
In Phab, in the Application pull down menu-->Startup Info/Modules, place web.h in the Global Header field. |
|