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. Qml and qdoc using windows command prompt
Forum Updated to NodeBB v4.3 + New Features

Qml and qdoc using windows command prompt

Scheduled Pinned Locked Moved Qt Creator and other tools
3 Posts 2 Posters 1.4k 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.
  • Z Offline
    Z Offline
    Zarkon
    wrote on last edited by
    #1

    Hi,

    I have a problem with generating documentation from comments in the qml-code my

    myApp.qdocconf is like this

    @# Documentation configuration.

    project = myApp

    description = My Application

    url = http://qt-project.org/

    version = 0.0

    qhp.projects = myApp

    qhp.myApp.file = myApp.qhp

    qhp.myApp.namespace = myApp

    qhp.myApp.virtualFolder = myApp

    qhp.myApp.indexTitle = myApp

    qhp.myApp.indexRoot =

    qhp.extraFiles += style/online.css

    sourcedirs += . \

              Applications/myApp/Components \
    
              Applications/myApp/Pages
    

    sources.fileextensions += *.qml

    imagedirs += Applications/myApp/Pictures

    outputdir = doc

    ...........Bunch of style commands
    @

    When docs are generated by

    @qdoc.exe myApp.qdoconf@

    I get some errors

    @warning: Unknown command \qmlmodule
    qdoc: warning: No documentation for 'global'

    @

    I dont understand those errors. Can someone enlighten me??

    vishnuV 1 Reply Last reply
    0
    • Z Offline
      Z Offline
      Zarkon
      wrote on last edited by
      #2

      This seems to cause the first error.

      @/*!
      \qmlmodule FlippableComponents

      This module has some example components that flip a button on a click.

      We extend upon this example during the course.
      */@

      1 Reply Last reply
      0
      • Z Zarkon

        Hi,

        I have a problem with generating documentation from comments in the qml-code my

        myApp.qdocconf is like this

        @# Documentation configuration.

        project = myApp

        description = My Application

        url = http://qt-project.org/

        version = 0.0

        qhp.projects = myApp

        qhp.myApp.file = myApp.qhp

        qhp.myApp.namespace = myApp

        qhp.myApp.virtualFolder = myApp

        qhp.myApp.indexTitle = myApp

        qhp.myApp.indexRoot =

        qhp.extraFiles += style/online.css

        sourcedirs += . \

                  Applications/myApp/Components \
        
                  Applications/myApp/Pages
        

        sources.fileextensions += *.qml

        imagedirs += Applications/myApp/Pictures

        outputdir = doc

        ...........Bunch of style commands
        @

        When docs are generated by

        @qdoc.exe myApp.qdoconf@

        I get some errors

        @warning: Unknown command \qmlmodule
        qdoc: warning: No documentation for 'global'

        @

        I dont understand those errors. Can someone enlighten me??

        vishnuV Offline
        vishnuV Offline
        vishnu
        wrote on last edited by
        #3

        @Zarkon
        May i know how did you generate QDoc configuration file? I see the description here but not able to understand it. where should i run the cmd prompt in windows?
        eg: all my project files are in this location C:\Qt\Lely\LelyUI4> and i opened a cmd promt here. now what to do ? Thanks

        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