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

Random Text



  • Hi! I want to try something to practice. As you can see in the image below, I have a textarea and a button. Every time I press the button, a random sentence will appear. Should I pull these sentences from a database or how can I generate them locally? I'll be happy if you can help me.

    Incipit .png


  • Lifetime Qt Champion

    Hi,

    You can take a look at the fortune example for a way of generating random text.


Log in to reply