Stealing the definition of the macro when we do not have it is the best solution IMO.
JMarc Le 19 février 2020 08:39:35 GMT+01:00, Pavel Sanda <sa...@lyx.org> a écrit : >On Tue, Feb 18, 2020 at 09:49:08PM -0500, Scott Kostyshak wrote: >> Could anyone take a close look at this? If there is a better fix, >please >> go ahead. > >Looks OK to me. >I would just put into comments TODO to switch to >Q_DECLARE_XCB_EVENT(event, xcb_selection_notify_event_t); once we >require qt >= 5.6.3. >We could even import ifdefed macro, but that's probably overkill. -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel