[Pas2js] Pas2JS_Widget woes

Michael Van Canneyt michael at freepascal.org
Fri Jul 22 16:53:53 CEST 2022



On Fri, 22 Jul 2022, Luca Olivetti wrote:

> El 21/7/22 a les 21:48, Luca Olivetti ha escrit:
>> El 21/7/22 a les 21:38, Michael Van Canneyt ha escrit:
>>>> 
>>>> I wonder why when I create a new "Web GUI Application (Pas2JS)" lazarus 
>>>> cannot compile the project (the custom compiler options are "
>>>> -Jeutf-8 -Jirtl.js -Jc -Jminclude -JRjs").
>>> 
>>> Because it attempts to compile the dependencies of your project, and that 
>>> fails.
>>> 
>> 
>> Then what's the point of "Web GUI Application (Pas2JS)"?
>> Just to create the form(s) and the compilation has to be done manually?
>
> I looked this video
>
> https://www.youtube.com/watch?v=Hxb-An_61D8
>
> (I think it's about a previous version of the pas2js widgetset).
>
> At 4:19 I see that he clicks on the "Play" button in the lazarus ide to 
> compile the project and start the browser, but in my ide the play button is 
> greyed out.
>
> Again, am I doing something wrong? What am I doing wrong?
>
> The only dependencies of the project are WCL and pas2js_rtl.

Are you using an official release of lazarus ? Or trunk version ?

In the trunk version, it should work. 
In fact, support for running has been very much improved.

Michael.


More information about the Pas2js mailing list