Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. QT Webkit strategy to show ADS in an app
Forum Updated to NodeBB v4.3 + New Features

QT Webkit strategy to show ADS in an app

Scheduled Pinned Locked Moved Qt WebKit
5 Posts 2 Posters 3.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.
  • AlicemirrorA Offline
    AlicemirrorA Offline
    Alicemirror
    wrote on last edited by
    #1

    Hi to all.

    I am developing and application for desktop where there is a selection of messages for twitter shown and periodically updated. This part of the application is done under QT-quick and works fine. Now the customer ask me to add on top of the program window interface a small area showing a rotating ad. He has a small html element that work in any browser.
    What I should do is to insert a region on the application that shows this web element, so ads are pushed from the ad server of the client.

    I ask if someone has idea of what can be the best strategy approach: with my actual experience I think to a small web browser area (using qml) where the only html element shown is the script for the rotating ad.

    Some ideas? Something best? Thks

    Enrico Miglino (aka Alicemirror)
    Balearic Dynamics
    Islas Baleares, Ibiza (Spain)
    www.balearicdynamics.com

    1 Reply Last reply
    0
    • B Offline
      B Offline
      benjamin.poulain
      wrote on last edited by
      #2

      It is heavy to integrate WebKit just for ads. But that is quite common since almost all ad provider use html and/or flash.

      1 Reply Last reply
      0
      • AlicemirrorA Offline
        AlicemirrorA Offline
        Alicemirror
        wrote on last edited by
        #3

        Mmmhhh... Your reply contains a little scare for me.

        The rotating ad is a little piece of html, and can't changed. I have in mind to add this as a z-layered object on top of the screen, using the integrated web browsing capabilities under QML. A small window that contains only this object. Is this possible?

        Enrico Miglino (aka Alicemirror)
        Balearic Dynamics
        Islas Baleares, Ibiza (Spain)
        www.balearicdynamics.com

        1 Reply Last reply
        0
        • B Offline
          B Offline
          benjamin.poulain
          wrote on last edited by
          #4

          That should be possible yep.
          I don't know if it is possible with the default WebKit element integrated in QML, but worst case you just insert your own QGraphicsWebView...

          1 Reply Last reply
          0
          • AlicemirrorA Offline
            AlicemirrorA Offline
            Alicemirror
            wrote on last edited by
            #5

            This means add a part of the function in the c++ area of the project ?

            Enrico Miglino (aka Alicemirror)
            Balearic Dynamics
            Islas Baleares, Ibiza (Spain)
            www.balearicdynamics.com

            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