Library not loaded: @rpath/QtWebEngineCore.framework



  • 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 found

    Can 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



  • 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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.