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. Can't link to 'QtDream Core C++ Classes'

Can't link to 'QtDream Core C++ Classes'

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 1.1k Views 2 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.
  • jiancaiyangJ Offline
    jiancaiyangJ Offline
    jiancaiyang
    wrote on last edited by
    #1

    I am making a custom Qt module. And when it is mature, I begin to write documentation to it. I am using QDoc to generate documentation. But when using it to generate, there are many warnings, including this:

    /Users/jiangcaiyang/QtProject/qtdream/src/core/downloader.cpp:12: 警告: Can't link to 'QtDream Core C++ Classes'

    The class document definition shows:

    /*!
        \class Downloader
        \brief Downloader类是用来快速下载的。
        \inmodule QtDreamCore
        \ingroup network
        \reentrant
        \since 3.2
    
        Downloader类可以用来做快速下载,只需要指定下载的url即可快速进行下载。
     */
    

    And the qdocconf file shows:

    include($QT_INSTALL_DOCS/global/qt-module-defaults.qdocconf)
    
    project                 = QtDreamCore
    description             = QtDream Core Reference Documentation
    version                 = 3.3
    
    depends     += qtcore qtqml qtdoc qmake
    
    headerdirs  += ..
    
    sourcedirs  += ..
    
    imagedirs   += image
    
    examplesinstallpath = qtdreamcore
    
    Cpp.ignoretokens         += CORE_EXPORT
    
    navigation.landingpage    = "QtDreamCore"
    navigation.qmltypespage   = "QtDream Core QML Types"
    navigation.cppclassespage = "QtDream Core C++ Classes"
    
    sourceencoding = UTF-8
    outputencoding = UTF-8
    naturallanguage = zh-Hans
    
    qhp.projects            = QtDreamCore
    
    qhp.QtDreamCore.file                    = qtdreamcore.qhp
    qhp.QtDreamCore.namespace               = com.qtdream.qtdreamcore.3.3
    qhp.QtDreamCore.virtualFolder           = qtdreamcore
    qhp.QtDreamCore.indexTitle              = QtDream Core
    qhp.QtDreamCore.indexRoot               =
    qhp.QtDreamCore.filterAttributes   = qtdreamcore 3.3 qtrefdoc
    qhp.QtDreamCore.customFilters.Qt.name = QtDreamCore 3.3
    qhp.QtDreamCore.customFilters.Qt.filterAttributes = qtdreamcore 3.3
    
    qhp.QtDreamCore.subprojects                       = classes examples
    
    qhp.QtDreamCore.subprojects.classes.title         = C++ Classes
    qhp.QtDreamCore.subprojects.classes.indexTitle    = QtDream Core C++ Classes
    qhp.QtDreamCore.subprojects.classes.selectors     = class fake:headerfile
    qhp.QtDreamCore.subprojects.classes.sortPages     = true
    
    qhp.QtDreamCore.subprojects.examples.title        = Examples
    qhp.QtDreamCore.subprojects.examples.indexTitle   = QtDream Core Examples
    qhp.QtDreamCore.subprojects.examples.selectors    = fake:example
    qhp.QtDreamCore.subprojects.examples.sortPages    = true
    
    tagfile                 = ../../../doc/qtdreamcore/qtdreamcore.tags
    

    I want to know how to resolve the problem. Thanks in advance.

    我们自己的论坛:http://qtdream.com
    擅长三维角色仿真动画。

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

      Hi,

      The file seems good. Is the project accessible somewhere to test the documentation generation ?

      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
      2
      • jiancaiyangJ Offline
        jiancaiyangJ Offline
        jiancaiyang
        wrote on last edited by jiancaiyang
        #3

        I've found the reason, it is because I do not put qtdreamcore-cpp.qdoc in /doc/src folder.

        我们自己的论坛:http://qtdream.com
        擅长三维角色仿真动画。

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

          Glad you found out and thanks for sharing !

          Please mark the thread as solved using the "Topic Tools" button so that other forum users may know a solution has been found :-)

          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
          1

          • Login

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