You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
链接时报错:
error:The file was not recognized as a valid object file
其中,file是非常多的qt的xml qml和qm文件,报错有好几页。
最后一行报错:
No platform plugin, neither libqtforandroid.so or libqtforandroidGL.so, included in package. Please include one.
期待的结果
正确链接
工程配置
add_rules("mode.debug", "mode.release")
set_encodings("utf-8")
set_languages("c++17")
target("xqtapp")
add_rules("qt.widgetapp")
add_files("src/*.cpp")
-- add files with Q_OBJECT meta (only for qt.moc)
add_files("src/*.h")
附加信息和错误日志
官网例子的最小安卓qt工程也会报这个错,无法正确生产APK文件
The text was updated successfully, but these errors were encountered:
Xmake 版本
2.8.8
操作系统版本和架构
Windows 10 22H2
描述问题
链接时报错:
error:The file was not recognized as a valid object file
其中,file是非常多的qt的xml qml和qm文件,报错有好几页。
最后一行报错:
No platform plugin, neither libqtforandroid.so or libqtforandroidGL.so, included in package. Please include one.
期待的结果
正确链接
工程配置
附加信息和错误日志
官网例子的最小安卓qt工程也会报这个错,无法正确生产APK文件
The text was updated successfully, but these errors were encountered: