[vlc-commits] qt: qpa/qplatformnativeinterface.h is only needed on Windows

Rafaël Carré git at videolan.org
Tue Mar 18 09:45:44 CET 2014


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Tue Mar 18 09:43:41 2014 +0100| [5c03166a2cf62872aeadb6dfd3b7e111777e0c23] | committer: Rafaël Carré

qt: qpa/qplatformnativeinterface.h is only needed on Windows

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5c03166a2cf62872aeadb6dfd3b7e111777e0c23
---

 modules/gui/qt4/main_interface.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp
index 6466e46..cf443e0 100644
--- a/modules/gui/qt4/main_interface.cpp
+++ b/modules/gui/qt4/main_interface.cpp
@@ -64,7 +64,7 @@
 #include <vlc_vout_display.h>               /* vout_thread_t and VOUT_ events */
 
 
-#if QT_VERSION >= 0x050000
+#if defined(_WIN32) && QT_VERSION >= 0x050000
 #include <QWindow>
 #include <qpa/qplatformnativeinterface.h>
 #endif



More information about the vlc-commits mailing list