[Interest] Frustrated, Why doesn't Qt ever compile?

Jason H jhihn at gmx.com
Wed Dec 21 19:33:36 CET 2016


When I compile Qt, it is a harrowing experience. I've _never_ actually had a compile go as planned, which "as planned" is: configure && make && make install (with configure options of course). I don't think it's me. I thought that with all the gerrit review, sanity bots, COIN, that these problems would be a thing of the past? I'm trying to understand why/how it's so hard to compile Qt? 

My most recent frustration is with the freshly minted 5.6.2 source, wherein I received:

https://www.mail-archive.com/interest@qt-project.org/msg24196.html

> error: cannot initialize a variable of type 'const CBCentralManagerState' 
> with an rvalue of type 'CBManagerState'
>     const CBCentralManagerState cbState(central.state);

There seems to be a second issue that I will also get as well. Jake did supply that issues 1 & 2 were fixed, but:

1) Fixed by https://codereview.qt-project.org/#/c/172072/. Will be in 5.6.3 + 
5.7.1 + 5.8.0.

Ok, great,  I can move to 5.7.1

2) Probably https://bugreports.qt.io/browse/QTBUG-55915? The fix is in 5.6.2 and 
5.8.0 but won't be in 5.7 until 5.7.2.

That's not good. There's no 5.7.2 yet.

So I'm kinda stuck as to what to do?


In this specific case, this seems to be an iOS10 deprecation, but to get back to the main point, it doesn't matter the platform, they all don't "just compile". I've got a build of 5.7.0, for raspberry pi that won't build, an Android build of 5.6.2 that won't compile as well. Sometime issuing multiple make commands seems to fix it, but that's some voodoo there.


Sometimes, I wonder if it's possible/wish it were possible to get a pre-built download of Qt so that for any patches I need to try, I can just download that, apply the patch and compile that one object file and it's module. It would save me days, and I think it wouldn't take much to capture the build from a COIN build.
 



More information about the Interest mailing list