Skip to content

Commit

Permalink
Link all the tests to Qt::Svg
Browse files Browse the repository at this point in the history
  • Loading branch information
strseb committed Jan 21, 2025
1 parent c822e65 commit 89f3810
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ qt_add_executable(mozillavpn MANUAL_FINALIZATION)

mz_target_handle_warnings(mozillavpn)

find_package(Qt6 REQUIRED COMPONENTS Svg)

target_link_libraries(mozillavpn PRIVATE
Qt6::Quick
Qt6::Test
Expand Down
1 change: 0 additions & 1 deletion src/platforms/windows/windowsutils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#include <QSysInfo>
#include <QWindow>

#include "platforms/windows/daemon/wireguardutilswindows.h"
#pragma comment(lib, "dwmapi.lib")

#include "logger.h"
Expand Down
1 change: 0 additions & 1 deletion src/theme.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#include <QCoreApplication>
#include <QPainter>
#include <QQmlEngine>
#include <QSvgRenderer>

namespace {
Logger logger("Theme");
Expand Down
1 change: 1 addition & 0 deletions tests/auth_tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ target_link_libraries(app_auth_tests PRIVATE
Qt6::Test
Qt6::WebSockets
Qt6::Widgets
Qt6::Svg
)

if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Emscripten"
Expand Down
1 change: 1 addition & 0 deletions tests/qml/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ target_link_libraries(qml_tests PRIVATE
Qt6::Qml
Qt6::Quick
Qt6::QuickTest
Qt6::Svg
)

target_link_libraries(qml_tests PRIVATE qtglean lottie nebula translations)
Expand Down

0 comments on commit 89f3810

Please sign in to comment.