Recent

Author Topic: libQt5Pas for ARM (32 bit)  (Read 2939 times)

AlexTP

  • Hero Member
  • *****
  • Posts: 1766
    • UVviewsoft
libQt5Pas for ARM (32 bit)
« on: November 14, 2021, 05:50:45 pm »
I am on Linux x64 PC (Ubuntu 20), and do cross-compiling.
On compiling for ARM with Qt5 WS I got

Error: /home/user/fpcupdeluxe/fpcupdeluxe32/cross/bin/arm-linux/arm-linux-gnueabihf-ld: cannot find -lQt5Pas

How can I solve it?

AlexTP

  • Hero Member
  • *****
  • Posts: 1766
    • UVviewsoft
Re: libQt5Pas for ARM (32 bit)
« Reply #1 on: November 14, 2021, 07:23:19 pm »
I know that I see libqt5Pas files for ARM, in the "cross/lib" subdir. So I just need that precompiled files. Where to get em?

For aarch64 these files are in the "cross/lib/aarch64-linux":

libQt5Pas.so.1
libQt5Pas.so.1.2
libQt5Core.so.5
libQt5Gui.so.5
libQt5Network.so.5
libQt5PrintSupport.so.5
libQt5Widgets.so.5
libQt5X11Extras.so.5
libQt5Pas.so.1.2.9
libQt5Pas.so

zeljko

  • Hero Member
  • *****
  • Posts: 1251
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: libQt5Pas for ARM (32 bit)
« Reply #2 on: November 15, 2021, 08:53:46 am »
Seem that libQt5Pas isn't in path

dbannon

  • Hero Member
  • *****
  • Posts: 2022
    • tomboy-ng, a rewrite of the classic Tomboy
Re: libQt5Pas for ARM (32 bit)
« Reply #3 on: November 15, 2021, 01:04:09 pm »
Alextp, if you used this https://wiki.freepascal.org/Cross_Compile_to_RasPi_from_Linux to setup your cross compiler, I did not test for or even cover Qt5, its all GTK2, sorry !

But if you look back over the process again, we grabbed a whole lot of libraries from the RasPi and took them over for our cross compile setup.  If you have already setup your RasPi for Qt5 apps, you will get libqt5pas1 with the rest. Or should.

So, please go back to where you got the arm libraries from, see if they include libqt5pas1, sure you can work it out from there.

libqt5pas-dev is equally easily fixed, all i really contains is a symlink

libQt5Pas.so -> libQt5Pas.so.1.2.8

You may need to make that symlink in the directory where the arm libQt5Pas.so.1.2.8 library is on the cross compile machine.

Untested but should all work ...

Davo
Lazarus 2, Linux (and reluctantly Win10, OSX)
My Project - https://github.com/tomboy-notes/tomboy-ng

AlexTP

  • Hero Member
  • *****
  • Posts: 1766
    • UVviewsoft
Re: libQt5Pas for ARM (32 bit)
« Reply #4 on: November 15, 2021, 01:29:26 pm »
I don't use RPi, I got cross-compiler from fpcupdeluxe on Linux x64. It installs Qt5pas libs for aarch64, but not for ARM!

af0815

  • Hero Member
  • *****
  • Posts: 937
Re: libQt5Pas for ARM (32 bit)
« Reply #5 on: November 15, 2021, 01:39:15 pm »
Is the message out of fpcupdeluxe or Lazarus ?!
regards
Andreas

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1540
Re: libQt5Pas for ARM (32 bit)
« Reply #6 on: November 15, 2021, 01:54:16 pm »
Fpcupdeluxe cross-libs may contain QT5 libraries if I have time enough to compile libqt5pas [for all these systems], or to find it somewhere online.
As I do not have a recent armv7 system anymore, no updates QT5 libs are available to me.
However, I am in the process of using and updating an old RPi3 to get this done.
So, stay tuned.

AlexTP

  • Hero Member
  • *****
  • Posts: 1766
    • UVviewsoft
Re: libQt5Pas for ARM (32 bit)
« Reply #7 on: November 15, 2021, 03:36:52 pm »
Thanks, DonAlfredo, I will wait.

AlexTP

  • Hero Member
  • *****
  • Posts: 1766
    • UVviewsoft
Re: libQt5Pas for ARM (32 bit)
« Reply #8 on: November 15, 2021, 10:03:09 pm »
 File (.so) can be found here, in one of .deb packs:
http://mirror.dkm.cz/raspbian/raspbian/pool/main/libq/libqtpas/

Now we need other Qt5 files (from Qt framework), linker needs them.
« Last Edit: November 15, 2021, 10:22:10 pm by Alextp »


AlexTP

  • Hero Member
  • *****
  • Posts: 1766
    • UVviewsoft
Re: libQt5Pas for ARM (32 bit)
« Reply #10 on: November 17, 2021, 02:51:08 pm »
Great, I made the linux-ARM-Qt5 version of my editor.

 

TinyPortal © 2005-2018