IDE and PhAb

Yesterday I created my first PhAB application using the IDE. Last
night I shut down my system. This morning I reloaded the IDE and
went into my PhAB project. But I can’t seem to figure out how to load
PhAB for this application. If I try to load PhAB manually, it find
the application and say that it must be opened from the IDE.

How do I do this?

Where should I have learned this?

I swear I looked in the helpviewer under “Integrated Development
Environment” and “Workbench Users Guide”.

Bill Caroselli <qtps@earthlink.net> wrote:
BC > Yesterday I created my first PhAB application using the IDE. Last
BC > night I shut down my system. This morning I reloaded the IDE and
BC > went into my PhAB project. But I can’t seem to figure out how to load
BC > PhAB for this application. If I try to load PhAB manually, it find
BC > the application and say that it must be opened from the IDE.

BC > How do I do this?

BC > Where should I have learned this?

BC > I swear I looked in the helpviewer under “Integrated Development
BC > Environment” and “Workbench Users Guide”.

I found a reference to “Creating a Photon Application Builder project”.
Under this it says "4.When you’ve finished with the wizard, you should
see your new project in the Navigator. To launch PhAB, select your PhAB
project in the Navigator, then click the PhAB launch button in the
workbench toolbar: "

There is a graphic that shows this button. I don’t have one on my
screen.

Is something not installed properly?

Does anyone else find that the learning curve for the IDE is more like
climbing a brick wall?

Dave Boltz <dboltz@qnx.com> wrote:
DB > Hello Bill,

DB > I’ve seen before were people have retrieved this button from resetting their
DB > prospective. If you have any customized settings that you don’t want to
DB > loose, a better way would be to go to “customize prospective” in the
DB > “Window” menu, and make sure the “Photon Appbuilder actions” is checked in
DB > the list marked “Other”.

DB > Regards,
DB > Dave B.


Thnk you. That did the trick.

Why wasn’t that on by default? I never changed it. I didn’t even know
it was there.

How should I have know that it was necessary to do this? The IDE needs
to be MUCH better documented.

Hello Bill,

I’ve seen before were people have retrieved this button from resetting their
prospective. If you have any customized settings that you don’t want to
loose, a better way would be to go to “customize prospective” in the
“Window” menu, and make sure the “Photon Appbuilder actions” is checked in
the list marked “Other”.

Regards,
Dave B.



“Bill Caroselli” <qtps@earthlink.net> wrote in message
news:bkcess$mqp$2@inn.qnx.com

Bill Caroselli <> qtps@earthlink.net> > wrote:
BC > Yesterday I created my first PhAB application using the IDE. Last
BC > night I shut down my system. This morning I reloaded the IDE and
BC > went into my PhAB project. But I can’t seem to figure out how to
load
BC > PhAB for this application. If I try to load PhAB manually, it find
BC > the application and say that it must be opened from the IDE.

BC > How do I do this?

BC > Where should I have learned this?

BC > I swear I looked in the helpviewer under “Integrated Development
BC > Environment” and “Workbench Users Guide”.

I found a reference to “Creating a Photon Application Builder project”.
Under this it says "4.When you’ve finished with the wizard, you should
see your new project in the Navigator. To launch PhAB, select your PhAB
project in the Navigator, then click the PhAB launch button in the
workbench toolbar: "

There is a graphic that shows this button. I don’t have one on my
screen.

Is something not installed properly?

Does anyone else find that the learning curve for the IDE is more like
climbing a brick wall?

Bill Caroselli <qtps@earthlink.net> wrote:
: Why wasn’t that on by default? I never changed it. I didn’t even know
: it was there.

: How should I have know that it was necessary to do this? The IDE needs
: to be MUCH better documented.

There’s a new IDE User’s Guide in the works for 6.3.


Steve Reid stever@qnx.com
TechPubs (Technical Publications)
QNX Software Systems

Bill Caroselli <qtps@earthlink.net> wrote:
BC > Dave Boltz <dboltz@qnx.com> wrote:
BC > DB > Hello Bill,

BC > DB > I’ve seen before were people have retrieved this button from resetting their
BC > DB > prospective. If you have any customized settings that you don’t want to
BC > DB > loose, a better way would be to go to “customize prospective” in the
BC > DB > “Window” menu, and make sure the “Photon Appbuilder actions” is checked in
BC > DB > the list marked “Other”.

BC > DB > Regards,
BC > DB > Dave B.


BC > Thnk you. That did the trick.

One more problem.

I made a PhAB program from under the IDE. The only callback is a *.cc
C++ file. When I try to generate this I get an error:
‘appproto -p *.c > proto.h’ failed.

There is in fact no *.c file in this application. There IS correctly a
abmain.cc and my callback file “callbacks.cc”, as it should be.

This does work when not using the IDE. How do I fix this?

For the record, I am now running 6.2.1B. I haven’t tried to build an
application since I was using 6.2.1A NC. So it may be related to the
‘B’ patch and not the IDE.

Hello Bill,

From PhAB if you go to “Application->Startup Info/Modules.” and uncheck the
“Scan Source Files for Prototypes” you should then be able to generate and
make your project. AFAIK the reason for this is because PhAB doesn’t check
for C++ code.

Regards,
Dave B.

“Bill Caroselli” <qtps@earthlink.net> wrote in message
news:bkcq5r$1ai$1@inn.qnx.com

Bill Caroselli <> qtps@earthlink.net> > wrote:
BC > Dave Boltz <> dboltz@qnx.com> > wrote:
BC > DB > Hello Bill,

BC > DB > I’ve seen before were people have retrieved this button from
resetting their
BC > DB > prospective. If you have any customized settings that you don’t
want to
BC > DB > loose, a better way would be to go to “customize prospective” in
the
BC > DB > “Window” menu, and make sure the “Photon Appbuilder actions” is
checked in
BC > DB > the list marked “Other”.

BC > DB > Regards,
BC > DB > Dave B.


BC > Thnk you. That did the trick.

One more problem.

I made a PhAB program from under the IDE. The only callback is a *.cc
C++ file. When I try to generate this I get an error:
‘appproto -p *.c > proto.h’ failed.

There is in fact no *.c file in this application. There IS correctly a
abmain.cc and my callback file “callbacks.cc”, as it should be.

This does work when not using the IDE. How do I fix this?

For the record, I am now running 6.2.1B. I haven’t tried to build an
application since I was using 6.2.1A NC. So it may be related to the
‘B’ patch and not the IDE.

Dave Boltz <dboltz@qnx.com> wrote:
DB > Hello Bill,

DB > From PhAB if you go to “Application->Startup Info/Modules.” and uncheck the
DB > “Scan Source Files for Prototypes” you should then be able to generate and
DB > make your project. AFAIK the reason for this is because PhAB doesn’t check
DB > for C++ code.

DB > Regards,
DB > Dave B.

I did find this.

But this worked on 6.21A without the IDE.

I like using the proto.h.

I have a new PhAB project created from scratch with the IDE and PhAB.

Now I need to add entries to indHfiles, indOfiles & indSfiles. But
they don’t seem to exist.

How do I get this kind of stuff included in the build?

Bill Caroselli <qtps@earthlink.net> wrote:

I have a new PhAB project created from scratch with the IDE and PhAB.

Now I need to add entries to indHfiles, indOfiles & indSfiles. But
they don’t seem to exist.

How do I get this kind of stuff included in the build?

You will notice that the IDE + PhAB use a layout more like a QNX C project
then a PhAB project outside of the IDE. Simply add in your .c files to
the project and they will be built.

chris


Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/