Mario Camargo(deleted)
|
Re: How to add a custom widget to Momentics in SDP 6.4.1?
|
Mario Camargo(deleted)
02/23/2010 2:28 PM
post48078
|
Re: How to add a custom widget to Momentics in SDP 6.4.1?
Ok, this it's definitely helpful, now at least i know what and where to look
to get this done.
Thank you very much. Im gonna try, and if it doesn't work hopefully i can
get a little more help here :)
Mario.
2010/2/23 Max Feil <community-noreply@qnx.com>
> Hi Mario. To develop a custom widget using PhAB for Windows there are
> two mandatory steps and a third optional step.
>
> 1) The custom widget must be built for the target you are using. This
> will be the .so file that runs on the target.
> 2) PhAB palette and template files must be created to allow you to add
> instances of your widget within PhAB. This step is documented. Note that
> you will not see the contents of your widget within PhAB (just on the
> target) unless you also perform step 3. But this will not affect your
> ability to create instances of your custom widgets, specify resources,
> add callbacks, etc.
> 3) This step is optional and a bit tricky. To also see the contents of
> your custom widget in a WYSIWYG manner within PhAB, you need to build a
> Windows dll of your custom widget. This is documented in the "Using PhAB
> Under Microsoft Windows" appendix of the Photon Programmer's Guide. You
> will need to install the Cygwin development environment and toolchain in
> order to build your dll on the host. Depending on the version of cygwin
> you use, the compile and link lines in the documentation may need to be
> modified. You will need to experiment. That's the tricky part :)
>
> Hope this helps,
> Max
>
> -----Original Message-----
> From: Mario Camargo [mailto:community-noreply@qnx.com]
> Sent: Tuesday, February 23, 2010 1:12 PM
> To: momentics-community
> Subject: How to add a custom widget to Momentics in SDP 6.4.1?
>
> Hi, i haved installed the QNX 6.4.1 OS in a server, i figured out that
> the IDE does not come in, so i have it in Windows instead, but i need to
> develop a custom widget (wich by the way i still don't know much about
> how to do it). I have the code, i have the .so library file i managed
> to get from an example in the documentation, and the PDF says something
> about palete and template files in the PhAB, but i'm confused since the
> PhAB i'm using it's in Windows not in my target, where i compiled the
> widget.
>
> I hope my problem it's clear. Any help will be a breath of fresh air.
>
> Greetings.
>
> Mario.
>
>
>
> _______________________________________________
>
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post48052
>
>
>
>
> _______________________________________________
>
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post48074
>
>
|
|
|