Forum > QT

[SOLVED] QT5 with latest Lazarus has undefined references

<< < (2/8) > >>

zeljko:
From lazarus svn. Distro one is missing QAccessibilityWidget implementation.
You cannot use lazarus-qt5 trunk without rebuilding libqt5pas manually.
Distro version will be updated when lazarus-2.2 is out I guess, current distro version is probably 1.2.8,
trunk version is 1.2.9.

MarkMLl:
Thanks, I'll investigate and report back.

On Debian "Buster" (stable) libqt4pas-dev is reported as 2.5-18 (I might actually have got that from the previous distro version) and libqt5pas-dev as 2.6~beta-6. On "Bullseye" (testing) libqt5pas-dev is reported as 2.6+2.0.8+dfsg-2... I'm not sure how those versions tie in with the ones you've mentioned


--- Quote ---cd lcl/interfaces/qt5/cbindings
qmake -query && qmake && make

--- End quote ---

OK, I see the relevant files in my local lazarus-trunk, I'd been indulging in the "recreational impossibility" of finding a repository with an unknown name on the FPC Subversion server :-)

MarkMLl

AlexTP:
Users need to reinstall libqt5Pas. If they use app from Lazarus trunk.
From 'releases' from here
https://github.com/davidbannon/libqt5pas/

MarkMLl:

--- Quote from: Alextp on April 06, 2021, 12:55:16 pm ---Users need to reinstall libqt5Pas. If they use app from Lazarus trunk.
From 'releases' from here
https://github.com/davidbannon/libqt5pas/

--- End quote ---

"Reinstall" doesn't come into it, since OP and myself have the "official" packages from our distro which are potentially signed etc. "Replace" would be more appropriate, but GOK if that would cause backwards compatibility issues.

Noting that the Github repository has been updated today i.e. after OP started the thread:

I think the really useful thing there is https://github.com/davidbannon/libqt5pas/blob/master/cbindings/README.TXT which gives the basic build instructions with the numbering rationale being in https://github.com/davidbannon/libqt5pas/blob/master/README.md

If my understanding is correct Debian's 2.6 corresponds to his 1.2.6 etc.

Building from lazarus/trunk sources looks like a problem on a comparatively clean system, I've got as far as


/usr/local/share/lazarus-trunk/lcl/interfaces/qt5/cbindings$ qmake -query
qmake: could not exec '/usr/lib/qt5/bin/qmake': No such file or directory


...I'll come back to this but right now I've got company accounts to work on.

MarkMLl

AlexTP:
I've got the same error on build:
qmake: could not exec '/usr/lib/qt5/bin/qmake': No such file or directory

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version