Quantcast
Channel: QtWebEngine
Viewing all 13965 articles
Browse latest View live

Unsolved For Qt 5.4.2, QtWebEngineCore.framework/Headers points to a position doesn't exits

$
0
0

For Qt 5.4.2, when I run "ls -la" under <lib path>/QtWebEngineCore.framework, it tells me:
Headers -> Versions/Current/Headers which means Headers is a symlink points to Versions/5/Headers. However Versions/5 folder doesn't have "Headers".

Found out this when trying to use python's dir_util.copy_tree to copy dir, however exception is thrown because the file it points to doesn't exist.


Unsolved Building 32bit on a 64bit machine

$
0
0

Hi,

I'd say that something you should rather bring to the QtWebEngine mailing list. You'll find there the QtWebEngine module developers/maintainers. This forum is more user oriented.

MP4 playback disabled by default (Ubuntu-Windows) ?

$
0
0

Hi,
I am also trying to play mp3/mp4 files from html using QwebEngineview. Can you please tell me how you have worked on this issue?

Thanks

Unsolved QT WebEngine 5.9.x - Cross Compile i.MX6

$
0
0

Hello gents,

I am trying to compile QT5.9.1 for my i.MX6 target and I am having problems in getting it build. I have no problems in cross compiling QT for my target without the QtWebEngine support. Also a cross build of Qt 5.7.1 works without any compile errors or issues. But starting with Qt 5.8.0 up to 5.9.1 cross building the QtWebEngine doesn’t work anymore. Here are my configuration and the error message I get. Any help appreciated. Thanks in advance.

Build-Configuration:

export PATH=$BIN_DIR/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin:$PATH:;
export PKG_CONFIG_LIBDIR=$ROOTFS_DIR/usr/lib/pkgconfig:$ROOTFS_DIR/usr/share/pkgconfig:$ROOTFS_DIR/usr/lib/arm-linux-gnueabihf/pkgconfig;
export PKG_CONFIG_SYSROOT_DIR=$ROOTFS;

$SRC_DIR/qt-everywhere-opensource-src-5.9.1/configure
-confirm-license
-release
-shared
-opensource
-prefix /usr/local/
-bindir /usr/local/qt5/bin
-libdir /usr/local/lib
-headerdir /usr/local/include
-datadir /usr/local/share/qt5
-archdatadir /usr/local/qt5
-plugindir /usr/local/qt5/plugins
-importdir /usr/local/qt5/imports
-translationdir /usr/local/share/qt5/translations
-hostdatadir $TOOLS_DIR/share/qt5
-extprefix $DIST_DIR
-hostprefix $TOOLS_DIR
-xplatform linux-arm-gnueabihf-g++
-platform linux-g++
-sysroot $ROOTFS_DIR
-no-pch
-opengl es2
-skip qtwayland
-skip qtwebkit
-skip qtwebkit-examples
-nomake examples
-nomake tests
-reduce-exports
-make libs;

make -j6;
make install';

Error Message:

make[4]: Entering directory '/opt/armv7/tmp/qtwebengine/src/core'
make[4]: Nothing to be done for 'install'.
make[4]: Leaving directory '/opt/armv7/tmp/qtwebengine/src/core'
cd api/ && ( test -e Makefile.core_api || /opt/armv7/tmp/qtbase/bin/qmake -o Makefile.core_api /opt/armv7/src/qt-everywhere-opensource-src-5.9.1/qtwebengine/src/core/api/core_api.pro ) && make -f Makefile.core_api install
make[4]: Entering directory '/opt/armv7/tmp/qtwebengine/src/core/api'
make[4]: Nothing to be done for 'install'.
make[4]: Leaving directory '/opt/armv7/tmp/qtwebengine/src/core/api'
( test -e Makefile.core_module || /opt/armv7/tmp/qtbase/bin/qmake -o Makefile.core_module /opt/armv7/src/qt-everywhere-opensource-src-5.9.1/qtwebengine/src/core/core_module.pro ) && make -f Makefile.core_module install
make[4]: Entering directory '/opt/armv7/tmp/qtwebengine/src/core'
perl /opt/armv7/src/qt-everywhere-opensource-src-5.9.1/qtbase/mkspecs/features/data/unix/findclasslist.pl < QtWebEngineCore.version.in > QtWebEngineCore.version
make[4]: *** No rule to make target '/opt/armv7/tmp/qtwebengine/src/core/Release/QtWebEngineCore.stamp', needed by '../../lib/libQt5WebEngineCore.so.5.9.1'. Stop.
make[4]: Leaving directory '/opt/armv7/tmp/qtwebengine/src/core'
Makefile:130: recipe for target 'sub-core_module-pro-install_subtargets' failed
make[3]: *** [sub-core_module-pro-install_subtargets] Error 2
make[3]: Leaving directory '/opt/armv7/tmp/qtwebengine/src/core'
Makefile:89: recipe for target 'sub-core-install_subtargets' failed
make[2]: *** [sub-core-install_subtargets] Error 2
make[2]: Leaving directory '/opt/armv7/tmp/qtwebengine/src'
Makefile:58: recipe for target 'sub-src-install_subtargets' failed
make[1]: *** [sub-src-install_subtargets] Error 2
make[1]: Leaving directory '/opt/armv7/tmp/qtwebengine'
Makefile:957: recipe for target 'module-qtwebengine-install_subtargets' failed
make: *** [module-qtwebengine-install_subtargets] Error 2

Unsolved will Qt 5.10 has web App with libraries API webgl?

Unsolved Using h264 and mp3 content in QWebEngine?

$
0
0

Hi,

First and foremost, please stay polite.

H.264 if a proprietary codec. If you want to use it in your application you must either get a license or use openH264. This decision is your responsibility and outside of Qt's scope.

Unsolved Print preview in QWebEngineView not working

$
0
0

Hello , this is my first Question i hope i get an answer to it .
( you may excuse me , my English is not so good :) )

i have a web application for Queue manager and i want to display the screen part
( where the costumer click on a chosen operation and he get a printed small ticket )
on full screen mode , so i made a python QT5 web browser

import sys

from PyQt5.QtCore import QUrl
from PyQt5.QtWidgets import QApplication
from PyQt5.QtWebEngineWidgets import QWebEngineView
from PyQt5.QtGui import QIcon

from xml.dom import minidom
xmldoc = minidom.parse('config.xml')
itemlist = xmldoc.getElementsByTagName('item')

app = QApplication(sys.argv)

wv = QWebEngineView()
wv.setWindowTitle('QueueManager')
wv.setWindowIcon(QIcon('favicon.ico'))

if itemlist[1].attributes['mode'].value=='fullscreen' :
    wv.showFullScreen()
else:
    wv.showMaximized()

wv.load(QUrl(itemlist[0].attributes['url'].value))
wv.show()

app.exec_()

- config.xml contain the url and display mode

until now the program work fine
0_1503950674417_queue.jpg

but when i click on one of the operations there is no preview or ticket in the queue list of the printer

for example in chrome browser the result will be a default preview of the ticket than i decide to print it (pdf or .... )

i just whon't to know if the QWebEngineView allow this functionality ( listen to the print event from the loaded html page and trigger the printer device)
if yes, should i add some configuration or some modules to tested ?

i hope i explained my problem well !

Unsolved How to disable the zoom mode of chrome in QtWebEngine?

$
0
0

Hi guys! I have used QWebEngineView to display a web page, it can zoom with two fingers on the touch screen computer. But now i want to disable the zoom mode. What should I do? Please help me. Thanks!


Unsolved Building Qtwebengine using MSVC2015 on Qt5.6

$
0
0

Hi,

I am building Qtwebengine on windows 7 with MSVC2015 and Qt5.6 with proprietary_codecs enabled. I tried to build it on windows command prompt as:

C:\Qt\Qt5.6.0\Src\qtwebengine>"C:\Qt\Qt5.6.0\5.6\msvc2015_64\bin\qmake" WEBENGIN
E_CONFIG+=use_proprietary_codecs

Qt WebEngine on Windows requires MSVC 2013 or MSVC 2015.
Qt WebEngine on Windows requires MSVC 2013 or MSVC 2015.
QtWebEngine will not be built.

When I checked Visual Studio Path is present in Path variable. So not able to understand why qtwebengine\tools\qmake\mkspecs\features\functions.prf throwing this error?

Any help is appreciated.

Thanks.

Solved Chromium Update

$
0
0

Thank you for your quick and helpful answer!

Unsolved QWebengine : Can't load any url

$
0
0

You try with QWebView with argument as the string of url

Unsolved QWebEnginePage::printToPdf() - how to allow it to proceed

$
0
0

I need to know what code Qt requires to allow QWebEnginePage::printToPdf() to proceed to actually print the PDF?

Through necessity rather than choice, I need to await completion of the printing to file before my code can continue, i.e. effectively I need a synchronous printToPdf().

The outline of my code (PyQt5, QT 5.7) is:

def synchronousPrintToPdf(self):
    self.webView.page().printToPdf(self.callbackPrintToPdf)
    # allow printing to proceed - what to put here??
    # wait for callbackPrintToPdf() to complete

def callbackPrintToPdf(self, data: QByteArray):
    # save data to some output file
    # signify that printing has completed,
    # so that synchronousPrintToPdf() can exit

The problem is not the behaviour of callbackPrintToPdf() --- if & when the printing proceeds it gets called and executes fine. Rather the issue is what QWebEnginePage::printToPdf() requires the calling code to do in order to allow it to actually proceed to do the printing.

I have found that if the caller happens to put up a (modal) dialog after calling synchronousPrintToPdf() then at that point the printing proceeds and callbackPrintToPdf() gets executed.

I need to know what the caller can do without a dialog (or any other interaction)? Stumbling around a bit, I have tried (in synchronousPrintToPdf()):

self.printLoop = QEventLoop(self)
self.printLoop.exec()

However, this does not cause the printing to proceed.

I believe that after calling QWebEnginePage::printToPdf() the actual printing is done in a separate thread. What is it about putting up a dialog (QtWidgets.QDialog.open()) that allows this to execute so that I can use some part of it without actually waiting for interaction?

Solved QtWebEngine compilation with proprietary codecs doesn't work

$
0
0

@lipqil
CALL "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64

to remove above error.

Unsolved Problem(s) with QWebEnginePage to print an HTML document in PDF

$
0
0

Hi,
I'm trying to move an application, initially written with Qt 4.8.4, to Qt 5.9. This application used QWebPage to create an HTML document and finally print it in PDF. The HMTL is given to the QWebPage by setHtml() because we are doing some changes inside before to print it.

So, now I'm trying to use qWebEnginePage::printToPdf() to make the same stuff. But I encounter two problems:
1- I have an abort in QtWebEnginProcessd.exe when the function is called. And, as it is an external process I cannot debug it to find the source. This is not critical because everything works well in release mode,

2- The HTML documents contains a lot of images. Some of them use absolute paths (C:\my_path\img.png) because they correspond to static images (logo of the company). And some of them use relative paths because the are document specific, and must move we it (we move the whole directory). So, I have troubles with these images. They do not appear in the PDF file. I tried to set the current directory (before to call setHtml) to the document directory, but without change.

So, is it possible to say to the QWebEnginePage a "current directory"?

Thanks for your help.

Unsolved QWebEnginePage::printToPdf how to specify the creator?

$
0
0

Hi,
When I create a PDF file, I need to set the "creator" field that appear when you click on the properties of the PDF file. Using a QPrinter I have the option to set it. But, how can I set it if I use directly printToPdf?

Thanks.


Unsolved QtWebEngine (5.9/5.6) doesn't work with NTLM. Does any one has workaround?

Unsolved Html Parsing with QtWebEngine

Unsolved Cannot run QtWebEngine example minimal

$
0
0

@patrik08
Ok. But do you think it's something about compiler or system issue? I'm just trying to solve it

Unsolved Qt Web Engine in Qt 5.9.1 cannot be installed, size is 0 Bites

$
0
0

Hello, I wanted to write a simple web browser in qt, but although the qt module manager says it is installed, i cannot import it and its size is 0 bites! How can i install it?

Thanks in advance
aphi

Unsolved Performance problems - JavaScript (QWebEngine vs Google Chrome)

$
0
0

Hello,

I want to use QWebEngine for my application to show an interactive (but JavaScript rich) website. But the performance is slower than expected.

Just a little test case:
Website: http://vincentgarreau.com/particles.js/
Chrome: > 60 FPS
NanoBrowser (From Example): ~12 FPS
Both on fullscreen @ 1920x1080
OS: Windows 10
Qt: 5.9.1 & 5.10

Also I used the fix shown here: https://forum.qt.io/topic/82360/problem-with-qt-webengine-hardware-acceleration
-> But no difference (just that chrome://gpu say "Hardware Accelerated", but performance is not increasing)

Thats the difference when I watch the GPU environment.

Chrome:
0_1506709266366_bff3223b-dd30-4b5b-90aa-0a874adac759-image.png

Nano:
0_1506709237460_7e4d123b-9a43-4808-af95-219b042e2e2d-image.png

Are there some settings I can use to increase the performance?
Is the Nano Browser using Angle? Could that be the problem?

I can provide more informations if required.

Regards
t4ggno

Viewing all 13965 articles
Browse latest View live