diff options
Diffstat (limited to 'src/process/process.pro')
-rw-r--r-- | src/process/process.pro | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/src/process/process.pro b/src/process/process.pro index a9f5d183f..8ed09612a 100644 --- a/src/process/process.pro +++ b/src/process/process.pro @@ -3,14 +3,22 @@ TEMPLATE = app QT_PRIVATE += webenginecore -CONFIG -= app_bundle - load(qt_build_paths) -DESTDIR = $$MODULE_BASE_OUTDIR/libexec +contains(QT_CONFIG, qt_framework) { + # Deploy the QtWebEngineProcess app bundle into the QtWebEngineCore framework. + DESTDIR = $$MODULE_BASE_OUTDIR/lib/QtWebEngineCore.framework/Versions/5/Helpers +} else { + CONFIG -= app_bundle + DESTDIR = $$MODULE_BASE_OUTDIR/libexec +} INCLUDEPATH += ../core SOURCES = main.cpp -target.path = $$[QT_INSTALL_LIBEXECS] +contains(QT_CONFIG, qt_framework) { + target.path = $$[QT_INSTALL_LIBS]/QtWebEngineCore.framework/Versions/5/Helpers +} else { + target.path = $$[QT_INSTALL_LIBEXECS] +} INSTALLS += target |