mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-26 19:32:06 -05:00
3494c2382d
This patch adds EventLoopImplementationQt which is a full replacement for the Core::EventLoopImplementationUnix that uses Qt's event loop as a backend instead. This means that Core::Timer, Core::Notifier, and Core::Event delivery are all driven by Qt primitives in the Ladybird UI and WC processes.
26 lines
1 KiB
CMake
26 lines
1 KiB
CMake
set(WEBCONTENT_SOURCE_DIR ${SERENITY_SOURCE_DIR}/Userland/Services/WebContent/)
|
|
|
|
set(WEBCONTENT_SOURCES
|
|
${WEBCONTENT_SOURCE_DIR}/ConnectionFromClient.cpp
|
|
${WEBCONTENT_SOURCE_DIR}/ConsoleGlobalEnvironmentExtensions.cpp
|
|
${WEBCONTENT_SOURCE_DIR}/PageHost.cpp
|
|
${WEBCONTENT_SOURCE_DIR}/WebContentConsoleClient.cpp
|
|
${WEBCONTENT_SOURCE_DIR}/WebDriverConnection.cpp
|
|
../EventLoopImplementationQt.cpp
|
|
../EventLoopPluginQt.cpp
|
|
../FontPluginQt.cpp
|
|
../ImageCodecPluginLadybird.cpp
|
|
../RequestManagerQt.cpp
|
|
../TimerQt.cpp
|
|
../Utilities.cpp
|
|
../WebSocketClientManagerLadybird.cpp
|
|
../WebSocketLadybird.cpp
|
|
../WebSocketImplQt.cpp
|
|
main.cpp
|
|
)
|
|
|
|
qt_add_executable(WebContent ${WEBCONTENT_SOURCES})
|
|
|
|
target_include_directories(WebContent PRIVATE ${SERENITY_SOURCE_DIR}/Userland/Services/)
|
|
target_include_directories(WebContent PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/..)
|
|
target_link_libraries(WebContent PRIVATE Qt::Core Qt::Gui Qt::Network LibCore LibFileSystem LibGfx LibIPC LibJS LibMain LibWeb LibWebSocket)
|