From kde-cygwin Thu Jan 27 22:50:53 2005 From: "Ralf Habacker" Date: Thu, 27 Jan 2005 22:50:53 +0000 To: kde-cygwin Subject: Re: Qt 3.3.4 Message-Id: <006a01c504c2$a930c780$bd2d90d4 () P5> X-MARC-Message: https://marc.info/?l=kde-cygwin&m=110686633319892 Hi, we will upgrade soon, but we have to make sure, that we don't loose the aalready applied patches. regards Ralf ----- Original Message ----- From: "Peter Kümmel" To: ; "For developers interested in porting KDE to Windows using Cygwin" Sent: Thursday, January 27, 2005 10:52 PM Subject: Qt 3.3.4 > Hello, > > I've successfully compiled 3.3.4 after three small changes. > > How it works: > > First overwrite all files of a actual cvs check out with > the new 3.3.4 files, then apply following patches > (the *_win.cpp files remain untouched) > > 1. moc needs the YY_NO_UNISTD_H macro (to avoid including unistd.h). > It could be defined where it's needed in src/moc/moc_lex.cpp. > It looks like a Troll bug to me, because I don't see any windows > specific file, where I could define it. > > 2. qmake needs a variable from qfileinfo_win.cpp; which I've > moved from qfiledialog_win to qfileinfo_win. > Already submitted to cvs. > > 3. before the last #endif of process_win.cpp add #include "qpipe_win.cpp" > Tthis should also be done in the 3.3.3 version because then > qt_kernel.pri > needs not to be changed. > Already submitted to cvs. > > that's it. > > If you use the beta compiler from ms you must also add one line to > qmake/option.cpp, to avoid qmake crashes: > > QString > Option::fixPathToLocalOS(const QString& in, bool fix_env, bool canonical) > { > QString tmp(in); > if(fix_env) > fixEnvVariables(tmp); > if(canonical) > tmp = fixPath(tmp); > > if (!tmp) tmp = QString(""); // <<----------------------- > > #if defined(Q_OS_WIN32) > return tmp.replace('/', '\\'); > #else > return tmp.replace('\\', '/'); > #endif > } > > > So, when do we upgrade? > > Peter > > > _______________________________________________ > kde-cygwin mailing list > kde-cygwin@kde.org > https://mail.kde.org/mailman/listinfo/kde-cygwin > _______________________________________________ kde-cygwin mailing list kde-cygwin@kde.org https://mail.kde.org/mailman/listinfo/kde-cygwin