<div>I'm not favorable to use preprocessor. It's old C style witch reduce readability of source code.</div>
<div> </div>
<div>Normaly all compile fine now with gcc 3.x. Also we will prepare the QT4 port witch fix all these compilation problems.</div>
<div> </div>
<div>Gilles <br><br> </div>
<div><span class="gmail_quote">2007/3/4, Dieter Jurzitza <<a href="mailto:dieter.jurzitza@t-online.de">dieter.jurzitza@t-online.de</a>>:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Dear Gilles,<br>what about something like<br>// test for gcc<br>#include <ansidecl.h><br><br>#if GCC_VERSION <= 3003
<br> #define QSTRING Qstring::null<br>#else<br> #define QSTRING Qstring()<br>#fi<br>and then in albumfolderview.cpp:<br><br>@@ -1171,7 +1171,7 @@<br><br> QString libraryPath = parent->folderPath();<br>
<br>- KFileDialog dlg(QString(), "inode/directory", this, "importFolder", true);<br>+ KFileDialog dlg(QSTRING, "inode/directory", this, "importFolder", true);<br>
glg.setMode(KFile::Directory | KFile::Files);<br> if(dlg.exec() != QDialog::Accepted)<br> return;<br><br>but I heard about real C-Programmers disliking preprocessor directives :-))).<br><br>Nothing serious, just my 2 cents here,
<br>thank you for looking into this,<br>take care<br><br><br>Dieter Jurzitza<br><br>Am Sonntag, 4. März 2007 08:40 schrieb Gilles Caulier:<br>*******<br>> I suspect than QString::null <==> QString() is a wrong way. The tip given
<br>*******<br>--<br>-----------------------------------------------------------<br><br> |<br> \<br> /\_/\ |<br> | ~x~ |/-----\ /
<br> \ /- \_/<br>^^__ _ / _ ____ /<br><°°__ \- \_/ | |/ | |<br>|| || _| _| _| _|<br><br>if you really want to see the pictures above - use some font<br>with constant spacing like courier! :-)
<br>-----------------------------------------------------------<br>_______________________________________________<br>Digikam-users mailing list<br><a href="mailto:Digikam-users@kde.org">Digikam-users@kde.org</a><br><a href="https://mail.kde.org/mailman/listinfo/digikam-users">
https://mail.kde.org/mailman/listinfo/digikam-users</a><br></blockquote></div><br>