Giter Club home page Giter Club logo

libqt5pas's People

Contributors

davidbannon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

libqt5pas's Issues

Webkit & Webengine text fields

Hi David.
I'm interesting of using qt5 webkit or webengine with lazarus.
At the moment the only way to use these widgets is to create them from a wrapper library and then attach to a running form.
So i recompiled this libqt5pas library and re-added webkit and webengine wrapper functions back because they were excluded for a while.
Both widgets are loaded and displayed but ... if i load https://google.com keyboard input doesn't seem to work.
Hardware keyboard doesn't work in both cases while virtual keyboard (from a webpage) works only with webengine.
Also when i click inside a text field in a page loaded in webengine i see cursor for a moment and then it disappears.
Webkit text fields do not show cursor at all.
I also recompiled lazarus with qt4 to check webkit behavior with bundled libqtpas library and it was all the same: no cursor and no keyboard input.
Have you seen such behavior before ? May be there is something else to do to make it work.
Here is what i did inside lazarus code.

Widget := TQtMainWindow(Self.Handle);
w:=widget.GetContainerWidget;
v := QWebView_create(w);
QWidget_setGeometry(v,0,0,Width,Height);
QWidget_show(v);
url := 'https://google.com';
qurl := QURL_create(@url);
QWebView_load(v, qurl);

Operating system is Ubuntu 22.
Same code compiled with c++ / qt works fine.
Both webkit and webengine widgets work as expected.
Thanks.
Ivan

Publish releases for ARM 32-bit and AArch64, please

I see that FPC 3.2-fixes cross for aarch64 gives LibQt5pas files! in the folder "cross/lib/aarch64-linux" I see those N files.

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

But.... not such files for ARM 32bit in the cross for ARM.

Add cmake based build script

qmake generated makefile based project that building very slow on my system even if I specified make jobs equals to the cores of my cpu so I managed to write a cmake based buid script to use with the ninja generator and it's really much faster.

CMakeLists.txt

Build scripts need attention

David, you were half way through moving from individual deb/rpm scripts. the script package-lib needs work, in particular -

It does not correctly make the rpm package because the final part of version number is not being inserted into the spc file, we end up with a spec file containing "INSERT_EXTRAVER" and "INSERT_FULL_VER".

The rpm-package script, on the other hand, does not make a correct devel rpm file, it leaves the dev symlink with a stupid long path prepended to the target file name. package-lib does this properly !

This sure is a "can do better" !

David

Workflow test

Just triggering a workflow, again and again
more triggering, again and again, run 5 one more run, run 7

*dev files in Release

libqt5pas-dev-2.10-2.armhf.rpm 174 KB 2022-11-07T08:25:33Z
libqt5pas-dev-2.10-2.x86_64.rpm 174 KB 2022-03-01T11:00:27Z
libqt5pas-dev_2.10-0_arm64.deb 137 KB 2022-11-07T09:43:43Z
libqt5pas-dev_2.10-0_armhf.deb 137 KB 2022-11-07T08:25:39Z

these 'dev' files. they are MUCH smaller and it seems files have only some broken symlink (not pointing to real file). I did not use them and only used
libqt5pas1_2.10-0_arm64.deb .

Feature request: describe rpm/deb creation

The /cbindings/README.TXTdescribes how to compile and install the library locally. Can you extend the README.md to describe the process of creating .rpm and .deb files?

Fix package scripts

The rpm package script does not track release number correctly, requires manually editing spec file, make it more like the libQt6 version before Z makes another release.

And better docs too, we now have a libQt6 style qt5update.bash script, that good but undoc'ed right now.

Davo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.