Results 1 to 2 of 2

Thread: Cannot assemble static app with WebKit and Phonon

  1. #1
    Join Date
    Apr 2011
    Posts
    31
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows Android

    Default Cannot assemble static app with WebKit and Phonon

    Me just installed Qt4.7.0 on Windows and configured it as static. I use MinGW and QtCreator. One my application was assembled statically and works as well. It doesn't use Web or multimedia. Now I started new app using WebKit. Suddenly it requires Phonon (but I don't use it in app at all). ld returns waterfall of errors like this:

    Qt Code:
    1. i:\Qt\2010.05s\qt\lib\libQtWebKitd.a(MediaPlayerPrivatePhonon.o):MediaPlayerPrivatePhonon.cpp:(.text+0xb6): undefined reference to `_imp___ZN6Phonon11MediaObjectC1EP7QObject'
    To copy to clipboard, switch view to plain text mode 
    and so on...

    I see libphonond.a and libphonon.a in qt/lib folder. What is wrong? What have I do to assemble application which just openes Web-page and downloads it first?

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Cannot assemble static app with WebKit and Phonon

    post your *.pro file.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

Similar Threads

  1. Phonon on Static Qt 4.7.1
    By santosh.kumar in forum Qt Programming
    Replies: 4
    Last Post: 15th April 2011, 16:54
  2. Replies: 4
    Last Post: 23rd September 2010, 15:20
  3. Static Qt+Webkit 4.6.2 Link Errors
    By geekox86 in forum Installation and Deployment
    Replies: 3
    Last Post: 20th June 2010, 05:06
  4. Transparency with webkit and Phonon
    By mskzo in forum Qt Tools
    Replies: 1
    Last Post: 25th November 2008, 09:41
  5. Problem compiling Qt4.4.0 with mingw-static in examples/webkit
    By KjellKod in forum Installation and Deployment
    Replies: 2
    Last Post: 10th July 2008, 13:32

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.