diff --git a/YACReaderLibrary/YACReaderLibrary.pro b/YACReaderLibrary/YACReaderLibrary.pro index ba626f04..72f314f0 100644 --- a/YACReaderLibrary/YACReaderLibrary.pro +++ b/YACReaderLibrary/YACReaderLibrary.pro @@ -66,7 +66,8 @@ CONFIG(force_angle) { macx { LIBS += -framework Foundation -framework ApplicationServices -framework AppKit CONFIG += objective_c - QT += macextras gui-private + QT += gui-private + lessThan(QT_MAJOR_VERSION, 6): QT += macextras } #CONFIG += release