SQLdb is Lazarus answer to Delphi DBExpress. No need to do that now since the problem is gone. AppData\Lazarus is the default configdir, and yes, I suggested to delete that. If I can start with a good set of instructions to follow, then I can give a blow-by-blow account of what happens when I try to follow those instructions and then hopefully someone can diagnose what is going wrong.Ĭaravelle (very frustrated Glad it worked. I've tried both and I get different error messages. the wiki at says there is no official release for Lazarus yet and recommends using a SVN version. It would be very helpful to have a pointer to clear, accurate, download and installation instructions which are known to work. Rather than rant can I start to sort this out by asking if there is anyone here who has recently succeeded in installing ZEOS into Lazarus 1.0.12, FPC 2.6.2 or near enough for Windows 32. There are contradictory instructions wherever I look and none of them work. so files.In another thread I was recommended to try the ZEOS components for using sqlite.įor the second time I have wasted a considerable amount of time trying to install ZEOS and failing. Then open file "~/.bashrc" (I assume OS uses Bash) and add there:Ĭreate additional symlink(s) there too, if the error tells about concrete filename like "libQt6Pas.so.1.0.2".ĭo log-out and log-in. To fix it, unpack libQt6Pas.so* files from GitHub page to e.g. If you compile the app OK, but cannot run the binary, try to run it again from the Terminal. Then FPC must get past the libQt6Pas step, but it can fail further on if you have not installed the general Qt6 libraries mentioned above. However, you could download the tar.gz file from Github, untar and put the library and two symlinks, "libQt6Pas.so" and "libQt6Pas.so.6.2"in the folder of "fpc" binary. Putting libraries in non standard places and trying to point to them is never a good idea on Unix system. By far the best approach is to either build the library yourself and install it in the proper place or download and install the pre-built ones mentioned above. This means it cannot find the "libQt6Pas.so" file. If you don't download libQt6Pas library, FPC will give the error on compiling your Qt6 app, something about "cannot link to library Qt6Pas". Note that the deb packages on the Unofficial libQt6Pas Github site (click "releases", right hand side) will take care of the dependencies mentioned above. Assuming you already have the run requirements, FPC and Lazarus installed, this will need an additional 4meg download and will use up an additional 28Meg of diskspace. To build Qt6 Lazarus apps, you need qt6-base-dev (deb based) or qt6-qtbase-devel (rpm based). It will typically need a download of around 10Meg and additional disk usage of 33Meg. Your particular app may need several more libraries of course, this is just the basic requirements. To just run a Qt6 app, you need, perhaps (TBC) only libqt6core6, libqt6gui6, libqt6printsupport6, libqt6widgets6 and qt6-qpa-plugins. Qt does not provide 32bit builds of Qt6, so download 64bit Qt >= 6.2.x and build your own Qt6Pas1.dll 64bit.ĭownload Qt6 library and install, build your own Qt6Pas framework. It is sometimes possible to install from other repos or as kits from Qt themselves but it might be a bit of a task.įurther, until Lazarus 3.0 is released and makes it into your Distribution of choice, you must build libQt6Pas on your own, or download pre-built (all care, no responsibility) packages for some platforms from 'Releases' of this GitHub page. Most current short term Linux distros have a suitable Qt6 in their standard repositories, but LTS ones like Debian Bullseye and Ubuntu 20.04 do not. Please, if you have tested other distributions, add them to this list ! Fedora 37 - 6.3.1 (has Save Dialog Problem).Ubuntu 22.10 - 6.2.4 (has Save Dialog Problem).Ubuntu 22.04 - 6.2.4 (has Save Dialog Problem). Qt6 6.4.1 is in experimental so may not be too far away.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |