UltraStar-Deluxe / UltraStar-Manager

UltraStar Manager
GNU General Public License v2.0
32 stars 18 forks source link

QT::ENDL issue #16

Closed marts2007 closed 6 months ago

marts2007 commented 3 years ago

There is no QT::endl in QT < 5.14 fast fix:

#include <QtGlobal>

#if QT_VERSION >= QT_VERSION_CHECK(5,14,0)
#define ENDL Qt::endl
#else
#define ENDL endl
#endif

and replace QT::endl with ENDL

marts2007 commented 3 years ago

also there is no QT::SkipEmptyParts in QT <= 5.12 so in order to build it i had to replace it with QString::SkipEmptyParts

marts2007 commented 3 years ago

and I had to install libcld2-dev

bohning commented 3 years ago

@marts2007 Thanks for reporting and providing a workaround =)

DeinAlptraum commented 6 months ago

We only support QT6 now, and implemented the changes you mentioned. libcld2-dev has also been added to the installation instructions