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 error: content_context.cpp:85:89: error: ‘class QString’ has no member named ‘toAscii’ #9

Open
chmorgan opened this issue Jul 8, 2016 · 3 comments

Comments

@chmorgan
Copy link

chmorgan commented Jul 8, 2016

pt -isystem /usr/include/qt5/QtCore -I../build/release/.moc/webvfx -I/usr/lib64/qt5/mkspecs/linux-g++ -o ../build/release/.obj/webvfx/content_context.o content_context.cpp
content_context.cpp: In member function ‘QUrl WebVfx::ContentContext::getImageUrl(const QString&)’:
content_context.cpp:85:89: error: ‘class QString’ has no member named ‘toAscii’
return QUrl::fromEncoded(QString("image://webvfx/%1/%2").arg(name).arg(renderCount).toAscii(),
^
Makefile.Release:344: recipe for target '../build/release/.obj/webvfx/content_context.o' failed
make[2]: *** [../build/release/.obj/webvfx/content_context.o] Error 1

@chmorgan
Copy link
Author

chmorgan commented Jul 8, 2016

Looks like it might be due to deprecated functions in qt 5.6.

@rectalogic
Copy link
Owner

Try the mlt branch, it's been updated for qt5

@chmorgan
Copy link
Author

chmorgan commented Jul 8, 2016

Yep, that fixed it. Thanks for the pointer there. Still struggling to build shotcut, trying both by building things separately and the build script in the source repository but this helps on the separate build approach.

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

2 participants