Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Why QDoc don't work, it's really confusing.
Forum Update on Monday, May 27th 2025

Why QDoc don't work, it's really confusing.

Scheduled Pinned Locked Moved Unsolved General and Desktop
qdoc
26 Posts 7 Posters 6.2k 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.
  • F Offline
    F Offline
    FrancoF
    wrote on last edited by
    #21

    @mrjj
    Hi, I have a very simila problem.

    mrjjM 1 Reply Last reply
    0
    • F FrancoF

      @mrjj
      Hi, I have a very simila problem.

      mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #22

      @FrancoF
      Hi
      I did try the QDoc but could not get any /fn to work either.

      What version of Qt are you using ?

      DevMachinesD F 2 Replies Last reply
      0
      • mrjjM mrjj

        @FrancoF
        Hi
        I did try the QDoc but could not get any /fn to work either.

        What version of Qt are you using ?

        DevMachinesD Offline
        DevMachinesD Offline
        DevMachines
        wrote on last edited by DevMachines
        #23

        Re: [Why QDoc don't work](it's really confusing.)
        I have the same issue with Qt5.12.0 on Windows. Does anyone have the solution for this?
        Some notes - the enumerator was processed without problems:

        class MyClass
        {
        public:
        enum Type
        {
        }
        void foo();
        }

        /*!
        \enum MyClass::Type - parsed without errors
        \value …
        */

        /*!
        \fn void MyClass::foo() - error: use of undeclared identifier 'MyClass' why???
        */

        1 Reply Last reply
        0
        • DevMachinesD Offline
          DevMachinesD Offline
          DevMachines
          wrote on last edited by
          #24

          To fix the error, you need to switch to VS2015 Build Tool. For VS2017 I could not get the compiler to work. But for 2015 everything works as expected.

          1 Reply Last reply
          4
          • M Offline
            M Offline
            Michael Scopchanov
            wrote on last edited by
            #25

            Check out this: https://stackoverflow.com/questions/52739030/why-does-q-object-break-qdoc

            1 Reply Last reply
            1
            • mrjjM mrjj

              @FrancoF
              Hi
              I did try the QDoc but could not get any /fn to work either.

              What version of Qt are you using ?

              F Offline
              F Offline
              FrancoF
              wrote on last edited by
              #26

              @mrjj
              Qt 5.12.4 (GCC 9.1.0, 64 bit) installed on MSYS.

              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