Re: progress :-)

David Faure <[email protected]>
Newsgroups gmane.comp.kde.kplato
Organization KDE
Message-ID <[email protected]>
-----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 
> be defined. 
I guess you mean it relies on casting QStrings to ascii, rather.

> This can easily be solved but AFAICS koffice compiles 
> with -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT
> while kdepim does not. 
> 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.

- -- 
David FAURE, [email protected], 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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+cMnj72KcVAmwbhARAvLeAJwIovxIEfoLDIRIBOXhB/uEsoxWQQCgn7U6
b3JMpW3weRzxp30mzOrVKS0=
=jkot
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.