Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. The Lounge
  4. What is //! [1] comment in the examples?
QtWS25 Last Chance

What is //! [1] comment in the examples?

Scheduled Pinned Locked Moved The Lounge
3 Posts 2 Posters 753 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.
  • H Offline
    H Offline
    harveyab
    wrote on last edited by harveyab
    #1

    I just started learning Qt. In the examples, the code has comments like //! [1] etc. What are they for?

    1 Reply Last reply
    0
    • Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by
      #2

      These are QDoc comments used for providing code snippets used in generation of examples documentation.
      If you're just learning you can ignore them safely.

      H 1 Reply Last reply
      1
      • Chris KawaC Chris Kawa

        These are QDoc comments used for providing code snippets used in generation of examples documentation.
        If you're just learning you can ignore them safely.

        H Offline
        H Offline
        harveyab
        wrote on last edited by
        #3

        @Chris-Kawa Thanks. That's about what I figured.

        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