Closed ShalokShalom closed 6 years ago
Yes.
Yes.
Is there any plans for qt5?Is there anything We can do for help?
Is there anything We can do for help?
Yes - create Qt5 bindings for Common Lisp.
Alright, I will try to find some guide and give it a try. I will do my best, but I'm new here, so don't expect too much.
It is a very non-trivial task. Basically, you'll want to create a CommonQt equivalent that does not bind against Qt4 but against Qt5 instead. And, since you can't use Smoke to bind against Qt5, this means either designing the idea of how to bind against Qt5 from scratch or taking a look at how some other, already existing Qt5 bindings, do it, and copying this behavior into the Lisp world.
I have found a python one and wondering if it is possible to port it.
Someone recently sent me an email apparently successfully using Qt5. I don't have time to investigate it myself, though. I prompted them to post an issue about it on GitHub, but they have not done so since.
So, here's the email content, in public interest:
Hi Nicolas, I am sending you the patch for commonqt5 and instructions to build on Ubuntu
mate 20.04, as well as smokegen, smokeqt5 and Qt 5.15.0 binaries, built on Win 10 and
tested in a Win 7 VM.
In win 7:
Put the path where you have commonqtdll.
Errors when running commonqt tutorial Win 7:
qt.qpa.plugin: Could not find the Qt platform plugin "windows" in "" This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
set QT_QPA_PLATFORM_PLUGIN_PATH=dir\commonqtdll
QWindowsEGLStaticContext::create: Could not initialize EGL display: error 0x3001 QWindowsEGLStaticContext::create: When using ANGLE, check if d3dcompiler_4x.dll is available
set QT_OPENGL=desktop
Link smokegenerador:
https://drive.google.com/file/d/11G2R31U9GvyNbJ8OspzaajESmgFiF08F/view?usp=sharing
Link commonqtdll:
https://drive.google.com/file/d/1XgZgnU2VVV74h8TLnljjv4siR_Fh8sOd/view?usp=sharing
confirm received.
Enjoy it.
The following files were attached to the mail: instructions.zip commonqt5.patch
The commonQt5 version can be obtained from https://github.com/mcristg/commonqt git clone -b commonqt5 https://github.com/mcristg/commonqt
@mcristg That seems phenomenal. Would you add a README and/or a reproducible example?
Fwiw there's some official qt5 discussion here: https://github.com/commonqt/commonqt/pull/49
@Shinmera, sorry for the noise.
No worries!
Y'all thinking about Qt5 and in meanwhile...
Since CommonQt is still on Qt4: is this project too?
P.S: Very nice README, by the way ^-^