Files
seer/tests/helloqstring/helloqstring.cpp
Ernie Pasveer 03cb4f61ba Check in.
2023-11-21 19:01:38 -06:00

22 lines
316 B
C++

#include <QtCore/QString>
#include <QtCore/QDebug>
#include <stdio.h>
int main (int argc, char* argv[]) {
if (argc < 2) {
printf("usage: %s arg1 ...\n", argv[0]);
return 1;
}
for (int i=1; i<argc; i++) {
QString str(argv[i]);
qDebug() << str;
}
return 0;
}