equal
deleted
inserted
replaced
48 { |
48 { |
49 CX_DEBUG(("CxUI: entering main()")); |
49 CX_DEBUG(("CxUI: entering main()")); |
50 OstTrace0( camerax_performance, _MAIN, "msg: e_CX_STARTUP 1" ); |
50 OstTrace0( camerax_performance, _MAIN, "msg: e_CX_STARTUP 1" ); |
51 |
51 |
52 Q_INIT_RESOURCE(cxui); |
52 Q_INIT_RESOURCE(cxui); |
|
53 |
|
54 // Use software rendering / raster graphics system to save GPU memory. |
|
55 CX_DEBUG(("CxUI: Take raster graphics system into use..")); |
|
56 QApplication::setGraphicsSystem("raster"); |
|
57 CX_DEBUG(("CxUI: ..raster graphics system in use")); |
53 |
58 |
54 OstTrace0( camerax_performance, DUP1__MAIN, "msg: e_CX_HBAPP_CREATION 1" ); |
59 OstTrace0( camerax_performance, DUP1__MAIN, "msg: e_CX_HBAPP_CREATION 1" ); |
55 CxuiApplication app(argc, argv); |
60 CxuiApplication app(argc, argv); |
56 OstTrace0( camerax_performance, DUP2__MAIN, "msg: e_CX_HBAPP_CREATION 0" ); |
61 OstTrace0( camerax_performance, DUP2__MAIN, "msg: e_CX_HBAPP_CREATION 0" ); |
57 |
62 |