@chris just resolved a lot of the problems regarding packaging on macOS mentioned before.
Problem: New projects are broken on all platforms (shows as missing includes)
- Cause: Project template not updated after napapp restructure
Fix: Added to script that populates module list into template (commit be12ba3232421811bec83aabdc13c1d909e57c19)
Prevention: Test creating (and building/running) new projects against platform release (on 3x platforms) after build system changes
Problem: Missing QtOpenGL framework on macOS
- Cause: QtOpenGL was added as a dependency to napkin via napqt (in qt/CMakeLists.txt) but wasn’t added to the rest of the packaging system
Fix: Added to the places you can see in commit (da5114fba439db2ad9d6304e2caedb29468cfc7c)
Prevention: Test napkin in packaged platform release and packaged apps (on 3x platforms) after changing Qt module requirements
So in this case the Qt version wasn’t the culprit. However I’m now using Qt v5.11.3 for everything this end.
Problem: FreeImage dylib not being found in some corner cases on macOS
- Cause: Related to NAP-225 and combination of modules in use, likely napapp restructure was involved
Fix: Added fix to napcameracontrol/CMakeLists.txt ala other places (commit 15cb3daeeeb19d604458366adcdcfd189cd56702)
A new package including the fixes can be downloaded here: http://napframework.com/NAP-0.2.3-macOS.zip
Let me know how it works out.
Thanks @chris for the fixes!