Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. How to lock the PyQt5 terminal
Qt 6.11 is out! See what's new in the release blog

How to lock the PyQt5 terminal

Scheduled Pinned Locked Moved Unsolved Qt for Python
1 Posts 1 Posters 615 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • _ Offline
    _ Offline
    _jao_victor_
    wrote on last edited by _jao_victor_
    #1

    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).

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved