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:
i:\Qt\2010.05s\qt\lib\libQtWebKitd.a(MediaPlayerPrivatePhonon.o):MediaPlayerPrivatePhonon.cpp:(.text+0xb6): undefined reference to `_imp___ZN6Phonon11MediaObjectC1EP7QObject'
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?
Bookmarks