I'm having problems with getting QTWebKit to properly handling ASP.NET websites.
For example, the menu bar example on the page http://demos.telerik.com/aspnet-ajax/menu/examples/default/defaultcs.aspx is not working.
Any solution to the problem?
what version of Qt you're using? I've just check that site on Qt 4.7.4 Fancy Browser demo and everything works well for me
Related
I'm creating an application using QWebEngineView and QWebEnginePage.
I was wondering if there is a way to active the Web Dev Tools?
I need to debug the html, javascript code like you do it using Google Developer Tool on Chrome.
If it is not possible in QT 5.4 does anyone know when it is planned to be included in future versions of QT ?
add these line to your code
#ifdef QT_DEBUG
qputenv("QTWEBENGINE_REMOTE_DEBUGGING", "9000");
#endif
after launching your application start google chrome then navigate to http://localhost:9000 you will get developer tools
You can do it with older QWebView, see QWebSettings::DeveloperExtrasEnabled.
Docs have nothing about same for QWebEngineView, but I found this link (look at line 47). I didn't try if it works, but you can try. May be dev tools will be available in one of the following QT versions.
And here is a bit more flexible solution: to launch application with command line parameter --remote-debugging-port=XXXX. It's automatically routed by QApplication to the Blink (or whatever QWebEngine is) internals, so there is no additional work like arguments parsing needed; and it can be changed without app rebuild.
Upd: frankly speaking, I had used it only with 5.5 & 5.6, perhaps it unsupported in 5.4
set command line "remote-debugging-port=XXXX";but there's a problem, when the application exit, it will produce a crash
I have application created using QT 5.0.2. When launch the video window, blank screen is observed. I am using win8 64-bit OS(also VLC). There is no issue with QT4 in win7 32-bit. Video streaming is perfect. Using qt webit/webpage classes
Is there any way to check: whether plug-in(mainly to view the video frames) is enabled or not in qt web-kit browser ?
Qt 4.8 and latest version 5.0.2 doesn't support video.. here is the link
[http://qt-project.org/forums/viewthread/23636][1]
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/][2]
Some one already mentioned the qt open bug against it.
[https://bugreports.qt-project.org/browse/QTBUG-22883][3]
While HTML5 media tags aren't working in QtWebKit 2.2.2 and it's a known issue, but I still need to get this demo done on time. I need the media tags to display a video behind some HTML, which I don't mind doing without the media tags if its possible. I'm running Windows XP using MinGW. I was able to compile the latest webkit. I'm trying to integreate QtMultimedia from the QtMoblity package as some said it fixes the issues.
I've just write a code with QT version 4.8, nothing went wrong. Did you provide the media plugin to play the video? There is a nice example in this link, you can look at its source code, you don't have to include phonon or mobility for such a job.
How to save firebug changes using Eclipse (Windows)?
I found here that it's possible to save firebug changes if we use Eclipse and FireEclipse
Is anyone using this combination successfully? Can anyone explain the step of Installing?
I'm on Windows7 64 bit
And if FireEclipse works with Eclipse then Will it also work with Aptana port of Eclipse?
First, whether it will work on Aptana? Yes, it should.
Now to the main question: The Fireclipse site claims contrary to what the answer you have linked to cites: the FE site claims that it mainly helps in debugging javascript through Firebug and Eclipse consoles (nothing about exporting/saving CSS changes).
Also, I wouldn't really recommend going with this plugin 'coz it hasn't been updated in a while. According to SourceForge (where the source of this project is hosted), Fireclipse was last updated 2008-10-22. Unless, you are still using Firefox 2 and Eclipse 3.2, you should avoid this plugin.
Try some of the other tools listed in that thread, for example, FireDiff sounds promising.
This is how i save my firebug changes.
https://addons.mozilla.org/en-US/firefox/addon/firediff/
Hope this helps.
im using Qwebkit and every time im loading youtube , its asking me to download the latest
flash player plugin , even so i already installed the plugin and i can see youtube videos
in firefox and explorer very well
what is the deal with Qwebkit and Flash plagin ?
There is a way of doing it. Qt in windows doesn't use by default the flash plugin even if you have installed it for firefox. The solution is to manually copy the plugin dll into your compiled application directory (I mean in the same directory than the executable is installed).
I did it more than a year ago so I'm not totally sure if it has to be directly in the directory or under a folder called plugins. Try both and one of them should work.
The flash plugin dll should be in your firefox directory, if not do a search in google and there are several pages in which you can download it.
You also need to activate plug-ins support for QWebView. I think that was done in the pro file, but I have been doing some research and it maybe done changing the web settings:
websettings.setAttribute(QtWebKit.QWebSettings.PluginsEnabled,True)
Go to adobe.com and download the plugin for Other Browsers (Firefox, Safari, Opera), and re-install...
Just to report on my experience of enabling flash in QWebKit, do the following:
download firefox and install flash player for firefox,
enable plug-ins in QWebKit (QWebSettings::globalSettings()->setAttribute(QWebSettings::PluginsEnabled, true);)
then recompile your Qt Application.
Now flash should work fine.
Your problem is very simple to solve. Just add the following lines to your code:
QWebSettings *defaultSettings = QWebSettings::globalSettings();
defaultSettings->setAttribute(QWebSettings::JavascriptEnabled, true);
defaultSettings->setAttribute(QWebSettings::PluginsEnabled, true);