LongDirtyAnimAlf / fpcupdeluxe

A GUI based installer for FPC and Lazarus
484 stars 89 forks source link

Xcomponents and htmlviewer can not be build #551

Open JanuszChmiel opened 1 year ago

JanuszChmiel commented 1 year ago

Dear author of FPCUP Deluxe. I Am very sorry that I have to inform you, that FPCUP Deluxe is helpless to build Xcomponents and also htmlwiever. Please, do you think, that you could deeply analyse why Xcomponents can not be compiled and also htmlviewer? I have tried to use Stable FPC stable Lazarus and I have also tried Trunk FPC and Trunk Lazarus but no success. Xcomponents contain many GUI elements and it allow users to write WEB apps by using The Rapid application development by form design.

I AM hoping, that your elite Pascal programming knowledge is The big guarantee that it will be possible to build Xcomponents and all its dependent packages. Thank you very very much for your pgorammers analysis and for your efford and for your time.

LongDirtyAnimAlf commented 1 year ago

I saw the communication on the mailing list also. As a starter. 1). Look here. https://github.com/Steve--W/XComponents/blob/988625022bac5d2d2eac290187ead87b8bee5640/xcomponents.lpk#L52 As you can see, Chromium is enabled by default. Due to this, the package needs CEF4Delphi to compile. However, CEF4Delphi has been updated and is no longer compatible with XComponents. When this define is removed, xcomponents builds with Lazarus 2.2.0 2). Look here. https://github.com/Steve--W/XComponents/blob/988625022bac5d2d2eac290187ead87b8bee5640/xcomponents.lpk#L50 This needs to be removed. Way too much info is generated during build.

I have tried to get it all working with the latest CEF4Delphi. But many changes were needed. I thing its a task of the maintainers of xide and xcomponents to update their sources. I leave this issue open for a while until a fix is available. And will adapt fpcupdeluxe to do an auto-install of all needed components.

JanuszChmiel commented 1 year ago

Dear Don, thank you for your professional answer. By The way. is it possible to use Xcomponents without Xide package? So I would simply choose one of The Xcomponents WEB GUi element in The components tree of Lazarus? And could I also choose default event for some of those Xcomponents GUi elements?