Kai,
I downloaded Qt 5.6.1 from the download.qt.io website.
I wonder if something is getting relinked during packaging? The main
application works ok so I don't think that is the problem. We use cpack
for our packaging into a .tar.gz
Our package layout is this:
DREAM.3D
|-bin
|-- dream3d
|-- qt.conf
|-- QtWebEngineProcess
|-- resources
|-- translations
|-lib
|--libQt5Core.so.5
and our qt.conf file is this:
[Paths]
Plugins = ../Plugins
Prefix = .
LibraryExecutables = .
Data = .
--
Michael A. Jackson
BlueQuartz Software, LLC
[e]: mike.jack...@bluequartz.net
Kai Koehne wrote:
Setting LD_LIBRARY_PATH is the ultima ratio, but shouldn't be needed here.
I understand that you've been installing Qt 5.6.0 from the binary
installer? Or did you configure/built it yourself?
For the binary installer, QtWebEngineProcess should have a RUNPATH set
to $ORIGIN/../lib:
$ readelf --dynamic QtWebEngineProcess | grep PATH
0x000000000000001d (RUNPATH) Library runpath: [$ORIGIN/../lib]
Check whether libQt5Core.so.5 is found there (should be
/opt/DREAM3D_SDK/Qt5.6.0/5.6/gcc_64/lib for you)
Regards
Kai
------------------------------------------------------------------------
*From:* Interest <interest-bounces+kai.koehne=qt...@qt-project.org> on
behalf of Thiago Macieira <thiago.macie...@intel.com>
*Sent:* Saturday, June 25, 2016 2:17:59 AM
*To:* interest@qt-project.org
*Subject:* Re: [Interest] Deploying QtWebEngine on Linux with Qt 5.6.0
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:
Kai,
/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
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest