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 set QWebView content from QHelpEngineCore to enable CSS links?
Forum Updated to NodeBB v4.3 + New Features

How to set QWebView content from QHelpEngineCore to enable CSS links?

Scheduled Pinned Locked Moved General and Desktop
28 Posts 3 Posters 15.9k 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.
  • K Offline
    K Offline
    KA51O
    wrote on last edited by
    #21

    Do the style sheets and images also work now ?

    1 Reply Last reply
    0
    • W Offline
      W Offline
      Woody
      wrote on last edited by
      #22

      Ok now that I got that, nothing seems to be loaded. No images, no stylesheets...

      File not found. Nobody leave the room!

      1 Reply Last reply
      0
      • W Offline
        W Offline
        Woody
        wrote on last edited by
        #23

        !http://wouterverbruggen.be/img/outcome.jpg(outcome)!

        As you can see, no content is loaded (i think)

        File not found. Nobody leave the room!

        1 Reply Last reply
        0
        • K Offline
          K Offline
          KA51O
          wrote on last edited by
          #24

          Maybe you can first test with a local Html file ,Css file and image and get that working and then proceed with the qHelp Urls. Just to pinpoint the error source.

          Edit: Have you checked the QString holding the Html content?

          1 Reply Last reply
          0
          • W Offline
            W Offline
            Woody
            wrote on last edited by
            #25

            That indeed could be a good idea, i'll keep you posted

            File not found. Nobody leave the room!

            1 Reply Last reply
            0
            • W Offline
              W Offline
              Woody
              wrote on last edited by
              #26

              With local files it works fine, it shows my pictures and the css i made.

              I have checked the QString, it's filled with the code I programmed and stored in the QHelpEngine.
              Could there be something wrong with my qch, qhc, qhcp or qhp files?

              I took as example the code from "Using Qt Assistant as a Custom Help Viewer":http://doc.qt.nokia.com/4.7-snapshot/assistant-custom-help-viewer.html
              But I don't know if that was the best idea

              File not found. Nobody leave the room!

              1 Reply Last reply
              0
              • K Offline
                K Offline
                KA51O
                wrote on last edited by
                #27

                I'm really sorry but I have no experience in using the QHelpEngine and thus am unable to help you with anything related to this component. I fear the problem is that the qHelp Urls can not be used with Html, but this is just a guess. Is there maybe another way to display the help files other then using QWebkit?

                1 Reply Last reply
                0
                • W Offline
                  W Offline
                  Woody
                  wrote on last edited by
                  #28

                  No problem, maybe I better open a new topic to bring this thing up:) But thanks for the help! You did a great job helping me understand some handy tools ;)

                  There is a way, using Assistant, but the problem is that user can browse there (even when you turn this function off). We don't want them to browse, but to only view the pages that are related to the topic.

                  File not found. Nobody leave the room!

                  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