]> git.lyx.org Git - features.git/commitdiff
Qt4 compil fix
authorPavel Sanda <sanda@lyx.org>
Tue, 16 Mar 2021 08:39:05 +0000 (09:39 +0100)
committerPavel Sanda <sanda@lyx.org>
Tue, 16 Mar 2021 08:39:05 +0000 (09:39 +0100)
src/frontends/qt/IconPalette.cpp

index 8956a48c96fbf42cd22ec8dc046d2374458217c3..580b450aa3fc020432bdfbf7c0fd1d20659268b2 100644 (file)
@@ -27,7 +27,9 @@
 #include <QStyleOptionFrame>
 #include <QMouseEvent>
 #include <QVBoxLayout>
+#if QT_VERSION >= 0x060000
 #include <QWindow>
+#endif
 
 namespace lyx {
 namespace frontend {