Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
qt-modules: ''
name: Linux-Qt5
use-apt: true
apt-packages: 'qtbase5-dev qttools5-dev ninja-build xvfb libxcb-cursor0'
apt-packages: 'qtbase5-dev qttools5-dev libqt5svg5-dev ninja-build xvfb libxcb-cursor0'
test-cmd: xvfb-run -a ctest -V -E NOT_BUILT

# ========== Windows Builds ==========
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## v2.3.2

- support SVG Images
- [#29](https://github.com/procitec/qlitehtmlbrowser/issues/29): Show links to image files in own Dialog

## v2.3.1

- [#26](https://github.com/procitec/qlitehtmlbrowser/issues/26): Fix Multi-Elemen selection highlight boxes
Expand Down
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.28)

project( QLiteHtmlBrowser VERSION 2.3.1 )
project( QLiteHtmlBrowser VERSION 2.3.2 )

include(GNUInstallDirs)

Expand All @@ -27,12 +27,12 @@ if(PROJECT_IS_TOP_LEVEL)
set( AUTOUIC OFF)
set( AUTORCC OFF)

find_package(Qt6 COMPONENTS Core Gui Widgets)
find_package(Qt6 COMPONENTS Core Gui Widgets Svg)
if(Qt6_FOUND)
set(QT_VERSION_MAJOR 6)
else()
set(QT_VERSION_MAJOR 5)
find_package(Qt5 5.15 COMPONENTS Core Gui Widgets REQUIRED)
find_package(Qt5 5.15 COMPONENTS Core Gui Widgets Svg REQUIRED)
endif()

if( WITH_DOCS )
Expand Down
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ PRIVATE
"${PROJECT_SOURCE_DIR}/include"
)

target_link_libraries(QLiteHtmlBrowser PRIVATE litehtml Qt::Widgets Qt::Gui Qt::Core)
target_link_libraries(QLiteHtmlBrowser PRIVATE litehtml Qt::Widgets Qt::Gui Qt::Svg Qt::Core)
set_target_properties(QLiteHtmlBrowser PROPERTIES VERSION ${QLiteHtmlBrowser_VERSION})
set_target_properties(QLiteHtmlBrowser PROPERTIES PUBLIC_HEADER "${PUBLIC_HEADERS}")
set_property(TARGET QLiteHtmlBrowser PROPERTY CXX_STANDARD 17)
Expand Down
Loading
Loading