python - How does Qt work (exactly)? -


When you type an application using QT, can it only be run in different operating systems? ? And (if I'm wrong then correct me) Do not you have to install QT already in all platforms, where do you want to execute your application?

How does this work properly? Does the QT compile the desired platform, or keep some "DLS" (Libs), or how does it? Is it different from Java program programming, which runs cross-platform

If you use Python to write a QT application with Python binding, will your end user have to install Python?

The QT is a cross-platform library written in C ++, that means you can once write your C ++ or Python (or other language with binding) code, and a "window" (A form, a dialog box, some on the screen) and it is not to deal with platform differences of buttons in Control (buttons, and all) and Windows, Linux, and Mac OS X.

Because it is a library, it can be packed in many ways, it is "fixed connected" (made in your executable / binary / app) or "dynamically linked "(Which is known as DLL in Windows, a shared library or framework in Unix / Linux or Mac OS X). It is not always "installed" on the computer, as long as it is not a shared library.

Even when it is "installed" on the computer, several versions may exist on that computer, and therefore it is not appropriate to think about having an extension on your computer. , But an extension of an application (a program) on your computer.

If you use Python binding for QT, your installation package for your application will be based on the basic Python runtime environment, including the Qt binding binary files (Python extensions), Python executable and basic libraries. To include the source code of your program. It is possible to package most of a "bundle" for example, in Mac OS X, it can easily be placed on ".app" bundles, and Windows, and Linux, I believe packaging And there are installation tools that can help you easily.

Even if you only need to enter the user interface code for your application, you do not have the ability to send an application to all three primary platforms at one time without the need to build at least the installer or packaging. For each platform, users expect to download a setup / install package separately for Windows or Mac OS X, and perhaps for Unix / Linux Rbr that you establish what distribution.


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -