Hi All,
I was trying to compile the phonon music player Application in Qt Creator. I get this error "collect2: ld returned 1 exit status".
I dont know what this means. I am newbie to Qt. Can someone help me out??
Thanks in Advance
Yes
No
Not at All
Very Helpful
Hi All,
I was trying to compile the phonon music player Application in Qt Creator. I get this error "collect2: ld returned 1 exit status".
I dont know what this means. I am newbie to Qt. Can someone help me out??
Thanks in Advance
it generally means some dynamic library was not found... may be your qt installation is not compiled with phonon support..
Edit.
are you using qt sdk on windows?
how do i enable phonon support??
Yes i am using Qt on Windows
tell your system details first..
EDIT:
on windows you need to download the qt sources and download the directx sdk and compile qt with msvc
EDIT2
for mingw there is some recent posts in the forums... search mingw+phonon
Windows Xp Professional, Version 2002 , Service Pack 2
Ok ill download the DireectX SDK and compile Qt with mvsc as u suggested.. Ill get back to you if still the error persists
hey .. wait a min brother..
first make sure its phonon errror only... does the linker error say about it?
are you using the open source edition of Qt? if yes then proceed to dl directx...
Yes i am using Open Sorce Edition of Qt. Also Cant be compile it using Qt creator only. should we have to use msvc?? is it necessary
I have downloaded abd installed Direct 9.x. but still the error persisists?? i am not using msvc, instead using QT creator?
for now directx phonon backend can only be compiled with msvc...
one more thing... QtCreater is not a compiler its an IDE.. it compiles with mingw.
nokia will add support for msvc compiler in next version.
make sure you configure qt with the right options..(-phonon -phononSOMETHINGbackend i dont remember exactly) ...
if you want to play around with mingw than search this forum and the forum wiki... it contains several posts on how to use mingw with phonon...
Bookmarks