Forum > Other

Error building fpGUI

<< < (3/3)

Fred vS:
I hope all is OK with Graeme.

His last commit was in April of last year.
https://github.com/graemeg/fpGUI/commits/develop

MarkMLl:

--- Quote from: Fred vS on August 07, 2022, 10:25:41 pm ---I hope all is OK with Graeme.

His last commit was in April of last year.
https://github.com/graemeg/fpGUI/commits/develop

--- End quote ---

:-( As do we all. But at this point- getting on for 18 months in- I think we need to start thinking about remedial action to avoid the overall community looking bad: at the very least the repo pointed to by https://en.wikipedia.org/wiki/FpGUI needs to be fixed. Does the FPC website itself have any links to the old SF stuff?

MarkMLl

jules.d:
Thanks again Fred & Mark for the advice. I got fpGUI working with the uidesigner but I think you're right in that I'll find Lazarus easier to begin with. I never learned OOP with Turbo  pascal so I have some studying to do before I understand classes etc, which I need to know in order to use fpGUI. At least in Lazarus you're shielded from that to a certain extent and can create software without knowing much about what goes on under the hood.

By the way, there is a link to the fpGUI github site under the "General" tab, but it's not at all clear that you should download from there rather than sourceforge.

I tried installing the qt version (I'm using KDE plasma) of Lazarus using apt but got errors when compiling a simple GUI application, so I guess you're right about issues with packaging.


--- Quote ---I think you said you'd already got FPC 3.2.2, in which case I suggest you build Lazarus from source using e.g. https://sourceforge.net/projects/lazarus/files/latest/download : there's known issues with some distreaux's packaging.

--- End quote ---

So that deb file is the lazarus source, correct? How can I compile the qt version?

MarkMLl:
I'd suggest uninstalling (from the Debian POV) the Lazarus you got via apt or whatever.

You will however need the libqt5pas1 package or similar depending on your Debian version.


--- Code: Text  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---$ apt-cache search -n libqt | grep paslibqt5pas-dev - Development files for Qt5Paslibqt5pas1 - Qt5 interface bindings for Pascallibqt5keychain1 - Qt API to store passwords (QT5 version) 
Download https://sourceforge.net/projects/lazarus/files/Lazarus%20Zip%20_%20GZip/ and put it into somewhere suitable (I'm not sure how orthodox this is, but I usually have a user-writable directory e.g. /usr/local/share/lazarus-stable and then set up symlinks to the binaries in /usr/local/bin).

If getting to grips with it for the first time or on a new system, I suggest a sequence like this, making sure that each step completes


--- Code: ---make all
make clean
make bigide
make clean
make LCL_PLATFORM=qt bigide

--- End code ---

"all" will give you the basic IDE and LCL. "bigide" will do the same but add on more components etc. The final step will do the same but for Qt.

YMMV, but that's what works for me.

I'd add that I really don't know what compelling advantage FPGui has over the LCL, other than that it's arguably lighter-weight.

It has however always struck me as unfortunate that Linux didn't have a text-mode UI builder using Curses etc., i.e. something like MS Visual Basic for DOS, or like the better "4GLs" that were popular in the '90s.

Having a proper form editor, plus database support etc., which /didn't/ demand fancy graphical output, really could have been the killer app that Linux (and FPC) needed.

The industry didn't go that way, and now we've got an enormously complex stack of compositor, server, widget set...

MarkMLl

Navigation

[0] Message Index

[*] Previous page

Go to full version