Skip to content

Commit

Permalink
Update example_09-05.cpp
Browse files Browse the repository at this point in the history
added example
  • Loading branch information
garybradski authored May 24, 2017
1 parent 2bff7bd commit cdf1b80
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion example_09-05.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//Example 9-5. An example program ch4_qt.cpp, which takes a single argument
//indicating a video file; that video file will be replayed inside of a Qt object that we will
//define, called QMoviePlayer
//
#include <QApplication>
#include <QLabel>
#include <QMoviePlayer.hpp>
Expand All @@ -7,4 +11,4 @@ int main( int argc, char* argv[] ) {
mp.open( argv[1] );
mp.show();
return app.exec();
}
}

0 comments on commit cdf1b80

Please sign in to comment.