pyqt5

Forum discussion tagged with pyqt5.
  1. S

    Question Pyqtdeploy not working on Windows

    Hi there, So I made a pyqt script that I want to deploy to android using pyqtdeploy. Problem is that when I run: python build-demo.py It returns: pyqtdeploy-sysroot: Unable to detect MSVC2015 or MSVC2017 I already downloaded Visual Basic x64 redistributable 2015-2019. I don’t know what to do...
  2. S

    Question Using self.process.readAll() gives 'b"', '\n' and '\r'

    Hi there, So I was making a test gui (PyQt5) that could read text from a command and then show it on the gui. However, for some reason, it keeps showing this random b", \n and \r: I have tried using the readLine().decode('utf-8'), but everytime i do that it crashes. Plus, when i implement a...
  3. S

    [SOLVED] Saving QLineEdit text to a variable in the python script

    Hi there, So i have a quick question: How can i save text a user inputted into LineEdit and save that text to a variable within the script? I looked at some documentation and saw that you can save the text to another file: def save_config(self): with open('config.txt', 'w') as f...
  4. S

    Question CPU temperature monitor PyQt5

    Hi there, So I wanted to know is there a way to get the cpu temperature, either average or per core, and show it on a GUI? Thanks, salm2s
  5. S

    Question QT designer GUI keeps freezing

    Hi there, So i was experimenting and designing some gui i created in QT Designer. I converted the .ui file to a .py file and wanted to link a "Start" button to a test command i set up. I managed to do that, but now everytime i click on start and the command prompt opens, the gui just freezes...