#includeQString myString = "Hello, world!";
#includeThis example creates two QString objects and then concatenates them together to create a final string that contains "Hello, world!". Package/Library: Qt (QtCore module)QString firstString = "Hello, "; QString secondString = "world!"; QString finalString = firstString + secondString;