Mark,
Just got done building, and I did encounter the same issue again:
Qt5 GUI app (embroidermodder2.exe) written in C++ and should work with mxe's qmake: FAIL
Command line converter app (libembroidery-convert.exe) which is written in C89 and does not rely on Qt, but I use mxe's qmake to build it: PASS
Here is exactly how I cross-compiled the executables:
cd embroidermodder2
make distclean
export PATH=/mydata/mxe/usr/bin:$PATH
/mydata/mxe/usr/i686-pc-mingw32.static/qt5/bin/qmake CONFIG+=deploy
make
[embroidermodder2.exe is successfully made but fails in windows]
cd ../libembroidery-convert
make distclean
/mydata/mxe/usr/i686-pc-mingw32.static/qt5/bin/qmake CONFIG+=deploy
make
[libembroidery-convert.exe is successfully made and actually runs on windows]
Am I missing a step or is this really a problem?
I've attached pictures showing the result in my VM.
I'm not sure why you would need both JOBS=4 and -j4 but if it does help, I'll try that next time around. 45 minutes isn't too bad. I've had Qt5 builds take 2-3 hours on other machines. Either way, as Tim showed above, 45 minute builds are not allowed in Travis-CI. I don't care as much how long it takes in Travis-CI to build but the quicker the better. And using Travis-CI is extremely important because it is how we have our nightly/continuous builds setup. I get requests for builds quite a bit, by developers and non-developers alike. Whenever someone asks for a build, I just point them to the nightly link. Easy. Done. If our build passes, the nightly repo is updated. If it fails, the last working build is always available. Our nightly repo already has linux64 builds and works great. I have tested OSX homebrew builds thru Travis-CI and that will be incorporated soon. Arduino integration testing for our code will be added using ino-tool. Native windows builds thru Travis-CI are not possible yet, but that doesn't mean that I shouldn't test cross-compiling for Windows since I've never had any issues in the past with Qt4 using the unsupported/win32-g++-cross mkspec.
Jonathan