Pavel Sanda wrote:
> commit 0a9735c5f7bbbaa24ac2e3e4fa745c6dfbc95a18
> Author: Pavel Sanda <[email protected]>
> Date: Sun Nov 4 01:18:16 2012 +0100
>
> LyX 2.1 will support only Qt>=4.5.
>
> (http://www.mail-archive.com/[email protected]/msg175737.html)
>
> Now start with simple cases.
There are few things left, I'm not sure what was the original issue, but you
may remember:
1) things related to threading/autosave:
src/Buffer.cpp- /// This function is deprecated as the frontend needs
to take care
src/Buffer.cpp- /// of cloning the buffer and autosaving it in another
thread. It
src/Buffer.cpp: /// is still here to allow (QT_VERSION < 0x040400).
src/Buffer.cpp- AutoSaveBuffer autosave(*this, fname);
src/Buffer.cpp- autosave.start();
src/Buffer.cpp- return true;
src/frontends/qt4/GuiView.cpp:#if (QT_VERSION >= 0x040400)
src/frontends/qt4/GuiView.cpp- GuiViewPrivate::busyBuffers.insert(buffer);
src/frontends/qt4/GuiView.cpp- QFuture<docstring> f =
QtConcurrent::run(GuiViewPrivate::autosaveAndDestroy,
src/frontends/qt4/GuiView.cpp- buffer, buffer->cloneBufferOnly());
src/frontends/qt4/GuiView.cpp- d.autosave_watcher_.setFuture(f);
src/frontends/qt4/GuiView.cpp-#else
src/frontends/qt4/GuiView.cpp- buffer->autoSave();
src/frontends/qt4/GuiView.cpp-#endif
2) things related to painting, they look like waiting for some testing
src/frontends/qt4/GuiCharacter.cpp-// FIXME: hack to work around resizing bug
in Qt >= 4.2
src/frontends/qt4/GuiCharacter.cpp-// bug verified with Qt 4.2.{0-3} (JSpitzm)
src/frontends/qt4/GuiCharacter.cpp:#if QT_VERSION >= 0x040200
src/frontends/qt4/GuiCharacter.cpp- // qt resizes the comboboxes only after
show(), so ...
src/frontends/qt4/GuiCharacter.cpp- QDialog::show();
src/frontends/qt4/GuiCharacter.cpp-#endif
src/frontends/qt4/GuiDocument.cpp-// FIXME: hack to work around resizing bug in
Qt >= 4.2
src/frontends/qt4/GuiDocument.cpp-// bug verified with Qt 4.2.{0-3} (JSpitzm)
src/frontends/qt4/GuiDocument.cpp:#if QT_VERSION >= 0x040200
src/frontends/qt4/GuiDocument.cpp- docPS->updateGeometry();
src/frontends/qt4/GuiDocument.cpp-#endif
src/frontends/qt4/GuiPrefs.cpp-// FIXME: hack to work around resizing bug in Qt
>= 4.2
src/frontends/qt4/GuiPrefs.cpp-// bug verified with Qt 4.2.{0-3} (JSpitzm)
src/frontends/qt4/GuiPrefs.cpp:#if QT_VERSION >= 0x040200
src/frontends/qt4/GuiPrefs.cpp- prefsPS->updateGeometry();
src/frontends/qt4/GuiPrefs.cpp-#endif
3) Mac testing
src/frontends/qt4/GuiFontLoader.cpp-#ifdef Q_WS_MACX
src/frontends/qt4/GuiFontLoader.cpp:#if QT_VERSION >= 0x040300 //&& QT_VERSION
< 0x040800
src/frontends/qt4/GuiFontLoader.cpp- // Workaround for a Qt
bug, see http://www.lyx.org/trac/ticket/3684
src/frontends/qt4/GuiFontLoader.cpp- // and
http://bugreports.qt.nokia.com/browse/QTBUG-11145.
src/frontends/qt4/GuiFontLoader.cpp- // FIXME: Check whether
this is really fixed in Qt 4.8
src/frontends/qt4/GuiFontLoader.cpp- if (family == "Times"
&& !font.exactMatch())
Pavel