In Qt, how can I register a QString to my System's clipboard, both quoted and non-quoted?
If I want a quoted string in my clipboard: qDebug() << QString("Boat\nProgramming"); I then copy the output: "Boat\nProgramming" If I want a non-quoted string in my clipboard: qDebug().noquote() << QString("Boat\nProgramming"); I then copy the output: Boat Programming What is the proper way in Qt to register the quoted and non-quoted strings to my [Ubuntu] system's clipboard? Backstory / Usecase: I have built a command line application that renders me strings that I occasionally need to dump onto a website's string interpreter (Text to speech if you care) for debugging purposes. Dumping it to