Contribs: update libarchive
[vlc.git] / doc / libvlc / QtPlayer / main.cpp
blob4ebf3f943c82ebb045a4f24b5944c9123f6b7a1e
1 /******************************
2 * Qt player using libVLC *
3 * By protonux *
4 * *
5 * Under WTFPL *
6 ******************************/
8 #include <QApplication>
9 #include "player.h"
11 #ifdef Q_WS_X11
12 #include <X11/Xlib.h>
13 #endif
15 int main(int argc, char *argv[]) {
16 #ifdef Q_WS_X11
17 XInitThreads();
18 #endif
20 QApplication app(argc, argv);
22 Mwindow player;
23 player.show();
25 return app.exec();