I think Qt must have this, because QtCreator has a list on its sidebar:
Ideally I am just looking for a Qt function that will just return this list.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
You can list the files in a given directory with QDir::entryList().
QDir has a number of other methods that may be useful for you as well.