由于ChatGPT项目的火爆,这个项目目前没有必要继续了。 感谢大家的热情参与
微信留着,欢迎各位添加好友~
Made with contributors-img.
Qt中文文档翻译
License: Other
由于ChatGPT项目的火爆,这个项目目前没有必要继续了。 感谢大家的热情参与
微信留着,欢迎各位添加好友~
Made with contributors-img.
我挺喜欢Qt的,也一直希望可以有中文文档,但是我想问为什么不直接翻译Qt目录下的html文件,这样其他人可以通过替换文件的方式把QtCreater的内置文档变成中文的。我挺想跟你们一起干的,但是我现在还在复习准备考研,时间不多,而且说实话那些地址转换,markdown编辑之类的令我望而却步,markdown我也只会一点。
Code of Con是行为准则
Comp table是比较表
Completeness 是完整性不是完成进度
Contributing也表意不大对
建议修改一下:
公约:Convention Of Members
翻译参照:referring table
进度跟踪:Progress tracking
贡献指南:Contribution Guide
需求文档
请贴出需要翻译的文档链接(基于 doc.qt.io)。
若有一组文档,请贴出链接列表,或用相对精准的语句描述涵盖的文档范围,如多线程并发部分的类文档。
需求原因
请给出为何需要社区优先翻译的原因,包括但不限于:
本社区会优先考虑社区发展需求,其次为教学需求,然后是个人需求和商务需求。
个人需求建议参与社区翻译,能力不足的话可以与社区成员共同合作翻译。
教育需求建议与社区微信群或负责人邮件进行深入联系,社区会协助教师的教学需求进行缺失的文档翻译,以及进一步的教学合作。
商务需求请先考虑赞助社区,或者通过参与翻译、丰富工具链、丰富发布渠道等形式反馈社区。
CC BY-NC-ND 4.0 禁止他人分发修改后的作品。因此,如果我在 GitHub 上 fork 本项目并进行修改,就违反了许可证。建议将许可证修改为 CC BY-NC-SA 4.0 或 CC BY-SA 4.0。
Once you start modifying that fork, then you're violating the license.
如题
Hi, 我在这里可以提个关于QT的问题吗?
因为我应用需要用CUDA, 但是CUDA的分离编译要求用静态链接,所以我不得不用Qt的静态链接版本。
(我也想请教下,CUDA要求静态链接,但是QT要求动态链接,这个有什么比较好的解决办法呢?)
我通过编译Qt5.15.1的源码生成static库,然后写自己的应用静态链接到Qt库。
我通过用一个最简单的例子测试Qt的静态库(不包含其他任何三方库,其他代码),但是编译提示错误: undefined reference to std::pmr::get_default_resource()'
.
我查了std::pmr::get_default_resource()
来自于c++标准库的memory_resource
头文件。Qt静态库会出现无法找到标准库的实现。
如下是我用的测试的简单的例子
平台配置:
Operating system: Archlinux
C++ Compiler: gcc8
main.cpp:
//main.cpp
#include <QWidget>
#include <QApplication>
int main(int argc, int argv)
{
QApplication app(argc, argv);
QWidget window;
window.setFixedSize(400, 400);
window.show();
return window.exec();
}
CMakeLists.txt:
//CMakeLists.txt
cmake_minimum_required(VERSION 3.0 FATAL_ERROR)
project(test LANGUAGES CXX)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)
find_package(Qt5 Components Widgets REQUIRED)
include_directories(${Qt5Widgets_INCLUDE_DIRS})
add_executable(test ./main.cpp)
target_link_libraries(test Qt5::Widgets)
如下是在链接时的错误:
[ 3%] Automatic MOC and UIC for target w
[ 3%] Built target w_autogen
[ 50%] Built target w
[ 53%] Automatic MOC and UIC for target test
[ 53%] Built target test_autogen
[ 57%] Linking CXX executable ../bin/test
/usr/bin/ld: /opt/qt_5_15_1_static/lib/libQt5FontDatabaseSupport.a(qfontconfigdatabase.o): in function `QFontconfigDatabase::fallbacksForFamily(QString const&, QFont::Style, QFont::StyleHint, QChar::Script) const':
qfontconfigdatabase.cpp:(.text._ZNK19QFontconfigDatabase18fallbacksForFamilyERK7QStringN5QFont5StyleENS3_9StyleHintEN5QChar6ScriptE+0x1f3): undefined reference to `std::pmr::get_default_resource()'
/usr/bin/ld: qfontconfigdatabase.cpp:(.text._ZNK19QFontconfigDatabase18fallbacksForFamilyERK7QStringN5QFont5StyleENS3_9StyleHintEN5QChar6ScriptE+0x1fa): undefined reference to `vtable for std::pmr::monotonic_buffer_resource'
/usr/bin/ld: qfontconfigdatabase.cpp:(.text._ZNK19QFontconfigDatabase18fallbacksForFamilyERK7QStringN5QFont5StyleENS3_9StyleHintEN5QChar6ScriptE+0x443): undefined reference to `std::pmr::monotonic_buffer_resource::~monotonic_buffer_resource()'
/usr/bin/ld: /opt/qt_5_15_1_static/lib/libQt5Core.a(qstringlist.o): in function `QtPrivate::QStringList_removeDuplicates(QStringList*)':
qstringlist.cpp:(.text._ZN9QtPrivate28QStringList_removeDuplicatesEP11QStringList+0x3c): undefined reference to `std::pmr::get_default_resource()'
/usr/bin/ld: qstringlist.cpp:(.text._ZN9QtPrivate28QStringList_removeDuplicatesEP11QStringList+0x57): undefined reference to `vtable for std::pmr::monotonic_buffer_resource'
/usr/bin/ld: qstringlist.cpp:(.text._ZN9QtPrivate28QStringList_removeDuplicatesEP11QStringList+0x486): undefined reference to `std::pmr::monotonic_buffer_resource::~monotonic_buffer_resource()'
/usr/bin/ld: qstringlist.cpp:(.text._ZN9QtPrivate28QStringList_removeDuplicatesEP11QStringList+0x4c1): undefined reference to `std::pmr::monotonic_buffer_resource::~monotonic_buffer_resource()'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/test.dir/build.make:398: ../bin/test] Error 1
make[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/test.dir/all] Error 2
make: *** [Makefile:104: all] Error 2
如上错误提示,Qt静态库用到stdlib的memory_resource头文件中的实现,但是却在链接的时候undefined reference。我在网上搜索没有找到类似的答案,所以在此提了个issue。多有打扰,还望指教一二。
你们好,请问这个项目还做吗?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.