Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 2

Qt-interest Archive, October 2006
Re: newbie question. Can QT work in a 18bpp hardware?


Message 1 in thread

On Wednesday 27 September 2006 11:01, Jose Luis Zabalza wrote:
> Hello everybody.
>
> I am newbie a QT.  I have three questions :
>
> 1.- Can I compile QT embedded to run in a hardware platform with 18
> bpp (6-6-6) native depth?

Yes, I believe it has been supported since 4.1.4. It's at least included in 
4.2

> 2.- If #1 is NO, how dificult is modify QT embedded to support this
> depth? Very hard, hard or no very hard.;-)

It would be very easy. You would have to implement color conversion from RGB32 
and add this to the blit() function of QScreen (or, preferably, a subclass).

> 3.- What is more efficient  on QT , 16 bpp or 24 bpp resolution?

It shouldn't be much of a difference, if any. Both will touch equal amounts of 
memory (read 4 bytes and write 3 bytes per pixel).

--
 [ signature omitted ]