-
Notifications
You must be signed in to change notification settings - Fork 37.8k
[WIP] [depends] Qt 5.6.1 #8053
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] [depends] Qt 5.6.1 #8053
Conversation
Nice! Have you tested this already over a gitian build? |
Got gitian compile issues:
|
Why not stick with 1.0.1k and drop no-cms and no-rc2? IIRC I had no trouble building that way when I tested qt 5.6. I'd really rather not require makedepend. Alternatively, we could upstream the qt change to work properly without these. Either way, I don't think switching to 1.0.2 could be done lightly. I assume the patches were dropped because they didn't apply cleanly? We'll need to check these. The mingw patch fixes a build-time problem with older gcc (4.6 iirc). Now that we require c++11, I think we can probably drop that. The other is much more subtle, and fixes a runtime issue. See bb44d9e for info there. |
2827958
to
179df84
Compare
Can one of the admins verify this patch? |
This is now building successfully on OSX 10.11.5, plugging Still investigating dropping the patches. I'll have to push a few more minor changes if they can be dropped. |
I guess we'd have to tackle #7945 as well, to make sure this gets tested. |
Still fails:
Build logs: https://bitcoin.jonasschnelli.ch/pulls/8053/ |
179df84
to
dea8b04
Compare
Let's try to get this in for 0.13, Qt is the single most important dependency to bump from a user perspective. |
I'll rebase on master and look at removing dbus On Thursday, 9 June 2016, Wladimir J. van der Laan notifications@github.com
|
The bump to Qt5.6 would give users on Linux/Windows "full" HiDPI support which somehow is extremely convenient these days (most new computers/laptops come with a HiDPI capable screen). It would be nice if we could bump to Qt5.6 before 0.13, but I agree, it is a little bit late. On the other hand, we still have the rc phase (I don't expect people reporting Qt5.6 relevant HiDPI issues before the rc phase). |
It's not too late. The best time to test it is in the rc phase as different people will be testing it on different environments. |
5.6.1 was released yesterday, may as well target that. I'm working on build/toolchain stuff atm, I'll try to take a look at the xcb issue asap. |
dea8b04
to
8278241
Compare
Rebased on master and updated to Qt 5.6.1 |
8278241
to
2c8ae25
Compare
The xcb patch no longer applies cleanly, will look at this again later today. |
2c8ae25
to
25e17d3
Compare
25e17d3
to
9d9cbf0
Compare
It complains about the missing patch now...
|
Using this commit (jonasschnelli@0102b7f) let me compile Qt5.6.1 (depends/linux), but I had to manually create the |
QT 5.7 has been released. " Qt CoreQt uses poll() instead of select() in it’s event loop allowing for more than 1024 file descriptors |
Okay this is getting confusing, is it just me or is Qt now releasing a new version every two weeks? |
Indeed. |
+1. it's the more stable choice... |
Agreed on 5.6.1 for 0.13. I should be able to look at the xcb patch in the
next week or so.
Though it's worth noting for a future pr: 5.7 improves a few build-related
things for us:
- allows for split native tools build.
- passes flags (like -D and -B only to the host toolchain)
(I'm on mobile so those are from memory, may not be 100% accurate. I also
haven't tested that those work as intended.)
The first should allow us to split up the build into more reasonable chunks
(native_qttools and qtlibs).
The second should allow us to drop the xcb patch in favor of using more
detailed flags. It should also allow us to drop the hackish env vars we use.
|
Removed 0.13 milestone, as #8210 is merged |
Bump Qt to 5.6.1
The major changes are:
LTS - 5.6 is the new Long Term Support release, the previous being 4.8
Windows 10 is fully supported
High-DPI support, details here
Improved C++11 support by
adding reverse iterators for all our container classes, a key_iterator for QHash and QMap, and a const_iterator for QByteArray.
Maybe worth noting that 5.6 is the will be the last version before some open source licensing changes take place, more details here.
Qt 5.6.0 - release post
Qt 5.6.1 - release post
Fixes #7999
OpenSSL 1.0.2hI had issues compiling with 1.0.1k, and had to remove the
no-cms
andno-rc2
configure options for 1.0.2h, otherwise the build would fail.I also had to add a
make depend
step before building.