QString question



  • Hello i have one easy question but i didnt get to solve it. When i am using qstring and i am using "" normally you use this to create your string But if i want to include these "" in my string how would be? For example

    QString myExample = " "%$·" "
    

    I cant add these symbols inside of my string? The others i can but these "" i can't. Sorry for all and thx!



  • Hi! You can insert special characters using so called escape sequences.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.