Skip to content
Snippets Groups Projects
Commit 930b5ef4 authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf
Browse files

doc: QtPlayer: add QWindowsIntegrationPlugin plugin

Similar to the one in the QtGl sample.
parent 1c1739de
No related branches found
No related tags found
1 merge request!339doc: QtGL/QtPlayer: improve code samples portability
......@@ -12,6 +12,11 @@
#include <X11/Xlib.h>
#endif
#ifdef QT_STATIC
# include <QtPlugin>
Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin)
#endif
int main(int argc, char *argv[]) {
#ifdef Q_WS_X11
XInitThreads();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment