I have created a small application and 99% is fine. However I have a message that should appear (in main) if there are no arguments in the application.
ArgumentList a1(argc, argv);
if (a1.count() == 0){
qDebug() << "Contact List Test Driver usage" <<endl... etc
ArgumentList a1(argc, argv);
if (a1.count() == 0){
qDebug() << "Contact List Test Driver usage" <<endl... etc
To copy to clipboard, switch view to plain text mode
The message doesn't appear coded like this, but does appear if I change ==0 to >0.
Clearly the program is getting arguments from somewhere. I usually set them under Projects / Build settings but is there somewhere else where it could be finding arguments?
Bookmarks