Windows version

Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Windows version

emanuel
I finally managed to build a Windows version with Qt Creator.
Now I just have to adapt the CMakeList.txt for swig and python.

@dxli: can you please add python and swig to pixi for me.
Reply | Threaded
Open this post in threaded view
|

Re: Windows version

dxli
I will look into this one.

emanuel wrote
I finally managed to build a Windows version with Qt Creator.
Now I just have to adapt the CMakeList.txt for swig and python.

@dxli: can you please add python and swig to pixi for me.
Reply | Threaded
Open this post in threaded view
|

Re: Windows version

emanuel
In reply to this post by emanuel
Thanks for the help! - it is so much work...

I'm happy that I finally found the errors when building Windows.
It was banal, they were file names from my src.
I hardly ever do anything in Windows.
I started with C in the mid-90s with Mingw.
But when Linux came along, I didn't do anything in Windows with capital letters anymore.

attached is a screenshot of the color dialogs in scripting (acad_colordlg, acad_truecolordlg)



Reply | Threaded
Open this post in threaded view
|

Re: Windows version

emanuel
Ups, black is still there (index)
Reply | Threaded
Open this post in threaded view
|

Re: Windows version

sand1024
In reply to this post by emanuel
>attached is a screenshot of the color dialogs in scripting (acad_colordlg, acad_truecolordlg)

But why the color dialog in scripting should be different from dialogs used by core?
Reply | Threaded
Open this post in threaded view
|

Re: Windows version

emanuel
because of language compatibility.

A distinction is made between DXF 52 + bylayer/block and 402.
It was a lot of work, but that's AutoLisp. And my LibrePython is based on the AutoLisp dialect. It's again Script API + API Component and can be used 1:1 in the API, also works as a standalone (flag) TrueColor like in the API now.

https://github.com/emanuel4you/LibreCAD/blob/developer/librecad/src/ui/dialogs/color/qg_colordlg.h
Reply | Threaded
Open this post in threaded view
|

Re: Windows version

emanuel
Windows and the color dialogs were a nice little change.

I've been writing the entity accesses and manipulations for weeks and it's going on...

Then everything in Python again, which is really a challenge in this case, for the sake of memory cleanliness. I have to count everything before I return something.

Then all the selection functions ssget are missing...
and the ugly slide is also missing, but we already have svg in the script gui.

The goal is real AutoLisp compatibility for "Libre".