Skip to content
QtWS25 Last Chance
  • Class variable updating / QLabel | Thread

    Unsolved General and Desktop class qlabel updat variable
    2
    0 Votes
    2 Posts
    1k Views
    SGaistS
    Hi and welcome to devnet, What variable do you want to update ? Why do you think you need a thread for that ? On a side note, update is a QWidget non virtual slot so you can't use that name. In any case you should call labelTimr->setText("TIME :" + timeValue) to update the content of your QLabel.