kanryu / quickviewer

A image/comic viewer application for Windows, Mac and Linux, it can show images very fast
https://kanryu.github.io/quickviewer/
GNU General Public License v3.0
535 stars 63 forks source link

Is building from source for linux still working #158

Open ghost opened 3 years ago

ghost commented 3 years ago

Im very new with linux so you'll have to bear with me if I've done anything very wrong. I've been following the HowToBuild.md but i'm getting errors while trying to build. I tried the "for QTCreator" and "for command line builders" but they both gave a bunch of errors, here is the QTCreator output Screenshot from 2020-12-17 19-31-25 My build steps are image and I use ctrl+b to build I've commented out DEFINES += QV_WITHOUT_OPENGL and DEFINES += QV_PORTABLE in QVproject.pri

kanryu commented 3 years ago

I've never seen this compilation error. I think it's probably due to the gcc version rather than the Linux version. I think it is effective to add a compile option to prevent error detection or lower the version of gcc.

If you know how to fix the source code to prevent this compilation error, please send me a pull request :)

qanatozp commented 3 years ago

I've never seen this compilation error. I think it's probably due to the gcc version rather than the Linux version. I think it is effective to add a compile option to prevent error detection or lower the version of gcc.

If you know how to fix the source code to prevent this compilation error, please send me a pull request :)

What environment used for 1.1.1? Got same error when tried to build with Ubuntu 20.04 default qt5 installation from repositories.

qanatozp commented 3 years ago

@kanryu look at this page. I confirm that it successfully build. Check those patches included in script.