Skip to content

Fix build with QApt 3.x - #1

Open
obook wants to merge 1 commit into
evgeniy-harchenko:masterfrom
obook:fix/qapt-3x-compatibility
Open

Fix build with QApt 3.x #1
obook wants to merge 1 commit into
evgeniy-harchenko:masterfrom
obook:fix/qapt-3x-compatibility

Conversation

@obook

@obook obook commented Apr 4, 2026

Copy link
Copy Markdown

Summary

  • Lower QApt version requirement from 4.0.0 to 3.0.5 in CMakeLists.txt
  • Remove reinstalledPackages() call in HistoryView.cpp as this method does not exist in QApt 3.x

Context

QApt 4.0.0 (Qt6/KF6) is not yet available as a system package on most distributions. The current libqapt-dev ships version 3.0.5 (Qt5), and the KF6 port of libqapt also reports version 3.0.5.

The only incompatibility found was the HistoryItem::reinstalledPackages() method which was added in a later version and is not present in 3.0.5.

Test plan

  • Builds successfully with QApt 3.0.5 (libqapt kf-6 branch built with -DQT_MAJOR_VERSION=6)
  • Tested on Ubuntu with Qt 6.10.2 and KF6 6.24.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant