OpenQNX :: The QNX Community Portal

May 13, 2008 - 12:28 PM
Google
  Web openqnx.com   
     Create an account Home · Submit News · QNX Forums · QNX Download · Search   
_
Main Menu
Who's Online
There are 55 unlogged users and 2 registered users online.

You can log-in or register for a user account here.

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
amarnath
Post subject: How to Create a QNX Photon Appbuilder project  PostPosted: Apr 24, 2008 - 06:12 AM
Active Member


Joined: Apr 15, 2008
Posts: 10

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.
 
 View user's profile Send private message  
Reply with quote Back to top
ysinitsky
Post subject: RE: How to Create a QNX Photon Appbuilder project  PostPosted: Apr 24, 2008 - 01:30 PM
Active Member


Joined: Dec 14, 2005
Posts: 34

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
 
 View user's profile Send private message  
Reply with quote Back to top
amarnath
Post subject: How to Create a QNX Photon Appbuilder project  PostPosted: Apr 25, 2008 - 07:42 AM
Active Member


Joined: Apr 15, 2008
Posts: 10

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
 
 View user's profile Send private message  
Reply with quote Back to top
amarnath
Post subject: How to Create a QNX Photon Appbuilder project  PostPosted: Apr 25, 2008 - 07:43 AM
Active Member


Joined: Apr 15, 2008
Posts: 10

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
 
 View user's profile Send private message  
Reply with quote Back to top
ysinitsky
Post subject: RE: How to Create a QNX Photon Appbuilder project  PostPosted: Apr 25, 2008 - 01:26 PM
Active Member


Joined: Dec 14, 2005
Posts: 34

Hello,
The very first thing the PhAB does is creating Base Window. You should press “Done” when PhAB suggests creating base window.
Have you passed this stage?
Thanks,
Yuriy

Please see attached example.



ph_timer_and_button.zip
 Description:

Download
 Filename:  ph_timer_and_button.zip
 Filesize:  18.4 KB
 Downloaded:  18 Time(s)

 
 View user's profile Send private message  
Reply with quote Back to top
amarnath
Post subject: How to create qnx photon appbuilder project  PostPosted: Apr 30, 2008 - 05:49 AM
Active Member


Joined: Apr 15, 2008
Posts: 10

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



regards
amarnath
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
All logos and trademarks in this site are property of their respective owners. The comments are property of their posters.
Powered by OpenQNX: The QNX Community Portal Site
QNX and the QNX logo are registered trademarks of QNX Software Systems.