Qt 6.11 is out! See what's new in the release
blog
How to use QProcess to open Safari on Mac
General and Desktop
3
Posts
3
Posters
4.1k
Views
1
Watching
-
On Mac OS X, I try to use the code like this: QProcess::startDetached("/Applications/Safari.app") to open Safari, but it doesn't work! I also cut the extension to "/Applications/Safari", also doesn't work! Do somebody know why? and what's the correct method?
-
Try with /Applications/Safari.app/Contents/MacOS/Safari