Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void setUp(QCommandLineParser parser);
- void ExecuteTask::setUp(QCommandLineParser parser){
- parser.setApplicationDescription("Learning console app in Qt");
- parser.addHelpOption();
- }
- ...
- QCoreApplication app(argc, argv);
- ExecuteTask cmnd_line_func;
- QCommandLineParser parser;
- cmnd_line_func.setUp(parser);
- ...
- parser.process(app)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement