scorpio810 wrote:

I 'm think binary provided by Qt in version 5.15.2 is now very old and obsolet, the best way it's was to get last Qt 5.15.16 source code  and compile yourself Qt and can you configure how use sqlite 3!
https://forum.qt.io/topic/121798/fun-an … -5-15-0/18

Thanks for pointing that out. Crazy that Qt only provides latest 5.15.2 via their Online Installer!

FYI - I spent a few hours and worked through all the issues for building on windows. (cross-posting from the sticky'd windows post: https://gist.github.com/ssweber/0519e50 … 49b280c0e6

I was interested in building from source, as there are a few small features I'd like to possibly working on.

Based on everyone's advice and my experience, I created a How-To Guide.

Building QElectrotech On Windows: https://gist.github.com/ssweber/0519e50 … 49b280c0e6

  • I updated paths to match what Qt 5.15.2

  • Added `-DBUILD_SHARED_LIBS=OFF` when building kcoreaddons & kwidgetsaddons. No need to rename .dll files, and then they are properly included into the .exe

  • Properly build the `.lib` file to include Sqlite. Modify .pro file to match.

  • Use windeployqt to create file.

  • Launching with the .bat file

(I'm not sure I have the Sqlite part quite right, it crashes QElectroTech while `Export the internal project database`. Will investigate more and update if I figure it out)