Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt IFW - How to escape the '@' character in .qs scripts?
Qt 6.11 is out! See what's new in the release blog

Qt IFW - How to escape the '@' character in .qs scripts?

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
1 Posts 1 Posters 69 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Looxilfe
    wrote on last edited by
    #1

    Hello, I have some issues with the character '@', which get resolved if there is another '@' in the same string.

    For exemple, when I run:

    installer.setValue("someKey", component.userInterface("FirstAccount").name.text);
    

    Where name is a QLineEdit in a UI.
    If input text is "blabla@sometext@blabla", installer.value("someKey") return "blablablabla".

    How to prevent the "@sometext@" to be evaluated?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved