"Open ReadMe Example” opens a README.TXT file on finish using script command:

        QDesktopServices.openUrl("file:///" + installer.value("TargetDir") + 
"/README.txt”);

                See: 
http://doc.qt.io/qtinstallerframework/qt-installer-framework-openreadme-example.html

Is there a way to launch the installed OS X app on finish?

The shell command would be:
        open -a /Application/my.app

I tried creating a script.  However QDesktopServices.openUrl opens it in an 
editor rather that executes it:

 QDesktopServices.openUrl("file:///" + installer.value("TargetDir") + 
"/run.sh”);

Are there alternatives for Qt Installer Framework to interact with the native 
shell ?

Thanks,

-ED



_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to