Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions htmltopdf/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ int main(int argc, char *argv[])
}
// 解决__sw_64__平台使用QWebEnginePage崩溃的问题
#ifdef __sw_64__
qDebug() << "Running on __sw_64__ platform, disabling sandbox";
qputenv("QTWEBENGINE_CHROMIUM_FLAGS", "--no-sandbox");
qDebug() << "Running on __sw_64__ platform, --js-flags=--jitless";
qputenv("QTWEBENGINE_CHROMIUM_FLAGS", "--js-flags=--jitless");
#endif

//需求文案中不涉及,不做翻译
Expand Down