[Interest] Deploying QtWebEngine on Linux with Qt 5.6.0
Thiago Macieira
thiago.macieira at intel.com
Sat Jun 25 02:17:59 CEST 2016
On sexta-feira, 24 de junho de 2016 15:40:17 PDT Mike Jackson wrote:
> I am running Ubuntu 14.04 and Qt 5.6 downloaded from downloads.qt.io. I
> have built my application
> and the application runs but when I try to invoke the QWebEngine classes I
> just get an empty widget and the following error in the terminal:
>
> /opt/DREAM3D_SDK/Qt5.6.0/5.6/gcc_64/libexec/QtWebEngineProcess: error while
> loading shared libraries: libQt5WebEngineCore.so.5: cannot open shared
> object file: No such file or directory
>
> The same thing happens when I package my application. I have tried all
> sorts of ways of configuring the qt.conf directory, moving libs into other
> folders, renaming executables but nothing seems to work. Has anyone else
> run into a situation like this? Can anyone make recommendations on how to
> package QWebEngine?
You need to set the LD_LIBRARY_PATH environment variable before your
application is started. So replace your application with a shell script that
sets the environment and then starts the application.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest
mailing list