aboutsummaryrefslogtreecommitdiffstats
path: root/src/qcam/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qcam/main.cpp')
-rw-r--r--src/qcam/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qcam/main.cpp b/src/qcam/main.cpp
index bae358df..f60d3cef 100644
--- a/src/qcam/main.cpp
+++ b/src/qcam/main.cpp
@@ -33,6 +33,9 @@ OptionsParser::Options parseOptions(int argc, char *argv[])
ArgumentRequired, "camera");
parser.addOption(OptHelp, OptionNone, "Display this help message",
"help");
+ parser.addOption(OptRenderer, OptionString,
+ "Choose the renderer type {qt,gles} (default: qt)",
+ "renderer", ArgumentRequired, "renderer");
parser.addOption(OptStream, &streamKeyValue,
"Set configuration of a camera stream", "stream", true);

Privacy Policy