Skip to content
Snippets Groups Projects
Commit baf5223d authored by Alexandre Janniaux's avatar Alexandre Janniaux Committed by Hugo Beauzée-Luyssen
Browse files

doc: QtPlayer: check _WIN32 for windows plugins


QWindowsIntegrationPlugin is supposed to be linked against only when the
example is being compiled for Windows platform.

Cherry-picked from commit ce4e4085.

Signed-off-by: default avatarAlexandre Janniaux <alexandre.janniaux@gmail.com>
parent 8f8c442e
No related branches found
No related tags found
2 merge requests!3533Backport MR 3236 to 3.0.x,!896QtPlayer example: backport patches from master
Pipeline #159880 passed with stages
in 19 minutes and 15 seconds
......@@ -14,7 +14,9 @@
#ifdef QT_STATIC
# include <QtPlugin>
# ifdef _WIN32
Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin)
# endif
#endif
int main(int argc, char *argv[]) {
......
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