Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Sending object between forms C++



  • Hello,
    I am begginer and I am working on application where I need to store LOGGED user. So basically user will log in and I need to create object "User" in form1 and I need to keep it alive for the whole time.
    My problem is that I dont know how I could send object "user" between forms... or how to keep it alive for the whole time...

    Thanks in advance


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    What will that object contain ?


Log in to reply