[mythtv] DB helper functions

Robert Johnston anaerin at gmail.com
Sun Jul 10 22:10:26 EDT 2005


On 10/07/05, Fernando Vilas <fvilas at iname.com> wrote:
>    Note: the reason to use the QString::left instead of just an operator=, is that in QT4, the pgsql backend changed names from QPGSQL7 to QPGSQL, and it should work for 3.3.x and 4.0.  I will also look into coding these as constants for ease of maintenance in the next patch.  Any other suggestions?

Can not the ./Configure get the QT version, and if so, can you not use
that and a #DEFINE to tell the compiler what the constants should be?

Just a thought.
-- 
Robert "Anaerin" Johnston

Variables won't, Constants aren't. -- Anonymous


More information about the mythtv-dev mailing list