Login  Register

Re: Qt6 migration

Posted by marko.p.radojcic on Nov 15, 2023; 6:11pm
URL: https://forum.librecad.org/Qt6-migration-tp5723851p5723870.html

marko.p.radojcic wrote
I managed to build and start on Linux with Qt 6.6.0, the program starts. But many options cause it to crash.

The build on mac also produced ~40 warnings. I will test same options on mac build again.

Adding text doesn't work, and just clicking on hatch in Linux causes a crash with mention of adding a Layout to a Window that has layout. I will try to look at debug output. It is caused by a non-default font. It doesn't work anymore.

To cleanup the qt6 branch I think we should first clear all the type casting and other warnings.

This way we eliminate other potential random behavior.

Also, to get LibreCAD i just compiled to run on Linux I needed to install libxcb-cursor0 package.

I will first try to make improvements to my translation that is slowly progressing, then I would like to test it.

Is it possible to download the translated file and run it in LibreCAD prior to release of translation? To actually see it in action ?

Do we have a QA task checklist to test each new release ?
To answer some of my own questions. It is possible to temporarily add a translation to the build by adding to system.cpp the needed translation line (if it doesn't exist already) and adding 2 file to the tree one for LibreCAD and one for Plugins. This enabled me to check and see how things looked in the translation I made and to spot some of my errors. Files can be retrieved at Weblate by downloading zip files for translations for LibreCAD and for Plugins (even if they are incomplete).

Also, make sure not to commit and push this change unless language file is approved.