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. How to load the Qt help docs into the "help" item of Qt Creator IDE?[Solved]
Forum Updated to NodeBB v4.3 + New Features

How to load the Qt help docs into the "help" item of Qt Creator IDE?[Solved]

Scheduled Pinned Locked Moved General and Desktop
9 Posts 3 Posters 5.5k 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.
  • J Offline
    J Offline
    jesse.zwd
    wrote on last edited by
    #1

    Hi, everyone,

    the "help" item on Qt Creator IDE is " about:blank" page by default, how to load the Qt help docs, which are integrated in Qt SDK, into the "help" item, so I can get some help by clicking the "help" item or when I'm offline?

    thanks a lot!

    [Edit: Qt, not QT :-) ; mlong]

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Tools->Options->Help->Documentation->Add...

      Then browse to your SDK instalation and go into Documentation folder, and select all items there.

      (Z(:^

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jesse.zwd
        wrote on last edited by
        #3

        Yes, I did so, but nothing happened! the "help" item is empty after that! I even restarted the IDE. what's the problem?

        anyway, thanks for your attention!

        1 Reply Last reply
        0
        • D Offline
          D Offline
          DerManu
          wrote on last edited by
          #4

          When you, for example, hit F1 while your cursor is on "QMainWindow", do you see the QMainWindow documentation or also an empty page? If you search the index in the help window, are the results always empty?

          I'm trying to figure out whether this is just a default-page-problem, or whether your IDE actually fails to load the specified help files.

          Oh yeah, in Tools->Options->Help->Documentation, what modules are loaded there? Mine says:
          @com.nokia.qt.sdk.120
          com.nokia.qtcreator.240
          com.trolltech.qmake.481
          com.trolltech.qt.481
          com.workslikeclockwork.qcustomplot@

          1 Reply Last reply
          0
          • J Offline
            J Offline
            jesse.zwd
            wrote on last edited by
            #5

            I think my IDE actually fails to load the specified help files, and hit F1 while my cursor is on some word like “QMainWindow”, it is also an empty page.

            In Tools->Options->Help->Documentation, it is empty, nothing can be loaded there.

            BTW, I'm working on Ubuntu 12.04, the "edit", "build", "run" seem to work Ok.

            Thanks a lot!

            1 Reply Last reply
            0
            • D Offline
              D Offline
              DerManu
              wrote on last edited by
              #6

              Did you add the correct files to the documentation? I.e.
              @
              QtSDK/Documentation/qmake.qch
              QtSDK/Documentation/qt.qch
              QtSDK/Documentation/qtcreator.qch
              QtSDK/Documentation/sdk.qch
              @
              (and maybe some simulator/mobility/QML stuff which I didn't install)

              Then check whether those files are broken. Mine are 166k, 58M, 7.2M, 413k in the above order. If you have 4.8.1 like me, you can also compare with my md5sums:
              @
              1c091f722735f3a38c7374d05cc95a53 qmake.qch
              448678fb8806ccf030965d3183646de7 qtcreator.qch
              bdb755ddcf275ba6d2885058ebee21ca qt.qch
              f5ef4206de4b9002c5d2be110efb5bb8 sdk.qch
              @

              Then execute "head -n 2 qt.qch", it should print
              [code]
              SQLite format 3 [gibberish] om.trolltech.qt.481 [gibberish] qtrefdo4.8.1qt [gibberish]
              [/code]

              1 Reply Last reply
              0
              • J Offline
                J Offline
                jesse.zwd
                wrote on last edited by
                #7

                I have these files and my SDK is 1.2.1 with libraries 4.8.2, the newest one:

                QtSDK/Documentation/qmake.qch 165.9 KB
                QtSDK/Documentation/qt.qch 59.0 MB
                QtSDK/Documentation/qtcreator.qch 7.5 MB
                QtSDK/Documentation/sdk.qch 422.9 KB

                and I don't know where to get md5sums, but the files are normal, not broken, right?
                I executed "head -n 2 qt.qch", it actually printed
                SQLite format 3 [gibberish] om.trolltech.qt.481 [gibberish] qtrefdo4.8.1qt [gibberish]

                In Tools->Options->Help->Documentation, I add these files, it seems the files load Ok, after I click "Apply" and "Ok" to close the window, I reopen the window, the files just disappear.

                It is a bug or something?

                Thanks you guys for your help!

                1 Reply Last reply
                0
                • D Offline
                  D Offline
                  DerManu
                  wrote on last edited by
                  #8

                  Hm that's crazy. I only have two vague ideas left:

                  • Make sure QtCreator has full read/write permissions on its config files (probably .conf/Nokia/ and maybe the QtSDK directory).
                  • Start QtCreator from terminal and hope it prints some debug output that tells you what's wrong.

                  After that. No clue. Probably file a bug report for QtCreator https://bugreports.qt-project.org/. Is reinstalling the SDK an option?

                  1 Reply Last reply
                  0
                  • J Offline
                    J Offline
                    jesse.zwd
                    wrote on last edited by
                    #9

                    I changed full read/write permissions on its config files, both .conf/Nokia and QtSDK directory, and the "help" item works Ok now!

                    DerManu, Thanks a lot for your help!

                    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