qtwin3.3.8 kde3.5 msvc2005 question

Pike Man pikeman at pikeman.sytes.net
Wed May 9 23:41:48 CEST 2007


Hi, I am attempting to compile svn kde3.5 with svn qtwin 3.3.8 using 
msvc2005 and it's moving along passed kdecore already.

I am getting tons of error like the following, (due to the new compiler 
I think) which can be bypassed by putting a (int) inside all occurances 
which
does this:
basically change: QString a, uint b,  a[b]
to : QString a, uint b, a[(int)b]

but there are many many of these and I am not patient.

I am think about hacking QT3 and making QString[] to  take an uint 
instead of int,  is  this a right way to fix this problem?

I guess some of you guys must have seen this issue before...

Thanks for any pointer on how to fix it the right way...


 
.\kxmlguiclient.cpp(731) : error C2666: 'QString::operator []' : 2 
overloads hav
e similar conversions
        c:\2008\kde3\svn\qt-3\include\qstring.h(639): could be 'QChar 
QString::o
perator [](int) const'
        or 'built-in C++ operator[(const char *, unsigned int)'
        while trying to match the argument list '(const QString, 
unsigned int)'
.\kxmlguiclient.cpp(763) : error C2666: 'QString::operator []' : 2 
overloads hav
e similar conversions
        c:\2008\kde3\svn\qt-3\include\qstring.h(639): could be 'QChar 
QString::o
perator [](int) const'
        or 'built-in C++ operator[(const char *, unsigned int)'
        while trying to match the argument list '(const QString, 
unsigned int)'



More information about the Kde-windows mailing list