pmaports/luna/luna-webappmanager/fix-qtwebengine-private-includes.patch
Alex Roth 04d73a5824 Add packages and configuration changes to allow Luna to start in QEMU (#1016)
* Added a lot more Luna packages. It is now possible to start Luna, complete the first use app, and use the system. ARM support still broken.
* Cleanup & testing fixes. Starting in a fresh qemu environment works, but isn't quite deterministic. See wiki page for details
2017-12-17 18:25:59 +00:00

15 lines
662 B
Diff

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index ae27484..e488487 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,4 +1,10 @@
+
+set(QTWEBENGINE_REAL_PRIVATE_INCLUDES "/usr/include/QtWebEngine/${Qt5WebEngine_VERSION}")
+set(QTWEBENGINE_REAL_PRIVATE_INCLUDES2 "/usr/include/QtWebEngine/${Qt5WebEngine_VERSION}/QtWebEngine")
+MESSAGE( STATUS "CMAKE_BINARY_DIR: " ${QTWEBENGINE_REAL_PRIVATE_INCLUDES} )
include_directories(
+ ${QTWEBENGINE_REAL_PRIVATE_INCLUDES}
+ ${QTWEBENGINE_REAL_PRIVATE_INCLUDES2}
${Qt5WebEngine_PRIVATE_INCLUDE_DIRS}
${Qt5WebChannel_PRIVATE_INCLUDE_DIRS}
${Qt5Quick_PRIVATE_INCLUDE_DIRS}