please make it easier to hack on frameworks

Alexander Neundorf neundorf at kde.org
Sun May 12 09:50:44 UTC 2013


On Tuesday 07 May 2013, Sebastian Kügler wrote:
> On Sunday, May 05, 2013 11:25:32 Oswald Buddenhagen wrote:
> > On Sun, May 05, 2013 at 09:32:49AM +0200, Kevin Ottens wrote:
> > > On Saturday 04 May 2013 22:16:51 Alexander Neundorf wrote:
> > > > On Saturday 04 May 2013, Kevin Ottens wrote:
> > > > > On Saturday 04 May 2013 20:59:32 Alexander Neundorf wrote:
> > > > > > Do I have to run configure again, or is qmake in the meantime
> > > > > > able to
> > > > > > handle this ?
> > > > > 
> > > > > Nope I generally have to run configure again.
> > > > 
> > > > Configured, and still the same :-/
> > > > It complains that it cannot find libQt5Bootstrap.so
> > > 
> > > I'd expect it to rebuild the base tools after configure... No idea why
> > > it didn't rebuild your moc, sorry. :-/
> > > 
> > > Definitely something for the "upgrade notes" once you found the issues
> > > though.  I hope it won't be too convoluted, telling people to clean
> > > build qt5 on each upgrade would suck greatly.
> > 
> > everybody who *actually* cares for rebuild times (as opposed to merely
> > making a point of how much the dependency tracking of particular build
> > tools sucks) uses ccache. in this light, "sucks greatly" dwindles to
> > "oh, well".
> 
> "Sucks greatly" is exactly right IMO. Those that are used to cmake are
> probably spoiled, needing yet another tool to paper over qmake's #fail by
> bringing down build times to a reasonable level does not "make it easier to
> hack on frameworks". This whole class of problem does simply not exist with
> CMake, and it would also not exist in Qt if Qt used CMake. Yet, the QBS
> cake is so far the proverbial lie.
> 
> It is yet another item that makes building (and contributing to) Qt feel
> archaic, compared to hacking on Frameworks.

now this is getting really frustrating.
Since two weeks or so I'm trying to build frameworks and I can't, for various 
reasons.

First I notice that my build fails due to bad include dirs.

It turns out that this is because my Qt is too old, but out buildsystem does 
not make sure the Qt it finds is good enough.

After waiting for a few days whether Stephen will do something about this I 
try update Qt.

This fails when rebuilding, undefined references to libQt5Bootstrapping.
I wait a few days for how I properly update my Qt.
Conclusion: rebuild it completely.

Done that.
Now I'm back from a trip, and try to build frameworks again.
Again it fails, but now somewhere else:

[ 18%] Building CXX object 
tier1/kidletime/src/CMakeFiles/KIdleTime.dir/xscreensaverbasedpoller.cpp.o
kdelibs/tier1/kidletime/src/xscreensaverbasedpoller.cpp:23:20: fatal error: 
QX11Info: No such file or directory                                  
compilation terminated.
make[2]: *** 
[tier1/kidletime/src/CMakeFiles/KIdleTime.dir/xscreensaverbasedpoller.cpp.o] 
Error 1
make[1]: *** [tier1/kidletime/src/CMakeFiles/KIdleTime.dir/all] Error 2
make: *** [all] Error 2


What's wrong now ?
Did I update Qt in a wrong way ?

I'd really like to contribute to frameworks, but I have only a few hours every 
few nights, and as it is now it is frustrating.
I guess I'll go and hack a bit more on kate in the meantime...

Alex


More information about the Kde-frameworks-devel mailing list