kpovmodler in kdegraphics error

Andreas Zehender kpovmodeler-devel@mail.kde.org
Sun, 2 Feb 2003 22:04:38 +0100


Hi Luis!

Some background information why QString constants were changed to const char 
const*:
QString::null needs a correctly initialized Qt library (don't know why and 
how). With some compilers or systems or Qt-libraries, the Qt library is NOT 
correctly iniatialized when constant objects are created, so the program 
crashes at program start.

That means: Do never use QStrings as constants but use const char const*

Andreas

-- 
--------------------------------------------------
 Andreas Zehender, Dipl. Ing. (BA)
 Student, 10th semester computer science
 http://www.azweb.de
 az@azweb.de | zehender@kde.org      
--------------------------------------------------