Skip to content

clckwrkbdgr/qgetopt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qgetopt

Qt wrapper class for GNU getopt.

Usage:

  • specify options to check via addOption() and addOptionWithArg() calls.
  • run parse() with argument list or parseApplicationArgs().
  • check found options and it's arguments using hasOption(), getArg(), getArgs(), and count() methods.

Installation

Just put qgetopt.h and qgetopt.cpp in source dir and add them to Qt project file.

Requirements: only QtCore module.

About

Qt wrapper class for GNU getopt.

Resources

License

Stars

Watchers

Forks

Packages

No packages published