diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2017-02-09 08:40:50 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2017-02-13 12:04:39 +0000 |
commit | e8a2a9bf307de0bd174e438c87045ca1b846d73e (patch) | |
tree | 04f0ebb3a21eaad391be27a46ac175a5ef86dc14 /src | |
parent | e3e2bc21097ee20f038c15f699e829c292251c18 (diff) |
Windows QPA: Include GL header depending on presence of dynamic GL
Amends change 7780ee9e5f20f80ab9e053058d0b6d92586cf876.
Task-number: QTBUG-58178
Change-Id: I0b6e064dfdbdafb7fba9c20c56cfd873fa594c44
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/platforms/windows/qwindowswindow.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/plugins/platforms/windows/qwindowswindow.cpp b/src/plugins/platforms/windows/qwindowswindow.cpp index b5522c1f90..48835f26a6 100644 --- a/src/plugins/platforms/windows/qwindowswindow.cpp +++ b/src/plugins/platforms/windows/qwindowswindow.cpp @@ -43,7 +43,11 @@ #include "qwindowsscreen.h" #include "qwindowsintegration.h" #include "qwindowsnativeinterface.h" -#include "qwindowsglcontext.h" +#if QT_CONFIG(dynamicgl) +# include "qwindowsglcontext.h" +#else +# include "qwindowsopenglcontext.h" +#endif #ifdef QT_NO_CURSOR # include "qwindowscursor.h" #endif |