nobleNote icon indicating copy to clipboard operation
nobleNote copied to clipboard

Modernize the packaging, port to Qt 6, and only use Qt 6

Open tsimonq2 opened this issue 1 year ago • 3 comments

Let me know if you need me to upload this to Debian, as I'm a Debian Developer.

I have uploaded this to the development version of Ubuntu that will become Ubuntu 25.04.

Thanks.

tsimonq2 avatar Oct 19 '24 18:10 tsimonq2

Thank you for your contribution. Your pull request is very welcome,

Actually, I still have some problems with this.
Looks like we should write a CMakeLists.txt file and review the .pro file in order to generate the translations.

hakaishi avatar Oct 22 '24 13:10 hakaishi

Looks like I was wrong about that. I was just missing a package

hakaishi avatar Oct 22 '24 14:10 hakaishi

Okay. Looks like I am not missing anything. The "lrelease" binary is no longer on PATH.
I'm currently not on a pure Debian system. Do you know if the .qm files are correctly created on Debian?
For me the correct file could be /usr/lib/qt6/libexec/lrelease-pro.

But it really looks like qt6 is mostly shifting to use CMakeLists.txt. Do you happen to know a good solution for this?

hakaishi avatar Oct 22 '24 16:10 hakaishi

Okay. Looks like I am not missing anything. The "lrelease" binary is no longer on PATH. I'm currently not on a pure Debian system. Do you know if the .qm files are correctly created on Debian? For me the correct file could be /usr/lib/qt6/libexec/lrelease-pro.

I successfully built nobleNote on both Debian testing and Ubuntu 25.04 using the branch from @tsimonq2. All the translations are working. I could not find any issue with the lrelease binary.

Regarding your comment on CMake, it seems only the Qt 6 framework itself is build via CMake. qmake for apps like nobleNote is still supported.

nebomuk avatar Oct 10 '25 09:10 nebomuk