Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix build without SCRIPT_INTERFACE on Qt 5.7 #4565
This is based on changes by @AntonioBL and I merely made it rely on the SCRIPT_INTERFACE compilation option more (so it does not break anything when SCRIPT_INTERFACE is on — that is, by default), to make backporting this easier.
Add header defining DBL_MIN and DBL_MAX, too.
Tested to compile fine on Debian stable (9 “stretch”), Qt 5.7.
Hmm, I missed something in ifdeffing. It now fails with Qt 5.11 on Debian unstable. Will hack until fixed… eh, actually, no idea why this would fail. Anyone got one?
Hm, got a hunch, but maybe that isn’t it. There may be the MOC involved. We’ll see…
I am wondering if these header files should be put here or not. Maybe it's their presence here which was causing the compilation error. Just a wild guess...
thanks, but that wasn’t it. It was a combination of preprocessor magic, "config.h" and the “interestingness” of the MOC. But I got it now.