Skip to content
Snippets Groups Projects
Commit 8f8c442e authored by Steve Lhomme's avatar Steve Lhomme Committed by Hugo Beauzée-Luyssen
Browse files

doc: QtPlayer: add QWindowsIntegrationPlugin plugin


Similar to the one in the QtGl sample.

Cherry-picked from commit 930b5ef4.

Note that QtGl sample doesn't exist in the 3.0.x branch.

Signed-off-by: default avatarAlexandre Janniaux <alexandre.janniaux@gmail.com>
parent 0e9f4641
No related branches found
No related tags found
2 merge requests!3533Backport MR 3236 to 3.0.x,!896QtPlayer example: backport patches from master
......@@ -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