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?
Forum Updated to NodeBB v4.3 + New Features

How to use QDoc to connect classes defined by MACROS?

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
4 Posts 2 Posters 405 Views 1 Watching
  • 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.
  • C Offline
    C Offline
    Cornice
    wrote on 10 Apr 2020, 02:40 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)

    C 1 Reply Last reply 10 Apr 2020, 02:58
    0
    • C Cornice
      10 Apr 2020, 02:40

      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)

      C Offline
      C Offline
      Cornice
      wrote on 10 Apr 2020, 02:58 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
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 10 Apr 2020, 17:17 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

        C 1 Reply Last reply 13 Apr 2020, 06:48
        1
        • S SGaist
          10 Apr 2020, 17:17

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

          C Offline
          C Offline
          Cornice
          wrote on 13 Apr 2020, 06:48 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

          2/4

          10 Apr 2020, 02:58

          • Login

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