Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Spanish
  4. QString o QStringLiteral

QString o QStringLiteral

Scheduled Pinned Locked Moved Unsolved Spanish
3 Posts 3 Posters 1.1k 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.
  • lincolnL Offline
    lincolnL Offline
    lincoln
    wrote on last edited by
    #1

    buenas noches mi pregunta es simple cual es la diferencia de usar un Qstring o un QStringLiteral. gracias

    Solitary wolf

    1 Reply Last reply
    0
    • juankiJ Offline
      juankiJ Offline
      juanki
      Moderators
      wrote on last edited by
      #2

      Hola

      QStringLiteral es una macro. Dale un vistazo a la documentación:

      http://doc.qt.io/qt-5/qstring.html#QStringLiteral

      Un saludo

      Intenta explicar el problema lo más claro y detallado posible. Adjunta los errores y el código que creas da el error.
      Procura escribir correctamente y sin faltas de ortografía.

      Si la duda se solucionó, por favor, marca el tema como 'solucionado'.

      1 Reply Last reply
      1
      • T Offline
        T Offline
        TobbY
        wrote on last edited by
        #3

        Hello as @juanki said QStringLiteral is a macro.

        Take a good look at it for your queries.
        https://woboq.com/blog/qstringliteral.html

        1 Reply Last reply
        1

        • Login

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