X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fwidgets%2Fpopup.cpp;fp=pv%2Fwidgets%2Fpopup.cpp;h=bcfd8753c6b6dbe2c8e6da5a8032d75057b8bc50;hp=9614701b7a9701d9c9cb2d2d277dfb388b4295ab;hb=1ed73ebd60336c7b12ee1807644dca719cb9835b;hpb=fa8d0fcb4cff4f19943fe3ff152dc1428b400b01 diff --git a/pv/widgets/popup.cpp b/pv/widgets/popup.cpp index 9614701b..bcfd8753 100644 --- a/pv/widgets/popup.cpp +++ b/pv/widgets/popup.cpp @@ -21,7 +21,11 @@ #include #include +#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) +#include +#else #include +#endif #include #include #include