Qt static compilation and qt static Compilation

Source: Internet
Author: User

Qt static compilation and qt static Compilation

Compile Parameters

Configure-confirm-license-opensource-developer-build-static-prefix D: \ libraries \ Qt5.3.1s-mp-platform win32-msvc2013-opengl desktop-no-angle-nomake examples-nomake tests-no-icu-no-openssl-qt-libjpeg-qt-libpng-no -plugin-manifests-skip qtwebkit-skip qtdeclarative

For static compiled Qt, there are many link libraries:

Debug:

Qtmaind. lib

Qt5Cored. lib

Qt5Guid. lib

Qt5Widgetsd. lib

WS2_32.LIB

Imm32.lib

Winmm. lib

Opengl32.lib

Qwindowsd. lib

Qt5PlatformSupportd. lib

Release:

Qtmain. lib

Qt5Core. lib

Qt5Gui. lib

Qt5Widgets. lib

WS2_32.LIB

Imm32.lib

Qwindows. lib

Winmm. lib

Opengl32.lib

Qt5PlatformSupport. lib

 
 

In addition, you need to add the following code in the code to link qwindows.

# Include <QtPlugin>

Q_IMPORT_PLUGIN (QWindowsIntegrationPlugin );

Otherwise.

Can't load plugin qwindows runtime error.

_ Wsaayncselect link error.

Qfontbase link error.

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.