From: Tatsuro M. <tma...@ya...> - 2015-06-27 09:32:49
|
----- Original Message ----- > From: Tatsuro MATSUOKA > To: Merritt Ethan gnuplot-beta > Cc: Daniel J Sebald > Date: 2015/6/27, Sat 18:22 > Subject: Re: speed of qt terminal > > ----- Original Message ----- > >> From: sfeam >> To: gnuplot-beta >> Cc: Daniel J Sebald > Date: 2015/6/27, Sat 12:15 >> Subject: Re: speed of qt terminal >> >> but it seems that Qt5 has deprecated the use of an environmental >> variable to select among them. > > In gnuplot_qt.cpp > > #if QT_VERSION < 0x040700 > /* > * FIXME: EAM Nov 2011 > * It is better to use environmental variable > * QT_GRAPHICSSYSTEM but this requires qt >= 4.7 > * "raster" is ~5x faster than "native" (default). > * Unfortunately "opengl" isn't recognized on my test systems > :-( > */ > // This makes a huge difference to the speed of polygon rendering. > // Alternatives are "native", "raster", > "opengl" > QApplication::setGraphicsSystem("raster"); > #endif > > QApplication::setGraphicsSystem apprears only here but this is for very old > version of Qt. > Thus almost system, QApplication::setGraphicsSystem is not set. > > Qt5 has deprecated the use of an environmental variable to select among them. > What is the default of GraphicsSystem in Qt5? > > Tatsuro Sorry Concept of GraphicsSystem is deprecated in Qt5. This is the first time to read Qt documentation. I propose that comment for QApplication::setGraphicsSystem is deprecated for Qt5 is added to somewhere appropriate. Tatsuro |