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. How to use QDoc to connect classes defined by MACROS?
QtWS25 Last Chance

How to use QDoc to connect classes defined by MACROS?

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
4 Posts 2 Posters 386 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.
  • CorniceC Offline
    CorniceC Offline
    Cornice
    wrote on last edited by
    #1

    I cannot use the "\ class abcd" command to connect the abcd class defined with the macro.
    eg:
    #define MYCLASS(l) class l{};
    MYCLASS(abcd)

    ![Y)VY6W6YUS5$)]91G0AR](O.png](https://ddgobkiprc33d.cloudfront.net/ec290d6b-8fdd-47ad-9476-5126890688b2.png)
    ![RY033XH]~$6X1J1TONESNCK.png](https://ddgobkiprc33d.cloudfront.net/e3f5c8ce-b04c-42d9-ac55-25ebc86db1f2.png)

    CorniceC 1 Reply Last reply
    0
    • CorniceC Cornice

      I cannot use the "\ class abcd" command to connect the abcd class defined with the macro.
      eg:
      #define MYCLASS(l) class l{};
      MYCLASS(abcd)

      ![Y)VY6W6YUS5$)]91G0AR](O.png](https://ddgobkiprc33d.cloudfront.net/ec290d6b-8fdd-47ad-9476-5126890688b2.png)
      ![RY033XH]~$6X1J1TONESNCK.png](https://ddgobkiprc33d.cloudfront.net/e3f5c8ce-b04c-42d9-ac55-25ebc86db1f2.png)

      CorniceC Offline
      CorniceC Offline
      Cornice
      wrote on last edited by
      #2

      In addition, I can't connect namespaces defined using macros, just like I can't connect classes.

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Out of curiosity, why are you using macros to create classes ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        CorniceC 1 Reply Last reply
        1
        • SGaistS SGaist

          Out of curiosity, why are you using macros to create classes ?

          CorniceC Offline
          CorniceC Offline
          Cornice
          wrote on last edited by
          #4

          @SGaist I discovered the problem when annotating namespaces created by the macro, and tried classes by the way.

          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