mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:24:57 +00:00
Ladybird: Move Qt-specific classes and functions to a Qt subdirectory
This will help a lot with developing chromes for different UI frameworks where we can see which helper classes and processes are really using Qt vs just using it to get at helper data. As a bonus, remove Qt dependency from WebDriver.
This commit is contained in:
parent
ccaa423372
commit
391beef707
53 changed files with 160 additions and 157 deletions
|
@ -43,7 +43,6 @@
|
|||
#if !defined(AK_OS_SERENITY)
|
||||
# include <Ladybird/HelperProcess.h>
|
||||
# include <Ladybird/Utilities.h>
|
||||
# include <QCoreApplication>
|
||||
#endif
|
||||
|
||||
class HeadlessWebContentView final : public WebView::ViewImplementation {
|
||||
|
@ -374,9 +373,6 @@ static ErrorOr<int> run_tests(HeadlessWebContentView& view, StringView test_root
|
|||
|
||||
ErrorOr<int> serenity_main(Main::Arguments arguments)
|
||||
{
|
||||
#if !defined(AK_OS_SERENITY)
|
||||
QCoreApplication app(arguments.argc, arguments.argv);
|
||||
#endif
|
||||
Core::EventLoop event_loop;
|
||||
|
||||
int screenshot_timeout = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue