summaryrefslogtreecommitdiff
path: root/process
diff options
context:
space:
mode:
Diffstat (limited to 'process')
-rw-r--r--process/main.cpp4
-rw-r--r--process/process.pro16
2 files changed, 11 insertions, 9 deletions
diff --git a/process/main.cpp b/process/main.cpp
index 839b626c3..800dbdcfa 100644
--- a/process/main.cpp
+++ b/process/main.cpp
@@ -39,10 +39,10 @@
**
****************************************************************************/
-#include "content/public/app/content_main.h"
+#include "process_main.h"
int main(int argc, const char **argv)
{
- return content::ContentMain(argc, argv, 0);
+ return QtWebEngine::processMain(argc, argv);
}
diff --git a/process/process.pro b/process/process.pro
index 11a7880f2..8edf22bf2 100644
--- a/process/process.pro
+++ b/process/process.pro
@@ -1,11 +1,13 @@
-# This is a dummy .pro file used to extract some aspects of the used configuration and feed them to gyp
-# We want the gyp generation step to happen after all the other config steps. For that we need to prepend
-# our gyp_generator.prf feature to the CONFIG variable since it is processed backwards
-CONFIG = gyp_generator $$CONFIG
-GYPDEPENDENCIES += ../shared/shared.gyp:qtwebengine_shared
-GYPINCLUDES += ../qtwebengine.gypi
-
TARGET = $$QTWEBENGINEPROCESS_NAME
TEMPLATE = app
+macx:LIBPATH = $$getOutDir()/$$getConfigDir()
+else:LIBPATH = $$getOutDir()/$$getConfigDir()/lib
+LIBS_PRIVATE += -lQt5WebEngineCore -L$$LIBPATH
+QMAKE_RPATHDIR += $$LIBPATH
+
+DESTDIR = $$getOutDir()/$$getConfigDir()
+
+INCLUDEPATH += ../lib
+
SOURCES = main.cpp