How to Create a QNX Photon Appbuilder project

Hi all,

     QNX Version:-6.3.2
     IDE Momentics :- 4.0.1

    
       I followed following steps to create a PhAB proj.

      To create a PhAB Project: 

1.From the workbench menu, select File-->New-->Project.... 
2.In the list, expand QNX.  

3.Select Photon Appbuilder Project, and then click Next.
4.Name your project. If you don’t want to use the default location for the
5.project, specify a different one.
6.Click Next.
7.QNX C/C++ project settings(a window) it contains
options Build Variante Make Builder Error Parsers project (Tabs)

Build Variante---->X86(Little Endian) -----> finish

now i got a “Console for PhAB”, and one PhAB window.
But i cont select anything on PhAB Window.

"Now the thing is how to edit the code using IDE and PhAB"

I tried the way mentioned in PhAB USER Guide,but i am not able to see any code.How the code will be i,e., in C++ language or In some script ?

HOW to BUILD the QNX Photon AppBuilder project?

I tried to Build the project by

Righth clicking on PhAB project—>Build project

but iam getting error in “Common.mk” file
Errors Are:- "C:/QNX632/workspace/photonapp/src/abLfiles: No such file or directory photonapp common.mk line 24 1209017090298 111
"

C:/QNX632/workspace/photonapp/src/abWfiles: No such file or directory photonapp common.mk line 23 1209017090298 110

can any one please help me in resolving this issuse

References : HELP of Momentics IDE

regards
amarnath.

Hello Amarnath,
So you have created the PhAB project successfully.
In order to build the project, follow these steps:

  1. In PhAB, select Build->Generate UI
  2. Now leave PhAB alone
    Go to IDE Momentics proper (should be running now) and build this project the same way as any other (non PhAB)

In order to edit the code in PhAB select Window->Show Project.
You can also edit the same code in IDE Momentics proper (in src/ subdirectory in your PhAB project).

It is all well documented, by the way (Help->Photoon->Programmer’s Guide),

Thanks,
Yuriy

Hi,

  thanks for the reply Yuriy,

 To Build a PhBA project u told me to do

→ in PhAB “Build—>Generate UI”

 [b]BUT The thing is iam not able to open Build tab only(I don't have access to  any of PhAB tabs like  File Edit,...tabs) [/b]

 [b] I can open only New Window Style tabs like plain, config window......[/b]

  Moreover i am not having "/src" sudirector in my PhAB project .

what i should do can u please reply for this

will any default project gets created, when we create a QNX PhAB project
as if in QNXC++ project (Welcome to the Momentics IDE)

can u please help me in writing a small promgram of PhAB

if u know any pragramm please send those

thanks

regards
amarnath

Hi,

  thanks for the reply Yuriy,

 To Build a PhBA project u told me to do

→ in PhAB “Build—>Generate UI”

 [b]BUT The thing is iam not able to open Build tab only(I don't have access to  any of PhAB tabs like  File Edit,...tabs) [/b]

 [b] I can open only New Window Style tabs like plain, config window......[/b]

  Moreover i am not having "/src" sudirector in my PhAB project .

what i should do can u please reply for this

will any default project gets created, when we create a QNX PhAB project
as if in QNXC++ project (Welcome to the Momentics IDE)

can u please help me in writing a small promgram of PhAB

if u know any pragramm please send those

thanks

regards
amarnath

Hello,
The very first thing the PhAB does is creating Base Window. You should press “Doneâ€

thanks for the reply yuriy,
i am able to do that with your help

regards
amarnath