I am getting this error "Collect2:Id Returned 1 exit status" when i build an application, i even tried to build example progrm but got the same error-"Collect2:Id Returned 1 exit status". I am using Qt SDK
Plz help me.
srikanth
I am getting this error "Collect2:Id Returned 1 exit status" when i build an application, i even tried to build example progrm but got the same error-"Collect2:Id Returned 1 exit status". I am using Qt SDK
Plz help me.
srikanth
could you post the errors before this?
This is the only error it is showing.
Even for the example project the only single line error.
ok..without the whole error log, its just like shooting in the dark..my guess would be applications you are trying to build are already running..kill them and build again..this has happened to many users earlier and might be in your case too..
Actually I am using Qt SDK 4.5, where i do my programming in Qt Creator, In Build Issues I am Getting
"Collect2:Id Returned 1 exit status"
and in Compile Output
/opt/qtsdk-2009.01/qt/lib/libQtGui.so:Undefined reference to 'FcFreeTypeQuearyFace'
make[1]: leaving directory'/root/part1'
Collect2:Id Returned 1 exit status
This is what i got in compile output.
Last edited by c_srikanth1984; 3rd April 2009 at 07:02. Reason: Spelling Mistake
do you have freetype and fontconfig libs installed?
Try (ubuntu, kubuntu):
Qt Code:
sudo apt-get install libfreetype6 sudo apt-get install libfreetype6-dev sudo apt-get install fontconfig sudo apt-get install libfontconfig1 sudo apt-get install libfontconfig1-devTo copy to clipboard, switch view to plain text mode
Last edited by faldzip; 3rd April 2009 at 08:50.
I would like to be a "Guru"
Useful hints (try them before asking):
- Use Qt Assistant
- Search the forum
If you haven't found solution yet then create new topic with smart question.
I am very new to Qt I dont know How check these libs r there or not.
I am Using
Operating System: Linux Enterprise Server 5.1
Qt Version: Qt SDK 4.5
ODE : Qt Creator
I downloaded the Open Source Qt SD from Qt Software site.
Where i got a bin file.
I have installed it in /opt folder
plz help me, have i followed the correct installation procedure
Last edited by c_srikanth1984; 6th April 2009 at 05:17.
just go to the linux terminal and implement the commands mentioned by faldzip
I too am very new to Qt. I'm getting the same error but am on a mac. Would anyone know how to find the freetype and fontconfig libs for Mac? Thank you
Have you tried to clean/rebuild your application?Did the error show when you compiled it for the first time? Maybe if you backtrack your steps you can find out what is causing the error.
Bookmarks