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. QtCreator context help not working after installing qch file

QtCreator context help not working after installing qch file

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

    Hi, I tried to install CMake qch documentation into qtcreator, but context help shows that documentation is not available when pressing F1 with cursor over some cmake command (e.g. add_executable)

    The source QHP file is: http://pastebin.com/zadwaid6
    The resulting QCH file is: https://drive.google.com/file/d/0B4rdpC8E91WcaW9yRXdUaS1MUVU/edit?usp=sharing

    1 Reply Last reply
    0
    • S Offline
      S Offline
      slawek
      wrote on last edited by
      #2

      There was a similar problem with the cppreference QCH files. The generated index was broken. And the workaround is still to use an older version of cppreference. So the problem was not in Qt Creator.

      Could you give me a pointer, how you created the QHP file and the QCH file. Which tools did you use? Which commands? Etc.

      Since we are using CMAKE extensively in our project similar headaches here.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Seally25
        wrote on last edited by
        #3

        Qt Creator F1 context help for CMake doesn't work if you use Qt Creator 3.1.2 or below as the patch for it wasn't pushed in time for its release. As of this writing, Qt Creator 3.2 RC1 has been released which does contain this change, so you can use that instead.

        Recently, there was a blog post over at KDAB on the subject and it has a link to a generated qch file for CMake 3.0.0. The post can be found "here":http://www.kdab.com/context-sensitive-cmake-documentation-qtcreator/.

        As for cppreference docs, they have released a new version of their docs which now works (more or less) with Qt Creator's context help. If you need to generate it yourself for whatever reason, there's a link to the utility scripts you need at the bottom of the download page.

        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