void-linux / void-linux/void-packages
Package request: Qt6 version of QXlsx library
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 3.4k
- Forks
- 2.8k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 299
Description
Edit: I no longer have a need for the package but I'm trying to port QXlsx and stellarium to Qt6. See comments.
Package name
QXlsxQt6
Package homepage
https://qtexcel.github.io/QXlsx/
Description
QXlsx is a library used for writing into Excel's .xlsx files. There is already a package for the Qt5 version but not the Qt6 one. I'm not sure whether this should be its own package because the distfiles are the same. The only difference is that you need different dependencies and you need to set QT_VERSION_MAJOR=6 instead of 5. Here is a modified build template of the Qt5 version:
# Template file for 'QXlsxQt6'
pkgname=QXlsxQt6
version=1.5.0
revision=1
build_style=cmake
build_wrksrc="QXlsx"
hostmakedepends="" # I think this could be left empty unlike the Qt5 version
makedepends="qt6-base-devel qt6-base-private-devel" # Qt6 has a separate package for the private headers
short_desc="Excel file(*.xlsx) reader/writer library for Qt6"
maintainer="???"
license="MIT"
homepage="https://qtexcel.github.io/QXlsx"
distfiles="https://github.com/QtExcel/QXlsx/archive/v${version}.tar.gz"
checksum=4461bb0fc9b88b6a970520e8b32eb7d2fc391a1a5c326b139a0af836278cdb09
I have not tested it, I just built it manually with CMake. Sorry this isn't a proper PR, I kinda don't have the time for it currently, but I had to at least write this, else I likely would not post anything. I should also probably say hi to @abenson, the maintainer of the Qt5 version.
Does the requested package meet the package requirements?
System, Compiled
Is the requested package released?
Yes
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the existing Qt5 QXlsx package with the supplied QXlsxQt6 template and verify the proposed CMake configuration and Qt6 dependencies. Build the package with CMake and confirm that the QXlsx library is produced successfully for Qt6.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100