View topic - How to Create a QNX Photon Appbuilder project

How to Create a QNX Photon Appbuilder project

Discussion about the general applications that run on QNX6

How to Create a QNX Photon Appbuilder project

Postby amarnath » Thu Apr 24, 2008 6:12 am

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.
amarnath
Active Member
 
Posts: 10
Joined: Tue Apr 15, 2008 9:35 am

RE: How to Create a QNX Photon Appbuilder project

Postby ysinitsky » Thu Apr 24, 2008 1:30 pm

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
ysinitsky
Senior Member
 
Posts: 164
Joined: Wed Dec 14, 2005 8:46 pm

How to Create a QNX Photon Appbuilder project

Postby amarnath » Fri Apr 25, 2008 7:42 am

Hi,


thanks for the reply Yuriy,

To Build a PhBA project u told me to do
-> in PhAB "Build--->Generate UI"

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)

I can open only New Window Style tabs like plain, config window......

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
amarnath
Active Member
 
Posts: 10
Joined: Tue Apr 15, 2008 9:35 am

How to Create a QNX Photon Appbuilder project

Postby amarnath » Fri Apr 25, 2008 7:43 am

Hi,


thanks for the reply Yuriy,

To Build a PhBA project u told me to do
-> in PhAB "Build--->Generate UI"

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)

I can open only New Window Style tabs like plain, config window......

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
amarnath
Active Member
 
Posts: 10
Joined: Tue Apr 15, 2008 9:35 am

RE: How to Create a QNX Photon Appbuilder project

Postby ysinitsky » Fri Apr 25, 2008 1:26 pm

Hello,
The very first thing the PhAB does is creating Base Window. You should press “Doneâ€
Attachments
ph_timer_and_button.zip
(18.4 KiB) Downloaded 335 times
ysinitsky
Senior Member
 
Posts: 164
Joined: Wed Dec 14, 2005 8:46 pm

How to create qnx photon appbuilder project

Postby amarnath » Wed Apr 30, 2008 5:49 am

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



regards
amarnath
amarnath
Active Member
 
Posts: 10
Joined: Tue Apr 15, 2008 9:35 am


Return to QNX6 - Applications

Who is online

Users browsing this forum: No registered users and 2 guests