feat: add Qt6 binary detection (#4550)

---------
Signed-off-by: Rez Moss <hi@rezmoss.com>
Signed-off-by: Christopher Angelo Phillips <32073428+spiffcs@users.noreply.github.com>
Co-authored-by: Christopher Phillips <32073428+spiffcs@users.noreply.github.com>
This commit is contained in:
Rez Moss
2026-01-30 15:35:33 +00:00
committed by GitHub
co-authored by Christopher Phillips
parent e136ebc44f
commit 94c8088542
8 changed files with 86 additions and 3 deletions
@@ -1269,6 +1269,39 @@ func Test_Cataloger_PositiveCases(t *testing.T) {
Metadata: metadata("openssl-binary"),
},
},
{
logicalFixture: "qt/4.8.6/linux-amd64",
expected: pkg.Package{
Name: "qtbase",
Version: "4.8.6",
Type: "binary",
PURL: "pkg:generic/qtbase@4.8.6",
Locations: locations("libQtCore.so.4.8.6"),
Metadata: metadata("qt-qtbase-lib"),
},
},
{
logicalFixture: "qt/5.15.2/linux-amd64",
expected: pkg.Package{
Name: "qtbase",
Version: "5.15.2",
Type: "binary",
PURL: "pkg:generic/qtbase@5.15.2",
Locations: locations("libQt5Core.so.5.15.2"),
Metadata: metadata("qt-qtbase-lib"),
},
},
{
logicalFixture: "qt/6.5.0/linux-amd64",
expected: pkg.Package{
Name: "qtbase",
Version: "6.5.0",
Type: "binary",
PURL: "pkg:generic/qtbase@6.5.0",
Locations: locations("libQt6Core.so.6.5.0"),
Metadata: metadata("qt-qtbase-lib"),
},
},
{
logicalFixture: "gcc/12.3.0/linux-amd64",
expected: pkg.Package{