![]() If you want to use only static libraries, you can either: The linker always chooses dynamic linking over static. If you see Qt libraries in the output, it probably means that you have both dynamic and static Qt libraries installed on your machine. (compatibility version 1.0.0, current version 88.0.0) (compatibility version 1.0.0, current version 92.0.0) (compatibility version 1.0.0, current version 1.0.0) (compatibility version 7.0.0, current version 7.3.0) (compatibility version 1.0.0, current version 22.0.0) framework /Versions /A /ApplicationServices System /Library /Frameworks /ApplicationServices. (compatibility version 1.0.0, current version 1.2.3) (compatibility version 1.0.0, current version 10.0.0) (compatibility version 2.0.0, current version 128.0.0) To build your application as a bundle with CMake, set the MACOSX_BUNDLE property on your executable target: For more information about bundles, see Apple's Developer Website. This is specific to macOS and beyond the scope of this document. Information about a bundle is accessible from code.It is easily installable as it is identified as a single entity.The bundle provides many advantages to the user: Here is the snapshot of an application bundle structure: A bundle for an application typically contains the executable and all the resources it needs. On macOS, a GUI application must be built and run from a bundle, which is a directory structure that appears as a single entity when viewed in the Finder. The Qt installers for macOS include a deployment tool that automates the procedures described here. We demonstrate the procedures in terms of deploying the Plug & Paint example application that comes with the Qt installation package. This document describes how to create a macOS bundle and make sure that the application finds the resources it needs at run-time.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |