Abdelrazak Younes a écrit :
Martin Vermeer a écrit :
On Thu, May 18, 2006 at 10:42:49AM -0400, Bennett Helm wrote:
I finally managed to get a version of LyX with Qt4 to compile on Mac using gcc-4.1.0. ...

The good news is that it works.

The bad news is that it is S L O W -- much slower than LyX-1.4.0 (Qt3) ever was. And it's slow in every kind of operation, from launching the application to accessing menus to opening dialogs to resizing windows to typing ....


Which is this, Qt 4.0 or 4.1? See this discussion:

http://lists.trolltech.com/qt-interest/2005-11/thread00736-0.html

(Yes, this is about graphics not text)

Well, everything is graphics in Lyx as we use an internal QPixmap to draw everything onto. This thread seems to imply that using QPixmap is slow under linux. The problem is that QPixmap should be optimized for X11 as it runs on the server. On windows a QPixmap is exactly the same as a QPicture. I'll send a patch that uses a QPicture directly to see if

QImage, not QPicture...

it is faster on Linux and Mac. If yes, then it is possible to optionnaly use a QPixmap whenever Lyx is run over the network.

Abdel.


- Martin



Reply via email to