Important: Please read the 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


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

Log in to reply