Login  Register

[fixed] github src broken

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
10 messages Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

[fixed] github src broken

emanuel
44 posts
This post was updated on Mar 23, 2025; 3:54pm.
/usr/lib/qt6/libexec/uic --connections string ../../../LibreCAD/librecad/src/ui/dock_widgets/views_list/lc_namedviewslistwidget.ui -o ../../generated/librecad/ui/ui_lc_namedviewslistwidget.h
uic: Error in line 58, column 22 : Unexpected element fontweight
File '../../../LibreCAD/librecad/src/ui/dock_widgets/ucs_list/lc_dlgucsproperties.ui' is not valid
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: github src broken

dxli
1972 posts
Hi emanuel,

"fontweight" was introduced after Qt-6.4.2, and it appears that we either remove this attribute, or update the building requirement.

emanuel wrote
/usr/lib/qt6/libexec/uic --connections string ../../../LibreCAD/librecad/src/ui/dock_widgets/views_list/lc_namedviewslistwidget.ui -o ../../generated/librecad/ui/ui_lc_namedviewslistwidget.h
uic: Error in line 58, column 22 : Unexpected element fontweight
File '../../../LibreCAD/librecad/src/ui/dock_widgets/ucs_list/lc_dlgucsproperties.ui' is not valid
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: github src broken

emanuel
44 posts
I'm currently working on a Raspberry Pi 5 with the original OS, and it's 6.4.2, hence the error. I overwrote it with family to build.
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: github src broken

dxli
1972 posts
My wrong call. It appears to be that "fontweight" has been replaced with "weight".

I have fixed this issue in master. Also fixed linux-arm64 and win64 building issues.

@sand1024

Please add microsoft RC files in your codebase, as those files are needed for win64 building, and only placeholders are currently in master.

emanuel wrote
I'm currently working on a Raspberry Pi 5 with the original OS, and it's 6.4.2, hence the error. I overwrote it with family to build.
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: github src broken

sand1024
101 posts
@dxli
Ups, sorry for this. Yes, due to some weird reasons RC file was not committed :(

I've created a small patch with update, sorry for this.

Please fine PR there - https://github.com/LibreCAD/LibreCAD/pull/2081
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: github src broken

emanuel
44 posts
@dxli: Thanks, the pixi is already working. What I'm still missing in the pixi build is this:
https://discourse.cmake.org/t/need-help-using-swig/13791

It's easy to do in QtCreator. But I don't know much about CMake.

@sand1024
: They all probably need to be adapted for UCS as well? https://github.com/LibreCAD/LibreCAD/tree/master/librecad/src/plugins
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: github src broken

sand1024
101 posts
@emanuel

Yes, for sure - and so far they does not support UCS, actually I've planned to review them in later in separate PR.

 However, I suspect that when you'll finalize scripting, existing plugins may be less important.
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: github src broken

emanuel
44 posts
In reply to this post by emanuel
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: github src broken

dxli
1972 posts
Great work!

emanuel wrote
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: github src broken

emanuel
44 posts
thanks :-)