Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation errors #57

Closed
voondo opened this issue Jan 12, 2018 · 1 comment
Closed

Compilation errors #57

voondo opened this issue Jan 12, 2018 · 1 comment

Comments

@voondo
Copy link

voondo commented Jan 12, 2018

When compiling (latest release-1.2 from git://anongit.kde.org/babe) I get a ton of errors like this:

src/pulpo/services/../../utils/bae.h: In function 'QString BAE::fixString(const QString&)':
src/pulpo/services/../../utils/bae.h:323:38: error: call of overloaded 'contains(char)' is ambiguous
         title=title.contains('\u0000')?title.replace('\u0000',""):title;
                                      ^
In file included from /usr/x86_64-pc-linux-gnu/include/qt5/QtCore/qobject.h:47:0,
                 from /usr/x86_64-pc-linux-gnu/include/qt5/QtCore/QObject:1,
                 from src/pulpo/services/spotifyService.h:4,
                 from src/pulpo/services/spotifyService.cpp:1:
/usr/x86_64-pc-linux-gnu/include/qt5/QtCore/qstring.h:1137:13: note: candidate: bool QString::contains(QChar, Qt::CaseSensitivity) const
 inline bool QString::contains(QChar c, Qt::CaseSensitivity cs) const
             ^~~~~~~
/usr/x86_64-pc-linux-gnu/include/qt5/QtCore/qstring.h:1131:13: note: candidate: bool QString::contains(const QString&, Qt::CaseSensitivity) const
 inline bool QString::contains(const QString &s, Qt::CaseSensitivity cs) const
             ^~~~~~~
/usr/x86_64-pc-linux-gnu/include/qt5/QtCore/qstring.h:1133:13: note: candidate: bool QString::contains(const QStringRef&, Qt::CaseSensitivity) const
 inline bool QString::contains(const QStringRef &s, Qt::CaseSensitivity cs) const

Did I miss something ?

@voondo
Copy link
Author

voondo commented Jan 22, 2018

bb527db fixes the issue. Thanks.

@voondo voondo closed this as completed Jan 22, 2018
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant