Results 1 to 6 of 6

Thread: vlc in QT widget

  1. #1
    Join Date
    Aug 2010
    Posts
    3

    Default vlc in QT widget

    i need play rtsp broadcast in QT widget.
    I could not make work this example http://wiki.videolan.org/LibVLC_SampleCode_Qt .
    Please give me a working example with the dll and lib file.

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: vlc in QT widget

    Quote Originally Posted by RuZ View Post
    Please give me a working example with the dll and lib file.
    Why certainly! Do you need anything else? What platform do you need?

  3. #3
    Join Date
    Aug 2010
    Posts
    3

    Default Re: vlc in QT widget

    windows, qt v. 4.7. I use Qt Creator.

  4. #4

    Default Re: vlc in QT widget

    Why certainly! Do you need anything else? What platform do you need?
    I think my sarcasm-o-meter just blew a fuse

  5. #5
    Join Date
    Aug 2010
    Posts
    3

    Default Re: vlc in QT widget

    ok)
    i create new project and add code (http://wiki.videolan.org/LibVLC_SampleCode_Qt), put vlc folder with vlc header file, took lib file from visual studio 2007 and add in .pro file "LIBS+= -L libvlc.lib", put libvlc.dll and libvlccore.dll in program folder. And i have error.

    debug/vlc_on_qt.o: In function `Player':
    F:\program_temp\robo\vlccame-build-desktop/../vlccame/vlc_on_qt.cpp:44: undefined reference to `libvlc_exception_init'
    F:\program_temp\robo\vlccame-build-desktop/../vlccame/vlc_on_qt.cpp:47: undefined reference to `libvlc_new'
    F:\program_temp\robo\vlccame-build-desktop/../vlccame/vlc_on_qt.cpp:51: undefined reference to `libvlc_media_player_new'
    F:\program_temp\robo\vlccame-build-desktop/../vlccame/vlc_on_qt.cpp:44: undefined reference to `libvlc_exception_init'
    F:\program_temp\robo\vlccame-build-desktop/../vlccame/vlc_on_qt.cpp:47: undefined reference to `libvlc_new'
    F:\program_temp\robo\vlccame-build-desktop/../vlccame/vlc_on_qt.cpp:51: undefined reference to `libvlc_media_player_new'
    debug/vlc_on_qt.o: In function `~Player':
    F:\program_temp\robo\vlccame-build-desktop/../vlccame/vlc_on_qt.cpp:66: undefined reference to `libvlc_media_player_stop'
    F:\program_temp\robo\vlccame-build-desktop/../vlccame/vlc_on_qt.cpp:69: undefined reference to `libvlc_media_player_release'
    F:\program_temp\robo\vlccame-build-desktop/../vlccame/vlc_on_qt.cpp:71: undefined reference to `libvlc_release'
    F:\program_temp\robo\vlccame-build-desktop/../vlccame/vlc_on_qt.cpp:66: undefined reference to `libvlc_media_player_stop'
    F:\program_temp\robo\vlccame-build-desktop/../vlccame/vlc_on_qt.cpp:69: undefined reference to `libvlc_media_player_release'
    F:\program_temp\robo\vlccame-build-desktop/../vlccame/vlc_on_qt.cpp:71: undefined reference to `libvlc_release'
    F:\program_temp\robo\vlccame-build-desktop/../vlccame/vlc_on_qt.cpp:66: undefined reference to `libvlc_media_player_stop'
    F:\program_temp\robo\vlccame-build-desktop/../vlccame/vlc_on_qt.cpp:69: undefined reference to `libvlc_media_player_release'
    F:\program_temp\robo\vlccame-build-desktop/../vlccame/vlc_on_qt.cpp:71: undefined reference to `libvlc_release'
    I may not have properly connected dll, what should I do?

  6. #6
    Join Date
    Mar 2011
    Posts
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: vlc in QT widget

    Hello,
    i gat the same errors, did you solved this problem and can give me a hint how to bring this to work

    Georg

Similar Threads

  1. Replies: 10
    Last Post: 29th May 2010, 18:42
  2. Replies: 7
    Last Post: 14th January 2010, 08:47
  3. Replies: 4
    Last Post: 3rd March 2008, 22:15
  4. Replies: 3
    Last Post: 17th October 2007, 12:52
  5. Replies: 1
    Last Post: 5th November 2006, 23:50

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.