QT Windows Development Porting issues Summary

Source: Internet
Author: User

Source: http://blog.sina.com.cn/s/blog_a6fb6cc90101auw6.html

After using QT development to complete the project, it needs to be packaged and transplanted on other machines, can run normally on other PC is OK, there are many problems in the process of porting, listed here and give a solution!

1. Multi-language of QT

When the package is released, the installer suddenly discovers that the interface is all in English, and then realizes that you forgot to pack the ***_zh.qm file and pack the. QM file together for publication! or load the QM file into a resource file (no need to publish it together)!

2. "The application is not configured correctly" by running the program

This prompt appears, typically a run-time library that lacks VS2008 (vs version may be different).

Workaround:

(1) Copy the run-time library file to the application directory

If it is a Debug version, the "Microsoft.VC90.DebugCRT" under "D:\SoftWare\Microsoft Visual Studio 9.\vc\redist\debug_nonredist\x86" will be Directory to the program directory. If it is a release version, the "Microsoft.VC90.CRT" directory under "D:\SoftWare\Microsoft Visual Studio 9.0\vc\redist\x86" will be in the program directory.

(2) If not yet, download the x86/x64 version of the VS2008 Runtime Library online and try again after installation!

3, the installation program can not be shipped (need to provide administrator rights)

During the development process has always been able to run, but installed into some operating systems (such as: 64-bit Professional Edition) will not run, and finally "Run as administrator" can, of course, the simple way is! VS Project Right-click Properties, Linker-and-manifest file->uac execution level (requireadministrator)!

For more information, please refer to:

    • QT's packaging release (NSIs detailed).
    • QT's multi-language.

Note:Technology lies in communication, communication, reproduced please specify the source and maintain the integrity of the work.╰☆ struggle ing? Child ' Original: http://blog.sina.com.cn/s/blog_a6fb6cc90101auw6.html.

QT Windows Development Porting issues Summary

Related Article

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.