Our DXF Export currently uses the AutoCAD R12 (AC1006) format. This is one of the oldest/simplest versions, and hence has wide support across applications.

I've been considering adding more advanced features such as filled shapes/polygons, however this would require bumping the version to at least R14 (AC1014). The DXF files would then become quite a lot larger and more complex, and perhaps not be as accessible to 3rd party programs. However there are free conversion packages available that can convert to the older version, so that may not be a problem.

I'm interested to hear any opinions for or against making the change.

2

(3 replies, posted in Export DXF)

Current Beta 0.8 should have reasonable DXF  (R12  -  AC1006 compatible) export.
Let me know if you have specific issues that need addressing.
For more advanced features (eg filled shapes) I would have to bump to R14 - AC1014 version DXF, with added file size and complexity, not sure if it is worth making the move?

After many false leads I finally managed to complete a static build of Qelectrotech on Windows.
Learning a lot, I guess. I didn't end up using my complete static build of Qt, jasper, kcoreaddons and kwidgetaddons...

Here is a partial description, if I get a chance to do a clean VM build I should be able to fill in any blanks.
This was on a Win7 box, I may try it on Win10 next.

The whole install/build should be scriptable.
It may be an idea to add it to the WiKi, where it can be polished and kept up to date?

--- Several attempts at posting later ---

So, the forum doesn't like URLs, and I couldn't post in-line, see attached text file for what I had written here!



1. Install Msys64
   Instructions at https://www.msys2.org/
   Download installer https://repo.msys2.org/distrib/x86_64/msys2-x86_64-20200720.exe
   
2. Install build environment with pacman ("pacman -Syuu" updates system, "pacman -S package_name" installs package)
   Or install as required when attemt builds!

3. Install Qt5 Static build (Probably want to install default shared build as well)
   pacman -S mingw-w64-x86_64-qt5-static

4. Install the extras required for Qet, kcoreaddons and kwidgetaddons
   Not currently available as packages, so have to build them yourself!
   Clone the msys2/MINGW-packages repo https://github.com/msys2/MINGW-packages somewhere local
   Fire up your Msys64 shell and:
   
   git clone https://github.com/msys2/MINGW-packages.git
   cd MINGW-packages
   cd mingw-w64-kcoreaddons-qt5
   KF5_VARIANT=static MINGW_INSTALLS=mingw64 makepkg-mingw -sLf
   pacman -U mingw-w64-x86_64-kcoreddons-qt5-static-5.68.0-1-any.pkg.tar.zst
   cd ..
   cd cd mingw-w64-kwidgetsaddons-qt5
   KF5_VARIANT=static MINGW_INSTALLS=mingw64 makepkg-mingw -sLf
   pacman -U mingw-w64-x86_64-kwidgetsaddons-qt5-static-5.68.0-1-any.pkg.tar.zst

5. Clone the qelectrotech main or mirror repo if not already done
   
   Details to be added:
   Run up qtcreator from your Msys64 shell
   Create a static build package, based on the static qmake
   Open the qelectrotech.pro project from the repo
   Attempt a build from qtcreator (which fails for me) (static, release only. debug is HUGE!)
   cd to the build directory where the qtcreator build failed
   mingw32-make
   Which (for me) succeeds, despite appearing to run exactly the same commands that failed from qtcreator!