#include #include #include "tsmuxerwindow.h" int main(int argc, char *argv[]) { QApplication app(argc, argv); TsMuxerWindow win; win.show(); QList files; for (int i = 1; i < argc; ++i) files << QUrl::fromLocalFile(QString::fromLocal8Bit(argv[i])); if (!files.isEmpty()) win.addFiles(files); return app.exec(); }