How to disable default QApplication command line arguments?
-
Every Qt application automatically supports some default arguments, available in this list:
http://doc.qt.io/qt-5/qapplication.html#QApplicationHow can I disable them? Especially, the -qmljsdebugger argument, which may even introduce security issues in final applications since anyone can connect a debugger to the internal QML JavaScript engine. I'm really worried about it.
-
You pass over the command line to QApplication / QCoreApplication. So you control what command line options Qt will see.