B
B
Bruceee2019-02-01 19:32:08
Python
Bruceee, 2019-02-01 19:32:08

PyQT5: write on unix for use on windows?

Hello!
I wanted to write a program with an interface using PyQT. Do I understand correctly that I can compile the program itself both under unix systems and under Windows?
The program is needed for Windows, but it’s not very convenient to work under Windows, so I want to do everything under a unix-like axis, and then build it for Windows. This is real? Whether it will be possible then to collect the program and for unix?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey_Dolg, 2019-02-02
@Bruceee

Write to unix. Build in Windows, from simple pyinstaller builders.
And now the bumps:
1) Assembly, python is only 32 bit (Windows itself may be 64, this does not play a role)
2) Windows 7-10 is desirable 10 (part of the lib is already in the system) + VS 2015 redistributable
3) If possible set the launch flag with elevated access level in the assembly.
Assembly in Windows is mainly due to the api-ms-win****.dll libraries.

S
Sergey Gornostaev, 2019-02-01
@sergey-gornostaev

A well-written Python program works exactly the same on any operating system. But Python is an interpreted language, programs on it are not compiled.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question