Qt 5.9 QtWebKit not installed - qt

I just installed Qt Creator 5.9 and 5.3. I decided to somehow copy the plugin/module/source files for QtWebKit from 5.3 to 5.9. Basically, I "ported it", but without any success. It just keeps bringing up the error:
QT module(s) not installed: webkit
What version of Qt should I use in order to build iOS, Android and Windows mobile applications with QtWebView? I can't wrap my head around how this works. If anyone can direct me to a working environment with QML QtWebView module fully installed or can tell me what I missed in my "porting", I would really appreciate it since I really can't find any solution to this problem, no matter how much time I spend searching on google.
Thank you!

Related

Where do I download a precompiled version of QtWebKit for Qt 5.8 and MSVC2015

I found a link to a place to download a precompiled version of QtWebKit for Qt 5.8/MSVC2015 here on Stackoverflow a few months ago but can't seem to dig it up anymore. (Asking me to use QWebEngine won't help -- it's not working and it appears to be impossible to get it work).
Since Qt no longer ships binaries of QtWebKit since its deprecation, probably what you had found before is the link to binaries of QtWebKit revival project - currently there are available binaries of "technology preview 5" pre-release version: https://github.com/annulen/webkit/releases/tag/qtwebkit-tp5.

How do I determine the cause of Qt's "*** is not a valid Qt plugin" error?

When I print the value of errorString from my QPluginLoader object, I get this:
The file 'C:/pyprojects/test/qsqlpsqld4.dll' is not a valid Qt plugin.
I would like to avoid some days worth of doing the time consuming "guess-and-check" methodology that my current internet searches reveal (so far none of them seem relevant anyways).
Is there a way for me to get the Qt library itself to tell me why it is refusing to load this plugin?
I don't want to guess; I want to know.
Context:
I am on Windows 7 running Qt 4.8.5 (32-bit, MinGW) and the qsqlpsqld4.dll file is also 32-bit and compiled with MinGW.
I am using PySide to interact with Qt.
It sounds like PySide wants the non-debug version of the library.
When you are in debug mode, it references libraries that end in d.dll or d4.dll. Try grabbing the plugin that does not have the d in the end of the dll name, and put it in the same spot.
I recently went through the throws of compiling one of the mysql qt plugins for 4.8.4 for visual studio 2010 and came out the victor.
Let me know if making that change fixes it or not. :)
Hope that helps.
PySide does not support MinGW. Official PySide distributions are compiled with Visual C++. You need to recompile your plugin with compatible Visual C++ version. By default PySide for Python 2.6, 2.7 and 3.2 is compiled with VC++ 2008. PySide for Python 3.3 is compiled with VC++ 2010 compiler.

Qt Creator crashes loading Examples

There is an Example tab at the Qt Creator(2.6.1)'s Welcome page, which is supposed to show the already made Qt Project Examples. But whenever I click on that, Qt creator closes automatically. Sometimes it shows the Example projects for 1 or 2 seconds and the exits. Any idea?
You probably need to configure Qt Creator to find your Qt installation.
Compiler configuration for Qt Creator
And you might need to get the msvs compiler, too.
http://www.microsoft.com/visualstudio/eng/products/visual-studio-express-products
They now have the mingw version available for windows with Qt 5.0.2.
http://qt-project.org/downloads
Also if you installed Qt without the examples that may also cause this error.
Hope that helps.

QWebView which version of webkit supported?

I am new to Qt. What I understand is Qt is porting webview from webkit. [Correct me if i am wrong]. and I could not able to find which version of the webkit is ported into Qt 5.0 or higher version.
Kindly suggest me how to find?
It's running on WebKit2, which specific version is a bit more tricky to find out, but you should be able to look through the Qt repository on gitorious to determine it. If I remember rightly it changes depending on how you've built Qt5 and where from.
Seems to be a 3-4 months old snapshot, see the git repo for the included commits.

Why QtWebkit 4.8.0 ( Webkit 2.2 ) dont support Audio & Video?

If I install Qt 4.7.4 with QtWebKit 2.0.2 (built for Visual Studio 2008) I immediately run one of the delivered examples (e.g. the Fancy Browser) which uses the QtWebKit. Then I browse to http://www.html5test.com [html5test.com] and I get (among others) these results
20/31 video points
20/20 audio points
19/20 web application points
Okay, cool so far.
I did the very same with Qt 4.8 RC1 and the included QtWebKit 2.2 (built for Visual Studio 2010), I get these results:
0/31 video points
0/20 audio points
15/20 web application points (the 4 points less are caused by missing support for ‘Custom content handlers’)
So, no audio and video support with the new version?!
http://ng1.upanh.com/b6.s15.d1/168f4bd62b3688b159282bf731713b02_39426931.2.png
http://ng9.upanh.com/b5.s13.d4/bdce7d70277d7b25c44ef84ea96b4c30_39427079.thehtml5testhowwelldoesyourbrows.png
According to folks on the QtWebkit mailing list, the problem is that Trolltech moved the multimedia support into QtMobility, and dropped the Phonon support that the previous QtWebkit used. Unfortunately they do not include the new QtMultimediaKit with Qt 4.8, and so the QtWebkit cannot depend on it.
So there is no multimedia available in Qt4.8/QtWebkit2.2 without:
Getting QtMultimediaKit from QtMobility and building it against Qt 4.8 ( http://doc.qt.nokia.com/qtmobility-1.2/installation.html, I had only minor issues building it)
Getting QtWebkit 2.2 from webkit.org ( http://trac.webkit.org/wiki/QtWebKitRelease22#SourceCodeandBuildInstructions ) and building it with the QtMultmediaKit available to it. I have not done this yet so I cannot tell you exactly what to do.
Also, note there is a bug open against this, apparently it was a known issue in the 4.8rc but they chose not to address it. https://bugreports.qt.io/browse/QTBUG-22883
Qt 4.8 and latest version 5.0.2 doesn't support video.. here is the link
http://qt-project.org/forums/viewthread/23636
You can resolve the issue by using this blog. Sorry I did not tried this. may help you. You need to build qt twice and few more corrections!
http://blog.enthought.com/open-source/fun-with-qtwebkit-html5-video/
Some one already mentioned the qt open bug against it.
https://bugreports.qt-project.org/browse/QTBUG-22883

Resources