Results 1 to 4 of 4

Thread: QML plugin + QAxWidget

  1. #1
    Join Date
    Jul 2007
    Location
    BY.Minsk
    Posts
    90
    Thanks
    10
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default QML plugin + QAxWidget

    Hi,
    I tried to make QML plugin based on QAxWidget and call it from QML.
    Widget subclass QAxWidget and use ActiveX QuickTime.
    I get the sound from video, but no picture, just white frame.

    Is there way to do it or this is impossible / bug ?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QML plugin + QAxWidget

    I don't think ActiveX is the right approach here. At best you'll get a non-scaled static choppy video output possibly positioned in the wrong place.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Jul 2007
    Location
    BY.Minsk
    Posts
    90
    Thanks
    10
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QML plugin + QAxWidget

    Quote Originally Posted by wysota View Post
    I don't think ActiveX is the right approach here. At best you'll get a non-scaled static choppy video output possibly positioned in the wrong place.
    Yes, you are right. But but now QML does not have good tools for working with video.
    Video component (from Multimedia Kit) is very simple
    For professional cases I need tools which will allow me to write custom player with some
    very important features(frame accurate/frame processing/native non directshow decoders/etc).
    Native Qt can do it, but still no way to do it in QML.

    Maybe you can suggest me something ?
    Thanks.

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QML plugin + QAxWidget

    You can export anything you like to QML by implementing a custom item type. Or you can expose to QML just an engine that does what you want using built-in QObject exposing features of QtQuick and then attach that to an existing QML element (e.g. Image).
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. The following user says thank you to wysota for this useful post:

    Fastman (21st July 2012)

Similar Threads

  1. Communication with a QAxWidget
    By hgstoehr in forum Qt Programming
    Replies: 0
    Last Post: 17th January 2012, 00:14
  2. QAxWidget and C#
    By vxmontes in forum Newbie
    Replies: 0
    Last Post: 3rd August 2011, 15:52
  3. QAxWidget
    By rajeshs in forum Qt Programming
    Replies: 1
    Last Post: 5th September 2008, 05:13
  4. QAxWidget
    By chak_med in forum Newbie
    Replies: 1
    Last Post: 10th September 2006, 20:05
  5. QAxWidget
    By ToddAtWSU in forum Newbie
    Replies: 2
    Last Post: 3rd February 2006, 17:29

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.