Qt 5.7.0 has been released.
My effort on the qt5-git package is kind of close to be good, but there are still a few issues that I'm not able to figure out.
Everything builds fine, QtWidget examples work fine, basic Quick examples work fine, Qt3D "windowed" examples work fine
BUT
1) I've got a misterious message saying "Unable to find the specified path" for 3 times every time I execute qmake on any example/project. Afterward, everything builds fine and run though
2) Qt3D + Quick examples do not work. They build fine but show a white window and I don't know why. (and that's exactly what I need for my projects :disappointed: )
Can we please join efforts with this 5.7.0 release and make it straight ?
Footnote: obviously QtWebEngine is out of the game. I never even tried to build it.
I'm maintaining the mingw-w64-qt5-* cross compiler packages for Arch Linux which work very similar and I'm currently upgrading to 5.7.0, too.
Here a link just that you know what I'm talking about: https://github.com/Martchus/PKGBUILDs
It seems like you're building WebKit in the regular (non-Git) version of the package but not in the Git version. Hence possible build issues with WebKit should be fixed before upgrading the regular package to 5.7.0.
In fact (and that is the main reason I'm writing this comment) I have encountered issues building Qt WebKit 5.7.0: The build system tries to build some units with the C compiler instead with the C++ compiler which leads to errors like #include<algorithm> can not be found. Do you also have the same problem here? The other Qt modules work for me (at least they can be built).
To your footnote about QtWebEngine: I also gave up on that. However, there is an interesting alternative: https://github.com/annulen/webkit/releases
It is just a preview and I haven't tried to build it yet, but it seems promising.
Unfortunately I can not help you with the issues itself. Do you use ANGLE or native OpenGL?
AFAIK QtWebkit is no longer included in Qt 5.7.0. The project ran by Konstantin Tokarev is a "reboot" of QtWebkit, but it's not an official module supported by the Qt company. Also, it's still in tech preview, so I don't believe efforts should go in that module at the moment.
Plus, I would keep it separated from the official Qt modules, for several reasons. One above all, the footprint. Not everybody needs a webkit engine, so it should be installed separately "on demand".
As for opengl, I believe ANGLE is still a work in progress here (and doesn't work yet), so ATM I think we build the 'desktop' way
We download and build Webkit module during Qt5 building see PKGBUILD
Ah yes, I forgot about that, but it doesn't make sense anymore with Qt 5.7.0.
(in fact you cannot find it here: https://download.qt.io/official_releases/qt/5.7/5.7.0/submodules/)
You might find unexpected build errors since it is not "officially" maintained anymore.
QtWebEngine should be built...if only it could be built...
I would say we should wait for the QtWebKit reboot to stabilize, and create a new "qt5webkit" package in MSYS, separated from the official Qt modules
That the alternative approach by Konstantin Tokarev is not official should be quite obvious. I just mentioned it because of your comment about Qt WebEngine. Currently, I wouldn't put efforts into it, too.
That's why I'm currently still trying to build the current and former officially maintained Qt WebKit module which is now released as a "community release" but has been deprecated.
Not everybody needs a webkit engine, so it should be installed separately "on demand".
This is true. In fact, my cross-compiler package do not only allow _installing_ the Qt modules separately, but also _building_ them separately. And I have already updated all modules to 5.7.0, except WebKit because I'm still unable to resolve the build issues. The cause of the problem might be that Arch updated mingw-w64-gcc to version 6.1 which behaves differently when the -isystem flag is used or that there are some changes in qmake 5.7.0 causing the issues. I don't believe that changes in the WebKit module itself are the problem because compared to the 5.6.1 version I didn't notice any relevant changes.
To the ANGLE thing: I had to put some effort in it to make it working. Needed to patch ANGLE itself, qt-base and of course the WebKit module. Some time ago I committed some of the changes here, too. But I don't know whether it is actually working here. But _not_ to use ANGLE should be the less error prone way, anyways.
@Martchus you mentioned that you have built all the 5.7.0 modules. Can you please check the "controls" example of the Qt3D module and tell me if it works for you ?
My qt5-git build of 5.7.0 produces a white empty window when I launch it. Can't figure out why, since all the other examples (minus another one) work perfectly.
I suspect there is some sort of error in the qmake qml plugins path resolution, but it's really weird cause it should affect many examples. Instead just very few of them have this issue.
All sorted ! :tada:
see #1507
Yet another patch :-) But I think I'll also add the patch to my packages since the bug seems critical enough.
Just a quick update. I reported what I found here
https://bugreports.qt.io/browse/QTBUG-54346
and a patch has been submitted and merged, targeting 5.7(.1)
https://codereview.qt-project.org/#/c/163566/
I haven't tested it yet, but at least it's good to know that sometimes they care about MSYS2...
Hello, I getting "white screens" (not sure are the same @mcallegari got, as he described here) when trying to run a Qt Quick 2 app built using MSYS2 Qt5 package. The terminal output shows some OpenGL errors. I'm using a Windows 8.1 installed in VirtualBox environment, no additional video drivers installed (it used Microsoft ones, which supports OpenGL 1.1), so I'm quite sure the errors happens because Qt5 for MSYS2 are configured/built/packaged with "-opengl=desktop" instead of "angle" or "dynamic".
Just opened #1649 to keep tracking of adding support to "angle" or "dynamic" to qt5 packages, before to open it I searched for something similar and didn't found, I'm sorry if it already exists somewhere.
Thanks, and if necessary I'd be happy to helping on that.
Is this version close to being released?
Anything more to do here? We are at 5.11.1 now.
This can be closed.
@mcallegari thanks
Most helpful comment
Just a quick update. I reported what I found here
https://bugreports.qt.io/browse/QTBUG-54346
and a patch has been submitted and merged, targeting 5.7(.1)
https://codereview.qt-project.org/#/c/163566/
I haven't tested it yet, but at least it's good to know that sometimes they care about MSYS2...