![]() The -prefix clauses specifies the destination directory for the resultant Qt development kit. You can instead use i686-w64-mingw32- for 32-bit. The following command configures for creation of a 64-bit Qt development kit. Or you could just put the binary in a tarball (zip, tgz, etc.) and give instructions to the end-user about the install procedure (like what package to install). The Qt build then needs to be configured for cross-compilation using MinGW. Press Add and select the qmake binary we just. It is quite hard to do, but it will take advantages of the package manager and take care of the dependencies for you (really interesting if you used dynamic linking). Adding the Static Qt Compiler to Qt Creator Go to Tools > Options > Build & Run > Qt Versions. The second choice is how will you convey your app. Qt Creator ist eine C++/Qt-Entwicklungsumgebung, die besonders für die Entwicklung von plattformunabhängigen C++-Programmen und QML-Oberflächen mit der Qt-Bibliothek gedacht ist. You have to make sure dependencies will be there at run time.You have to build your own Qt, the exe file will be larger. ![]() ![]() The advantages and disadvantages of both ar extensively detailed on the web. ![]() The first is to choose between static and dynamic linking. And as static builds of Qt are not distributed, it tells you to build it yourself. On Ubuntu Linux, for example, you can install Qt Creator using the command: sudo apt-get install qtcreator A downside of this approach is that the versions of Qt and Creator packaged for your Linux distribution may not be the latest versions, and you are typically only offered one particular Qt version. One option is using a static Qt build, the other is to use shared libraries. What it does is giving you 2 options for distributing your application on Linux systems. The Qt for Linux/X11 - Deployment page does NOT tell you to install a static build of Qt. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |