kiwix / kiwix-desktop

Kiwix for Windows and GNU/Linux desktops
https://download.kiwix.org/release/kiwix-desktop/
GNU General Public License v3.0
776 stars 101 forks source link

Compiling Kiwix-Desktop with Qt6 is now too complicated #1216

Closed kelson42 closed 1 month ago

kelson42 commented 1 month ago

I can not compile easily Kiwix with Qt6 anymore, at least with the version 6.4 which is the one shipped with the most recent version of Ubuntu.

A few weeks ago it was compiling fine, so to my perspective this is a regression. It seems it has been introduced with https://github.com/kiwix/kiwix-desktop/pull/1205 but I don't understand right now all the rationals behind this decision.

To me - with my understanding - this change has been made wildly without considering that:

If this is not possible to rollback to Qt6.4 (because TTS feature, ....) then please fix the the project and the README.

kelson42 commented 1 month ago

@sgourdas Any chance you could complete this issue? This is a blocker for https://github.com/kiwix/kiwix-desktop/issues/44

sgourdas commented 1 month ago

@kelson42 can you provide the error you are getting?

kelson42 commented 1 month ago

@sgourdas I have no error, I have just no clue how to get and compile against a Qt which is not the one of the system. I don't understand why you speak about an error when the issue is not about that!

sgourdas commented 1 month ago

@kelson42 I am having trouble understanding how and which changes from #1205 are affecting the compilation with Qt 6.4.

kelson42 commented 1 month ago

@sgourdas is right, the compilation against Qt 6.4 is only a problem in the #1143, not in main HEAD. @ShaopengLin Can you please implement this issue, this is important for testing the PR #1143 but this will be also useful for Linux users having an older version of distribution but still wanting to develop on Kiwix-Desktop with Qt6.

ShaopengLin commented 1 month ago

@kelson42 Could you elaborate on

can not compile easily

I have installed specifically Qt 6.4.0 on my machine and it compiles fine (with and without the speech module). I do not have the most recent Ubuntu version and I have reasons not to upgrade my laptop due to various compatibility issues.

Without more information I am just shooting in the dark.

kelson42 commented 1 month ago

Made useless by the porting of the TTS feature to Qt5!