mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-18 00:21:21 +02:00
2021-02-24 Fred Gleason <fredg@paravelsystems.com>
* Updated build system to use Qt5 instead of Qt4. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -34,8 +34,7 @@ MainObject::MainObject(QObject *parent)
|
||||
// Read Command Options
|
||||
//
|
||||
RDCmdSwitch *cmd=
|
||||
new RDCmdSwitch(qApp->argc(),qApp->argv(),"cmdline_parser_test",
|
||||
CMDLINE_PARSER_TEST_USAGE);
|
||||
new RDCmdSwitch("cmdline_parser_test",CMDLINE_PARSER_TEST_USAGE);
|
||||
for(unsigned i=0;i<cmd->keys();i++) {
|
||||
printf(" key[%d]: %s\n",i,cmd->key(i).toUtf8().constData());
|
||||
printf("value[%d]: %s\n",i,cmd->value(i).toUtf8().constData());
|
||||
|
Reference in New Issue
Block a user