Thanks! This solved the x664 issue because also with this Qmake made win32 as target. In MSVC I could change this to x64 and compile the DLL.
However I still cannot use it as plugin, because my Qt here is the one from the FreeCAD LibPack, compiled using MSVC 2015. I have MSVC 2017 installed and I found by googling that Qt designer and the DLL must be compiled using the same MSVC version. That is odd.
However the LibPack already has 3 plugins in its designer folder
Code: Select all
D:\FreeCAD-build\FreeCADLibs_12.1.4_x64_VC15\plugins\designer
I also tried to set the environment variable
Code: Select all
QT_PLUGIN_PATH
However, I'll make a PR to add the project file making it others easier to compile at least.
At my main development PC I have my own full Qt installation and I'll try it there.