[kplato] progress :-)

David Faure kplato@kde.org
Thu, 13 Mar 2003 19:11:47 +0100


=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 13 March 2003 08:04, Dag Andersen wrote:
> It's a minor problem though: It does not compile ;)
> KDGantt relies on cast of ascii to QString so QT_NO_ASCII_CAST cannot=20
> be defined.=20
I guess you mean it relies on casting QStrings to ascii, rather.

> This can easily be solved but AFAICS koffice compiles=20
> with -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT
> while kdepim does not.=20
> Can this give other problems? How to solve it?

1) Fix it so that it compiles with the strictest flags, then it'll compile =
everywhere
(and send the patch to the kdgantt maintainer, I guess that's Lutz)

2) use -U in KDE_CXXFLAGS to unset some of the -D flags.

1) is the real solution, 2) is the hack.

=2D --=20
David FAURE, faure@kde.org, sponsored by TrollTech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
How to write a Makefile.am for KDE/Qt code:
http://developer.kde.org/documentation/other/makefile_am_howto.html
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+cMnj72KcVAmwbhARAvLeAJwIovxIEfoLDIRIBOXhB/uEsoxWQQCgn7U6
b3JMpW3weRzxp30mzOrVKS0=3D
=3Djkot
=2D----END PGP SIGNATURE-----