Skip to content

Commit

Permalink
libmythui: Update libmythui.pro for new qt private headers define
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-kendall committed Jan 8, 2021
1 parent f07f274 commit 4f4b031
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions mythtv/libs/libmythui/libmythui.pro
Original file line number Diff line number Diff line change
Expand Up @@ -136,15 +136,19 @@ using_drm {
QMAKE_CXXFLAGS += $${LIBDRM_CFLAGS}
}

using_waylandextras {
using_qtprivateheaders {
QT += gui-private
DEFINES += USING_WAYLANDEXTRAS
HEADERS += platforms/mythscreensaverwayland.h
HEADERS += platforms/mythwaylandextras.h
HEADERS += platforms/waylandprotocols/idle_inhibit_unstable_v1.h
SOURCES += platforms/mythscreensaverwayland.cpp
SOURCES += platforms/mythwaylandextras.cpp
SOURCES += platforms/waylandprotocols/idle_inhibit_unstable_v1.c
DEFINES += USING_QTPRIVATEHEADERS

using_waylandextras {
DEFINES += USING_WAYLANDEXTRAS
HEADERS += platforms/mythscreensaverwayland.h
HEADERS += platforms/mythwaylandextras.h
HEADERS += platforms/waylandprotocols/idle_inhibit_unstable_v1.h
SOURCES += platforms/mythscreensaverwayland.cpp
SOURCES += platforms/mythwaylandextras.cpp
SOURCES += platforms/waylandprotocols/idle_inhibit_unstable_v1.c
}
}

# Use MMAL as a proxy for Raspberry Pi support
Expand Down

0 comments on commit 4f4b031

Please sign in to comment.