Page MenuHomeSolus

Add QT5 bindings for Free Pascal - for newest version of GOverlay
Closed, ResolvedPublic

Description

I need it for newest version of GOverlay which just moved to QT5 and needs QT5 bindings for Freepascal, which should be part of Lazarus. On Arch and Fedora they are included in qt5pas. Arch packages it in not the sleekest way, while Fedora separates it into that package while building Lazarus.
I don't know if just building Lazarus against QT5 would be enough or does it need to be separated into qt5pas package, because while building newest version of GOverlay I get /usr/bin/ld: cannot find -lQt5Pas.

Event Timeline

Jacek created this task.Nov 20 2020, 6:12 PM

Lazarus supports targeting multiple GUI libraries to build interfaces. It does it at compile-time in the IDE, so I'm guessing qt5pas is the wrapper for it. I'd rather not require qt5 as a hard dependency for Lazarus, so I think patterning it out into a qt5pas package makes sense, so long as that library doesn't end up with a circular dep.

Jacek added a comment.Nov 20 2020, 7:12 PM

Is the way Arch or Fedora does it good enough? I don't feel experienced enough to do it myself from scratch. Maybe there is somebody more skilled than me that could do it or at least help me.

Jacek renamed this task from Build Lazarus with QT5 support - for newest version of GOverlay to Add QT5 bindings for Free Pascal - for newest version of GOverlay.Nov 22 2020, 2:44 PM

I had a quick look, and adding qt5pas supports adds 5 more files and and creates a -devel packages with a single file in it

trixon added a subscriber: trixon.Nov 28 2020, 4:45 PM

I think patterning it out into a qt5pas package makes sense.

That would be nice to have in order to be able to run qt based lazarus applications.
I built qt5pas for myself so I could run Lazarus as a QT app, but mostly for other creations.

DataDrake triaged this task as Normal priority.Jan 10 2021, 5:26 PM
DataDrake edited projects, added Software; removed Package Requests.
DataDrake moved this task from Backlog to Improvement on the Software board.

I don't have a problem with this so long as it's patterned correctly.

Jacek added a comment.Feb 4 2021, 12:52 PM

Sorry for bringing it up again, but I don't feel confident enough to package and pattern it correctly, and it is needed for newest version of GOverlay for example. Could somebody more experienced look into it? It was even even already done in D4154 and probably it would work with almost no changes.

I can work on that. @Girtablulu, any objections?