⚠️ Forum Maintenance: Feb 6th, 8am - 14pm (UTC+2)

<Solved>What is mThread?



  • I see in s alot of threading tutorials everyone uses mThread. Is mThread just an arbitrary name that people use, like when people just declare a number as i. Or does it have a predetermined meaning and purpose in Qt?


  • Moderators

    @cdbean04 said:

    Is mThread just an arbitrary name that people use, like when people just declare a number as i.

    Yes. I think the "m" prefix is often used to represent "member variable".

    You can call your variable anything you want; it won't affect your program (but choosing a good name makes your code easier to understand)


Log in to reply