Skip to content

compilation error: content_context.cpp:85:89: error: ‘class QString’ has no member named ‘toAscii’ #9

@chmorgan

Description

@chmorgan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions