Ways to publish QT Quick desktop applications

Source: Internet
Author: User

This dialog box may appear because Msvcrt.dll in the XP version does not have vsprintf_s such a dynamic library. At present, there is no good solution to the idea, and later I will study it alone, see how this thing to solve.

There are a lot of solutions, I don't have one by one attempts.
1, the source stage, now found that the previous version of the MinGW by default is the function of vsnprintf_s, so on XP will appear this situation. The solution is to use the latest MinGW compile QT source code, so that the vsnprintf_s this function to remove the dependency;
2, the operation phase, in this way, the high version of the Msvcrt.dll copy paste to the target Windows XP machine, and in the start-to-run with the Regsvr32 msvcrt.dll to register the DLL. There will be no problem;
3, the direct removal of such errors: because vsprintf_s this function can not be located on the overall effect of the program, so we could block out this dialog box; c:/windows/system32/ Dwmapi.dll renamed so that the dialog will not pop up, and the downside is that all such errors will not pop up the dialog box.
The last two methods refer to Here

Http://www.qtdream.com/topic/114/%E5%8F%91%E5%B8%83qt-quick%E6%A1%8C%E9%9D%A2%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA %8f%e7%9a%84%e6%96%b9%e6%b3%95/3

Ways to publish QT Quick desktop applications

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.