coolreader icon indicating copy to clipboard operation
coolreader copied to clipboard

Allow build under Linux

Open wordlessly opened this issue 6 years ago • 5 comments

More of a feature request issue. How do I build this for Linux?

wordlessly avatar Jan 03 '19 12:01 wordlessly

Same way you build it for any platform? https://github.com/buggins/coolreader#packaging is specifically about Linux DEB packages, and https://github.com/buggins/coolreader#cmake-build-instructions is just generic.

Frenzie avatar Jan 03 '19 13:01 Frenzie

An appimage release would be really helpful: https://appimage.github.io/apps/

wordlessly avatar Jan 03 '19 13:01 wordlessly

An appimage release would be really helpful

I am working on it, but it is currently being blocked by https://github.com/buggins/coolreader/issues/94.

probonopd avatar May 12 '19 17:05 probonopd

To build against qt5

mkdir coolreader/build
cd coolreader/build
cmake -DGUI=QT5 -DCMAKE_BUILD_TYPE=Release -DMAX_IMAGE_SCALE_MUT=2 -DDOC_DATA_COMPRESSION_LEVEL=3 -DDOC_BUFFER_SIZE=0x1400000 -DCMAKE_INSTALL_PREFIX=/usr/local ..
make

resulting binary is in cr3qt/cr3

pazos avatar Feb 07 '20 01:02 pazos

I have sent a pull request that would produce an AppImage, but https://github.com/buggins/coolreader/pull/95#issuecomment-494528887 would need to be fixed for it to work.

probonopd avatar Feb 07 '20 22:02 probonopd