CauldronDevelopmentLLC / CAMotics

Open-Source Simulation & Computer Aided Machining - A 3-axis CNC GCode simulator
Other
602 stars 138 forks source link

Osx pkg updates 2022 12 10 #383

Closed kbernhagen closed 1 year ago

kbernhagen commented 1 year ago

New pkg background Added margin so it looks better in Installer.

Add osx document type .camotics CAMotics will launch if you double-click a .camotics file.

Update distribution.xml General cleanup; also noticed problem not xml-escaping strings inserted.

Support osx file open event Not complete. App will log an open file event, but I couldn't figure out the right way to openProject() from QApplication.

jcoffland commented 1 year ago

I finished the open file event code. I converted the event to a signal then connected it in QtWin to a "slot" which calls the openProject() function. This is better than trying to get a reference to QtWin in QApplication. I compiles but I haven't tested it on OSX. See: 0a0a521

kbernhagen commented 1 year ago

Working for me Intel macOS 12.6.2

I note an example that I Save As still references the example files. Might want a project format that can optionally embed the resource files.