Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
QT5.12.2.3 编译有个小坑, 希望能帮到新来人
Experiences and Insight
374
views ·
0
replies ·
To
floor
Go
摇摆哥
deepin
2019-06-15 08:37
Author
本帖最后由 supermew 于 2019-6-15 00:41 编辑
QT5.12.2.3 编译时, 出现了 ninja 编译错误, 具体报什么错, 我记不清楚了, 我就贴一个类似的问题在这里。
error: invalid conversion from cql::cql_byte_t* {aka unsigned char*} to const char* [-fpermissive]
Copy the Code
可以将 "qtwebengine/src/3rdparty/chromium/components/url_formatter/idn_spoof_checker.cc" 第 399 行
char16_t* buffer = host_alt.getBuffer(-1);
Copy the Code
修改为下面的:
char16_t* buffer = (char16_t*)host_alt.getBuffer(-1);
Copy the Code
应该就能编译过了。。。 不过还是希望大牛能够帮我看看, getBuffer(-1) 这个函数返回的多大的指针
Reply
Like 0
Favorite
View the author
All Replies
No replies yet
Please
sign
in first
Featured Collection
Change
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Events
More
QT5.12.2.3 编译时, 出现了 ninja 编译错误, 具体报什么错, 我记不清楚了, 我就贴一个类似的问题在这里。
可以将 "qtwebengine/src/3rdparty/chromium/components/url_formatter/idn_spoof_checker.cc" 第 399 行
修改为下面的:
应该就能编译过了。。。 不过还是希望大牛能够帮我看看, getBuffer(-1) 这个函数返回的多大的指针