Skip to content

Problems with QtWebEngineProcess on macos #4361

@paulocoutinhox

Description

@paulocoutinhox

Hi,

Im trying generate executable for UniqueBible project:

https://github.com/eliranwong/UniqueBible

But im getting error when execute the binary generated:

Could not find QtWebEngineProcess
Abort trap: 6

My command:

pyinstaller --name="TestApp" --onefile --windowed --noconsole MyTestApp.spec

MyTestApp.spec:

# -*- mode: python -*-

import os

current_path = os.path.dirname(os.path.abspath(os.getcwd()))

block_cipher = None

a = Analysis(
    ['main.py'],
    pathex=[        
        '/usr/local/lib/python3.7/site-packages/shiboken2',
        current_path,
    ],
    binaries=[],
    datas=[],
    hiddenimports=[],
    hookspath=[],
    runtime_hooks=[],
    excludes=[],
    win_no_prefer_redirects=False,
    win_private_assemblies=False,
    cipher=block_cipher,
    noarchive=False
)

pyz = PYZ(
    a.pure,
    a.zipped_data,
    cipher=block_cipher
)

exe = EXE(
    pyz,
    a.scripts,
    a.binaries,
    a.zipfiles,
    a.datas,
    [],
    name='TestApp',
    debug=False,
    bootloader_ignore_signals=False,
    strip=False,
    upx=True,
    runtime_tmpdir=None,
    console=False
)

info_plist = {
    'NSHighResolutionCapable': True,
    'LSEnvironment': {
        'LANG': 'de_DE.UTF-8',
        'LC_CTYPE': 'de_DE.UTF-8'
    },
    'NSRequiresAquaSystemAppearance': False
}

app = BUNDLE(
    exe,
    name='TestApp.app',
    icon=None,
    bundle_identifier=None,
    info_plist=info_plist
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:hooksCaused by or effecting some hook

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions