Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Is there a way to pass arguments to a Qt console aplication on mac? QCoreApplication::arguments().count() is always empry (on Mac) but on Linux works perfectly.
Hi,
could you show some code? Our program use command line on Mac and works
Here you are:
Commando line: open MyApp.app --args --Dir=/Users/denis/Pictures/ ...
if (QCoreApplication::arguments().count()< 2) { qDebug() << "Please usage:"; ...
Solved using exec MyApp.app/Contents/MacOS/MyApp --Dir=/Images