File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -64,7 +64,6 @@ Vcs-Git: https://github.com/mozilla-mobile/mozilla-vpn-client
6464Package: mozillavpn
6565Architecture: any
6666Depends: wireguard (>=1.0.20200319),
67- wireguard-tools (>=1.0.20200319),
6867 libfreetype6,
6968 libfontconfig1,
7069 libegl1,
Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ if(NOT BUILD_FLATPAK)
5050 # Link to polkit
5151 find_package (PkgConfig REQUIRED )
5252 pkg_check_modules (polkit REQUIRED IMPORTED_TARGET polkit-gobject-1 )
53+ target_link_libraries (mozillavpn PRIVATE PkgConfig::polkit )
5354
5455 if (QT_FEATURE_static)
5556 find_package (Qt6 REQUIRED COMPONENTS WaylandClientPrivate )
@@ -58,7 +59,10 @@ if(NOT BUILD_FLATPAK)
5859 target_link_libraries (mozillavpn PRIVATE Qt6::WaylandClientPrivate )
5960 endif ()
6061
61- target_link_libraries (mozillavpn PRIVATE PkgConfig::polkit )
62+ # Add the offscreen backend support when building for debug.
63+ if (QT_FEATURE_static AND CMAKE_BUILD_TYPE STREQUAL "Debug" )
64+ qt_import_plugins (mozillavpn INCLUDE Qt6::QOffscreenIntegrationPlugin )
65+ endif ()
6266
6367 target_sources (mozillavpn PRIVATE
6468 ${CMAKE_SOURCE_DIR} /src/platforms/linux/linuxcontroller.cpp
You can’t perform that action at this time.
0 commit comments