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. User Manual
Forum Updated to NodeBB v4.3 + New Features

User Manual

Scheduled Pinned Locked Moved Solved General and Desktop
9 Posts 3 Posters 1.4k 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.
  • C Offline
    C Offline
    Circuits
    wrote on last edited by Circuits
    #1

    Hey guys, so I am trying to figure out how a user manual can be integrated into an existing application. Essentially, the user needs to be able to access information about the application while in the application.

    For now, I just want to use a pdf document and display that to the user. However, some time in the future I would like to integrate this into the application as a feature. I am not sure what help framework's QT has. Does it have something like this:

    A linked pdf/html document which would be accessible from anywhere in the application i.e. each feature in the application will have an associated icon/link that, when clicked, will forward the user to the relevant section in the pdf that explains that particular feature.

    or perhaps something similar?

    EDIT: I should mention:

    -This application is an embedded Linux application and can only use Qt 5.11
    -This is a QML application

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

      Hi
      There is
      https://doc.qt.io/qt-5/qthelp-framework.html
      see section Using QHelpEngine API

      https://doc.qt.io/qt-5/qhelpengine.html#details
      and
      https://doc.qt.io/qt-5/qhelpcontentwidget.html#details

      C 1 Reply Last reply
      3
      • JoeCFDJ Offline
        JoeCFDJ Offline
        JoeCFD
        wrote on last edited by JoeCFD
        #3

        Qt PDF module was introduced in Qt 5.14(https://doc.qt.io/qt-5/qtpdf-module.html) and therefore it is not an option for you. However, you can use poppler(https://poppler.freedesktop.org/) to replace it.
        HTML can be displayed in QWebengineView which is available for Qt 5.11.

        1 Reply Last reply
        0
        • mrjjM mrjj

          Hi
          There is
          https://doc.qt.io/qt-5/qthelp-framework.html
          see section Using QHelpEngine API

          https://doc.qt.io/qt-5/qhelpengine.html#details
          and
          https://doc.qt.io/qt-5/qhelpcontentwidget.html#details

          C Offline
          C Offline
          Circuits
          wrote on last edited by
          #4

          @mrjj Thank you for the suggestions. After you posted your reply I added some caveat to my original question namely that:

          -This application is an embedded Linux application and can only use Qt 5.11
          -This is a QML application

          Can you confirm if those methodology's would work in 5.11 on an embedded platform?

          mrjjM 1 Reply Last reply
          0
          • C Circuits

            @mrjj Thank you for the suggestions. After you posted your reply I added some caveat to my original question namely that:

            -This application is an embedded Linux application and can only use Qt 5.11
            -This is a QML application

            Can you confirm if those methodology's would work in 5.11 on an embedded platform?

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @Circuits

            Hi
            Should also be there in 5.11

            Im not sure integration with QML is possible directly but I guess you can make it work via the c++ backend.
            im not sure you can show it directly IN the QML.

            C 1 Reply Last reply
            0
            • mrjjM mrjj

              @Circuits

              Hi
              Should also be there in 5.11

              Im not sure integration with QML is possible directly but I guess you can make it work via the c++ backend.
              im not sure you can show it directly IN the QML.

              C Offline
              C Offline
              Circuits
              wrote on last edited by Circuits
              #6

              @mrjj Wait, is this for use outside of the application? I need to display a user guide inside of the application. Something that, when the application is being run, will help guide the user through the application. It will give them hints on what a button does or what some feature does.

              EDIT: I think, perhaps, that WebView will work for me? Not sure yet.

              mrjjM 1 Reply Last reply
              0
              • C Circuits

                @mrjj Wait, is this for use outside of the application? I need to display a user guide inside of the application. Something that, when the application is being run, will help guide the user through the application. It will give them hints on what a button does or what some feature does.

                EDIT: I think, perhaps, that WebView will work for me? Not sure yet.

                mrjjM Offline
                mrjjM Offline
                mrjj
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @Circuits
                hi
                yes i understod that.
                However, qhelpcontentwidget is for Widgets and you cant use it in pure QML.
                unlike a widgets app.

                Yes I think you can cook up something with WebView and simply jump to section in a html file.

                C 1 Reply Last reply
                0
                • mrjjM mrjj

                  @Circuits
                  hi
                  yes i understod that.
                  However, qhelpcontentwidget is for Widgets and you cant use it in pure QML.
                  unlike a widgets app.

                  Yes I think you can cook up something with WebView and simply jump to section in a html file.

                  C Offline
                  C Offline
                  Circuits
                  wrote on last edited by Circuits
                  #8

                  @mrjj Hm, for some reason I am unable to import QtWebView 1.1:

                  QML module not found (QtWebView).

                  Which seems odd, this is the correct import according to my documentation.

                  C 1 Reply Last reply
                  0
                  • C Circuits

                    @mrjj Hm, for some reason I am unable to import QtWebView 1.1:

                    QML module not found (QtWebView).

                    Which seems odd, this is the correct import according to my documentation.

                    C Offline
                    C Offline
                    Circuits
                    wrote on last edited by
                    #9

                    @Circuits Never mind, I did end up getting it to work. There was a section of our make file that was excluding it as a module. I will see if I can get something basic working.

                    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