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. Why can't QDoc find my .h file?
Qt 6.11 is out! See what's new in the release blog

Why can't QDoc find my .h file?

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

    Hi,
    I have two questions:
    First, it is displayed that "Cannot find 'MwExternal' specified with '\class' in any header file" when qdoc runs.
    a14d8d74-a1a6-4a0c-86e7-9324f3b0a85e-image.png

    Second, some .html files are not generated, but there is no warning.
    eg:
    ee0fe3a2-f7cc-48b6-908a-de36eb4503e1-image.png
    cd321062-5c8a-4af9-8444-d1e0caae0611-image.png

    I am sure to add the header file directory in the configuration file.
    1f9af713-7330-4e45-997b-3b5469e7f949-image.png
    yours,
    Li

    1 Reply Last reply
    0
    • CorniceC Offline
      CorniceC Offline
      Cornice
      wrote on last edited by
      #2

      4b308343-927d-4ae4-80e2-bc28776b4460-image.png
      3829f773-71a6-48bf-a70e-7e0c0515fd87-image.png
      e22b5159-0248-438d-93be-f209d51304c5-image.png
      I found that qdoc is very sensitive to macros. QDoc can identify classes in the first and second pictures, but not in the third picture.

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

        Hi,

        Can your provide a minimal project that shows the issue ?

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

        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