Menu

#206 QM 4.1.2 for Mac: can't open models via drag and drop as documented

QM
open
nobody
None
1
2018-05-04
2018-03-15
Ned Konz
No

I just uninstalled QM 4.1.1 and installed QM 4.1.2 for Mac OS (I have High Sierra, v 10.13.3).

I followed the instructions in the QM manual about making a desktop alias and keeping QM in the dock, but neither shortcut accepted a drop of a .qm file.

Also, the Finder app icon in /Applications won't accept the drop of a .qm file.

There are no default file associations set for the QM application; adding an association for qm ('always open with') also doesn't work, because open -a qm /Users/ned/src/QP/qpcpp/examples/win32/dpp-comp/dpp.qm doesn't open the model file.

It does work when I do /Applications/qm.app/Contents/MacOS/qm /Users/ned/src/QP/qpcpp/examples/win32/dpp-comp/dpp.qm

Discussion

  • Quantum Leaps

    Quantum Leaps - 2018-05-01

    The open -a command seems to need the --args parameter to actually pass the arguments to the application. Specifically, the following command line works:

    open -a qm --args /Users/ned/src/QP/qpcpp/examples/win32/dpp-comp/dpp.qm
    

    I'm not sure whether this is a bug (e.g., see bug17757).

    At this point, it's not clear how to fix this problem inside the QM application for MacOS. Any suggestions/workaround for this issue would be appreciated.

    --MMS

     
  • Quantum Leaps

    Quantum Leaps - 2018-05-04
    • Group: QM --> QM4
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB