Ways to publish QT widgets desktop applications

Source: Internet
Author: User

ways to publish QT widgets desktop Applications

Qt is an excellent cross-platform development framework that can run on desktops, mobile platforms, and embedded platforms. At present , the Qt 5 Introduction program publishes less post posts. Everyone wanted to know how to publish the QT application, so I took a little time to explain how to publish a qt desktop application.

Shanghai Meng Meng Information Technology Co., Ltd. (Weibo:Http://weibo.com/qtdreamoriginal article, starting address:http://qtdream.com/topic/113. Welcome to come to discuss the peer.

qt widgets start talking. qt widgets Span style= "FONT-FAMILY:CALIBRI;" >qt console

1, !--[Endif]--> Create a qt widgets project, here we name the project testqtwidgetsapp :

 

2, !--[Endif]--> run our project, we see the results come out, is an empty form;

3. Suppose we have already developed this program, then how to publish it? There are a lot of ways to put forward on the Internet, which is simply the use of Qt to bring our own windeployqt This practical tool. Here I introduce a more convenient method, using this method can no longer open the Black screen program percussion command, in the project panel directly input some text can solve the matter. See:

In other words, in the project panel, enter

Command:windeployqt

parameters: %{builddir}/%{currentbuild:type}/%{currentproject:name}.exe

Working directory:%{builddir}

In this case, everyone goes to the published folder and will find that in the deployment process, all dependencies have been put in place. Very convenient.

Ways to publish QT widgets desktop applications

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.