[solved] 5.4.0-beta: Mac OS Deployment of App with QtWebEngine bug



  • Hi,

    my app uses Qt 5.4.0 beta-1 on Mac OS X Yosemite and QtWebEngine.
    I noticed the "known bug":https://bugreports.qt-project.org/browse/QTBUG-41611.

    I now try to copy the missing stuff manually. So like in the bug report explained i copied the following files:

    • icudtl.dat ---> to MyApp.app/Contents/
    • qtwebengine_resources.pak ---> to MyApp.app/Contents/
    • QtWebEngineProcess ---> to MyApp.app/Contents/

    Still the same error:

    @
    Exception Type: EXC_CRASH (SIGABRT)
    Exception Codes: 0x0000000000000000, 0x0000000000000000

    Application Specific Information:
    abort() called

    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0 libsystem_kernel.dylib 0x00007fff98a95282 __pthread_kill + 10
    1 libsystem_c.dylib 0x00007fff9b829b73 abort + 129
    2 QtCore 0x000000010121fb79 0x1011fe000 + 138105
    3 QtCore 0x00000001012215cf QMessageLogger::fatal(char const*, ...) const + 239
    4 QtWebEngineCore 0x00000001025ba89b 0x10258d000 + 186523
    5 QtWebEngineCore 0x00000001025b9163 0x10258d000 + 180579
    6 QtWebEngineCore 0x00000001025b8c13 0x10258d000 + 179219
    7 QtWebEngineCore 0x00000001025b259c WebContentsAdapter::WebContentsAdapter(content::WebContents*) + 44
    8 QtWebEngineWidgets 0x00000001017c6a1e 0x1017c0000 + 27166
    9 QtWebEngineWidgets 0x00000001017c7ace QWebEnginePage::QWebEnginePage(QObject*) + 46
    10 QtWebEngineWidgets 0x00000001017cd062 QWebEngineView::page() const + 50
    @

    Maybe somebody know how to fix this?
    Where exactly i have to copy the 3 files.

    Greetings
    Nando



  • I get

    @ 21/11/14 00:17:10,000 kernel[0]: Sandbox: AVIATOReLogbook(63475) deny file-write-create /development/git/AVIATOReLogbook/build-AVIATOReLogbook-Desktop-Desktop_Qt_5_4_clang_64bit-Release_CODESIGN/AVIATOReLogbook.app/Contents/translations@

    Somehow it seems QtWebEngine wants to create a file

    @MyAp..app/Contents/translations/qtwebengine_locales@

    Greetings



  • Got it with 5.4RC and copying
    QtWebEngineCore.framework Library + Headers manually in app bundle
    .app/Contents/Frameworks/QtWebEngineCore.framework

    including the links Library + Headers

    Greetings


  • Lifetime Qt Champion

    You needed the headers deployed ?


Log in to reply
 

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