Closed aiyolo closed 3 months ago
Bot detected the issue body's language is not English, translate it automatically.
Title: Cannot link to qt library
https://xmake.io/#/guide/project_examples?id=static-library
add_frameworks("QtNetwork")
https://xmake.io/#/guide/project_examples?id=static-library
add_frameworks("QtNetwork")
请问怎么能查看add_framework 支持的所有参数?
https://xmake.io/#/guide/project_examples?id=static-library
add_frameworks("QtNetwork")
请问怎么能查看add_framework 支持的所有参数?
自己查 qt 文档有哪些库
https://xmake.io/#/guide/project_examples?id=static-library
add_frameworks("QtNetwork")
请问怎么能查看add_framework 支持的所有参数?
自己查 qt 文档有哪些库
明白了,谢谢,比如我想链接PrintSupport库的话,只需要使用add_frameworks("QtPrintSupport")
Bot detected the issue body's language is not English, translate it automatically.
https://xmake.io/#/guide/project_examples?id=static-library
add_frameworks("QtNetwork")
How can I view all parameters supported by add_framework?
Check what libraries are available in the qt documentation yourself
Got it, thank you. For example, if I want to link to the PrintSupport library, I just need to use add_frameworks("QtPrintSupport")
Xmake 版本
2,9,2
操作系统版本和架构
Windows 11
描述问题
链接qt库时,PrintSupport库和network库链接不上
期待的结果
如何正确链接除widget,core,gui之外的库?
工程配置
add_rules("mode.debug", "mode.release")
target("myproject") add_rules("qt.widgetapp") add_headerfiles("src/.h") add_files("src/.cpp") add_files("src/mainwindow.ui") -- add files with Q_OBJECT meta (only for qt.moc) add_files("src/mainwindow.h")
附加信息和错误日志
提示network的库链接不上