problems and soln for latest qt3 cvs for mingw/win32
Marshmallow Man
my.nebulosity at gmail.com
Thu Jul 14 09:33:06 CEST 2005
These are workarounds for some issues I encountered compiling the
latest qt3 from cvs using mingw32..I think the same should apply to
win32-msvc
the File
qt-3\misc\link_includes\link_includes.cpp
in the function copyHeader(....)
about line 136 the following line
if ( fi->isDir() )
is freaking out on win32 (msvc and mingw32)(The QFileInfo stuff )
adding the lines
QString srcfile=srcdir+"\\"+fi->fileName();
fi->setFile(srcfile);
before
if ( fi->isDir() )
gets the isDir working properly
////////////////////////////////////////////////////////////////////////////////////
Also in
qt-3\misc\configure\main.cpp
in the function void buildmake(.....)
about the line 274
The QFileInfo stuff is freaking out on win32 (msvc and mingw32)
if ( fi->isDir() && ( fi->fileName() == "." || fi->fileName()
== ".." ) )
adding the lines
QString srcfile=QDir::convertSeparators( dir + "/" +
fi->fileName() ).ascii();
fi->setFile(srcfile);
before
if ( fi->isDir() && ( fi->fileName() == "." || fi->fileName()
== ".." ) )
get it working again
The real Problem is that QFileInfo::isDir() just does not work on
win32(windows 2000), for me any way
//////////////////////////////////////////////////////////////////////////////////////
I don't have time to do a fix for QFileInfo...but the workaround might
be handy for anyone tearing their hair out...
hope it helps someone
More information about the kde-cygwin
mailing list