Skip to content

Commit

Permalink
[compilation] Fix compilation on x11-based systems
Browse files Browse the repository at this point in the history
  • Loading branch information
faenil committed Oct 6, 2014
1 parent dc27add commit 2f8467b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/videotexturebackend/videotexturebackend.pro
Expand Up @@ -18,6 +18,10 @@ PKGCONFIG +=\

LIBS += -lqgsttools_p

# It won't compile without this,
# the issue is Xlib.h defines Bool as int but QJsonValue.h has an enum with Bool = 0x1 --> int = 0x1 -> BOOM!
DEFINES += MESA_EGL_NO_X11_HEADERS

SOURCES += \
videotexturebackend.cpp

Expand Down

0 comments on commit 2f8467b

Please sign in to comment.