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