Skip to content

Commit

Permalink
qmake: make CONFIG+=egl work again
Browse files Browse the repository at this point in the history
while it's legacy and should not be used (use QMAKE_USE+=egl instead),
it shouldn't be broken nonetheless.

amends 310bf3f.

Fixes: QTBUG-72564
Change-Id: Id6a070a4653dc1182a6b4d75af027a6ee6cbacae
Reviewed-by: Joerg Bornemann <[email protected]>
Reviewed-by: Laszlo Agocs <[email protected]>
Reviewed-by: Rolf Eike Beer <[email protected]>
  • Loading branch information
ossilator committed Jan 7, 2019
1 parent 2cd633e commit 5733dfb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions mkspecs/features/egl.prf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ INCLUDEPATH += $$QMAKE_INCDIR_EGL
LIBS_PRIVATE += $$QMAKE_LIBS_EGL
QMAKE_CFLAGS += $$QMAKE_CFLAGS_EGL
QMAKE_CXXFLAGS += $$QMAKE_CFLAGS_EGL
DEFINES += $$QMAKE_DEFINES_EGL
LIBS += $$QMAKE_LFLAGS_EGL
for(p, QMAKE_LIBDIR_EGL) {
LIBS_PRIVATE += -L$$p
Expand Down
4 changes: 3 additions & 1 deletion src/platformsupport/eglconvenience/qt_egl_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@
//

#ifdef QT_EGL_NO_X11
# define MESA_EGL_NO_X11_HEADERS // MESA
# ifndef MESA_EGL_NO_X11_HEADERS
# define MESA_EGL_NO_X11_HEADERS // MESA
# endif
# if !defined(Q_OS_INTEGRITY)
# define WIN_INTERFACE_CUSTOM // NV
# endif // Q_OS_INTEGRITY
Expand Down

0 comments on commit 5733dfb

Please sign in to comment.