Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How do we know Qt Assistant code from Qt source code
Qt 6.12 LTS is out! See what's new in the release blog

How do we know Qt Assistant code from Qt source code

Scheduled Pinned Locked Moved Solved General and Desktop
12 Posts 3 Posters 4.6k 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.
  • Pradeep KumarP Offline
    Pradeep KumarP Offline
    Pradeep Kumar
    wrote on last edited by
    #3

    Hi,

    i found the documentation how to build docs.

    i have a queries related to docs,
    i have made source directory and build directory separate.

    so i have to use the respective commands in build directory, to build the docs.?.

    and another query is qdoc separate from qtbase?.
    for documentation related we need to use qtdoc module?

    Thanks,

    Pradeep Kumar
    Qt,QML Developer

    1 Reply Last reply
    0
    • Pradeep KumarP Offline
      Pradeep KumarP Offline
      Pradeep Kumar
      wrote on last edited by
      #4

      I found the document in qtbase module regarding the instructions to be followed for compiling Qt Documentation.

      question is from which directory i should run qt source directory or qt-build directory?.

      Pradeep Kumar
      Qt,QML Developer

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

        Hi,

        The build directory. Run make docs at the root of the build directory if you want to generate the documentation of all the modules you built.

        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
        • Pradeep KumarP Offline
          Pradeep KumarP Offline
          Pradeep Kumar
          wrote on last edited by
          #6

          @SGaist

          Thanks for the answer i used the command make docs in qt-build directory and the docs are generated in the respective path

          /root/qt-build/qtbase/doc , the doc folder got created . in build directory.

          is the documentation generated?.

          Pradeep Kumar
          Qt,QML Developer

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

            It should be yes.

            Note: don't develop as root. It's a very bad idea.

            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
            • Pradeep KumarP Offline
              Pradeep KumarP Offline
              Pradeep Kumar
              wrote on last edited by
              #8

              @SGaist

              i have compiled qt5 source code and qt-build in root only, will it affect?.

              and one more question is how to get it to Qt creator, is my question correct.?.

              Pradeep Kumar
              Qt,QML Developer

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

                What do you mean by "will it affect" ?

                Add Qt versions to Qt Creator

                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
                • Pradeep KumarP Offline
                  Pradeep KumarP Offline
                  Pradeep Kumar
                  wrote on last edited by
                  #10

                  @SGaist

                  affecting means , affecting the source code and the build of the qt source code?.

                  yes @SGaist, i have configured the kit of my built qt source code. as mentioned in my previous post.

                  Queries regarding the running the init-repository after downloading the Qt source code

                  as mentioned early in this topics i used make docs command.

                  i found in the read me text file, the below sections.

                  Building the qdocconf File
                  Building using make
                  Building Qt Documentation
                  Packaging the Documentation

                  i have used one method of using the make command,
                  QDoc and the configuration file (qdocconf) file. should i use the steps after make docs command.?.

                  Please guide me.

                  Pradeep Kumar
                  Qt,QML Developer

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

                    No, the source code is just text files. What is going to happen is that everything that would usually fail as a normal user like accessing protected files (e.g. calling delete on /) won't even trigger a warning.

                    The documentation has been built. What you have to do now is tell Qt Creator where to find it.

                    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
                    • Pradeep KumarP Offline
                      Pradeep KumarP Offline
                      Pradeep Kumar
                      wrote on last edited by
                      #12

                      @raven-worx
                      @SGaist

                      Thanks for the solution.
                      Qt Documentation got generated. I have addded .qch files to Qt Creator and Qt Assisstant.

                      Now using the custom built Assisstant.

                      Thanks.

                      Pradeep Kumar
                      Qt,QML Developer

                      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
                      • Unsolved