Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Language Bindings
  4. [PySide] Use QProcess or QThread in this case ?
Forum Updated to NodeBB v4.3 + New Features

[PySide] Use QProcess or QThread in this case ?

Scheduled Pinned Locked Moved Language Bindings
1 Posts 1 Posters 1.8k Views 1 Watching
  • 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.
  • E Offline
    E Offline
    Einenlum
    wrote on last edited by
    #1

    Hello there.

    I’m new to python’s world (I’m a PHP dev) and I’m trying to make my first GUI application. It’s a very trivial app: The user selects a directory, the app analyzes it, selects all mp3 in it, and then change these files' tempo with PySox. My question is simple: How should I proceed so as not to make the UI freeze in the process?

    I tried QThread but it did not work. The UI froze too, and I thought I was doing it wrong but then I read "this answer on StackOverflow":http://stackoverflow.com/a/11265981/3524372 and I thought maybe it was inherent to Python. Consequently, I decided to use QProcess (and now I have some issues with queuing and pools).

    What should I use in this pecular case according to you? QThread (or python threading)? QProcess (or python multiprocessing)?

    Thank you in advance.

    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