Le Sat,
10 Sep 2011 17:43:12 -0500,
"Timothy Pearson" <kb9vqf(a)pearsoncomputing.net> a écrit :
> Le Sat, 10 Sep 2011 08:42:41 -0400,
> Calvin Morrison <mutantturkey(a)gmail.com> a écrit :
>
>> You should be using the Qt3 from our git tree. That is where
>> we are keeping it up godly date.
>>
>> Try rebuilding qt3 and see if your problem is resolved.
> On my system (Slackware64 13.37) the qt3 from git needs
> removing include/png.h to build, and I recommend making this
> change upstream since:
> -the include/png.h symlink breaks build on libpng14-only
> systems; -it isn't necessary to build qt3 on any system with a
> system-wide libpng installed (and anyway using the included
> libpng-1.2.5 would be a security horror)
Good idea. Change has been committed to GIT.
>
> With the qt3 from git, I can build every dependency, but
> kdelibs compilation fails with the log I attached (it's not
> the first time I have the problem, and it's not solved by not
> doing parallel builds; here I use -j4/5): gcc seems too dumb to
> realize there are sometimes default arguments.
>
I have no idea why you are running into this. It almost looks
like your uic is not working properly...I assume you have
compiled and installed the latest tqtinterface from SVN?
I use the tqtinterface
from the
kde.org SVN servers.
dd@ammo42:~/trinity$ LANG=en_US.UTF_8 svn up
dependencies/tqtinterface svn: warning: cannot set LC_CTYPE locale
svn: warning: environment variable LANG is en_US.UTF_8
svn: warning: please check that your locale name is correct
Fetching external item into 'dependencies/tqtinterface/cmake'
External at revision 1252663.
At revision 1252663.
dd@ammo42:~/trinity$
And for at least some of the cases the generated .cpp file
contains a *valid* function call since the missing argument has a
default value of 0, but such a function call make the compiler
fail (for exemple with addMultiCellWidget in
knotifywidgetbase.cpp, which I attached).
The reason for the failure is missing include headers, which should
have been generated automatically by uic. As I have not seen this
malfunction on my systems I unfortunately cannot be of much help.