Skip to content

Commit

Permalink
Move plugin importing to cmake_helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-fedin authored and john-preston committed Mar 1, 2023
1 parent 2f0157b commit 69aec51
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions webview/platform/linux/webview_linux_webkit2gtk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#include "base/unique_qptr.h"
#include "ui/gl/gl_detection.h"

#include <QtCore/QtPlugin>
#include <QtGui/QWindow>
#include <QtQml/QQmlApplicationEngine>
#include <QtQml/QQmlContext>
Expand All @@ -24,16 +23,6 @@

#include <giomm.h>

#ifndef DESKTOP_APP_USE_PACKAGED
Q_IMPORT_PLUGIN(QtQmlPlugin)
Q_IMPORT_PLUGIN(QtQmlModelsPlugin)
Q_IMPORT_PLUGIN(QtQmlWorkerScriptPlugin)
Q_IMPORT_PLUGIN(QtQuick2Plugin)
Q_IMPORT_PLUGIN(QtQuick_WindowPlugin)
Q_IMPORT_PLUGIN(QWaylandCompositorPlugin)
Q_IMPORT_PLUGIN(QWaylandCompositorXdgShellPlugin)
#endif // !DESKTOP_APP_USE_PACKAGED

inline void InitResources() {
Q_INIT_RESOURCE(webview_linux);
}
Expand Down

0 comments on commit 69aec51

Please sign in to comment.