Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How to lock the PyQt5 terminal



  • I developed a system with Python and PyQt5 and created an executable with pyinstaller using this command:

    pyinstaller --noconsole --windowed --onefile arquivo.py
    

    The --noconsole parameter is to say that the executable should not open the console, but the PyQt5 console continues to open:

    qt5ct: using qt5ct plugin.
    

    Is it possible to block this console and not let it appear?

    NOTE: even with --noconsole I need to enter the terminal and type ./file.py. (I don't know if that helps).


Log in to reply