Library not loaded: @rpath/QtWebEngineCore.framework
-
wrote on 2 Jun 2016, 19:03 last edited by Tavis 6 Mar 2016, 21:20
When I try to run the examples quickNanoBrowser or Minibrowser (or any webwengine example) from OS X I get an image not found error:
Library not loaded: @rpath/QtWebEngineCore.framework/Versions/5/QtWebEngineCore
Referenced from: /Users/USER/*/QtWebEngineCore.framework/Helpers/QtWebEngineProcess.app/Contents/MacOS/QtWebEngineProcess
Reason: image not foundCan someone help? DO I need to do some extra steps to get the app to deploy properly? I can only get it to run if I build and run the app from within the Qt Creator IDE
-
wrote on 7 Jun 2016, 21:30 last edited by Tavis 6 Jul 2016, 21:32
For anyone interested, I solved the problem. None of the qtwebengine projects will run outside of QtCreator unless you run macdeployqt on the package first. But in order to get macdeployqt to work you need to specify the path to the Qml root directory of your project.
macdeployqt path/to/quicknanobrowser.app -qmldir=./path/to/my/quicknanobrowser/root
2/2