Ask Your Question

Revision history [back]

It is pretty simple, but many don't know the trick. There are two options for windows and visual studio, so guess it will work also on Qt.

  1. Set your project settings to multibyte code.
  2. Change argv[1] to argv[1].c_str()

This should do the trick. Actually you could have seen this by looking at the boolean that is returned when opening a file, by creating the videoreader and the applying the open function.