ilia3101 / MLV-App

All in one MLV processing app.
https://mlv.app/
GNU General Public License v3.0
274 stars 30 forks source link

Qt-6.5.1 and C++17 fix [Linux] #269

Closed stefantalpalaru closed 6 months ago

stefantalpalaru commented 1 year ago

After removing "-std=c++11" from QMAKE_CXXFLAGS, to allow linking Qt6 on my Gentoo Linux system, g++ 13.1.1 (which defaults to C++17) complains about "endl" not being defined. Including and changing it to "std::endl" fixes the definition problem, but is not accepted by Qt6's "<<" operator.

In the end, I fixed it by replacing "endl" with good ol' "\n" instead.

masc4ii commented 6 months ago

Thank you!