Hi All,

Yesterday I migrated from openSuSE to ubuntu 8.10 and I faced a huge problem after installing QtCreator which is:

I couldn't build any Qt project at all (see build log please) although I installed build-essential package !! How I can fix this issue. What I need?


P.S.
I spent more than 12 hours trying to fix this issue but I failed, could you please help me because I gave up. I'm wondering why this happened qtsdk-2009.02 worked fine on openSuSE and windows!



-----
Best Regards
Muhammad Bashir Al-Noimi
My Blog: http://mbnoimi.net/
Running build steps for project testProject...
Configuration unchanged, skipping QMake step.
Starting: /usr/bin/make -w 
make: Entering directory `/home/mbnoimi/Desktop/testProject'
/home/mbnoimi/Apps/qtsdk-2009.02/qt/bin/uic mainwindow.ui -o ui_mainwindow.h
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED 
-I../../Apps/qtsdk-2009.02/qt/mkspecs/linux-g++ -I. 
-I../../Apps/qtsdk-2009.02/qt/include/QtCore 
-I../../Apps/qtsdk-2009.02/qt/include/QtGui 
-I../../Apps/qtsdk-2009.02/qt/include -I. -I. -o main.o main.cpp
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED 
-I../../Apps/qtsdk-2009.02/qt/mkspecs/linux-g++ -I. 
-I../../Apps/qtsdk-2009.02/qt/include/QtCore 
-I../../Apps/qtsdk-2009.02/qt/include/QtGui 
-I../../Apps/qtsdk-2009.02/qt/include -I. -I. -o mainwindow.o mainwindow.cpp
/home/mbnoimi/Apps/qtsdk-2009.02/qt/bin/moc -DQT_GUI_LIB -DQT_CORE_LIB 
-DQT_SHARED -I../../Apps/qtsdk-2009.02/qt/mkspecs/linux-g++ -I. 
-I../../Apps/qtsdk-2009.02/qt/include/QtCore 
-I../../Apps/qtsdk-2009.02/qt/include/QtGui 
-I../../Apps/qtsdk-2009.02/qt/include -I. -I. mainwindow.h -o moc_mainwindow.cpp
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED 
-I../../Apps/qtsdk-2009.02/qt/mkspecs/linux-g++ -I. 
-I../../Apps/qtsdk-2009.02/qt/include/QtCore 
-I../../Apps/qtsdk-2009.02/qt/include/QtGui 
-I../../Apps/qtsdk-2009.02/qt/include -I. -I. -o moc_mainwindow.o 
moc_mainwindow.cpp
g++ -Wl,-rpath,/home/mbnoimi/Apps/qtsdk-2009.02/qt/lib -o testProject main.o 
mainwindow.o moc_mainwindow.o -L/home/mbnoimi/Apps/qtsdk-2009.02/qt/lib -lQtGui 
-L/home/mbnoimi/Apps/qtsdk-2009.02/qt/lib -L/usr/X11R6/lib -pthread -lfreetype 
-lgobject-2.0 -lSM -lICE -pthread -pthread -lXrender -lfontconfig -lXext -lX11 
-lQtCore -lm -pthread -lgthread-2.0 -lrt -lglib-2.0 -ldl -lpthread
make: Leaving directory `/home/mbnoimi/Desktop/testProject'
/usr/bin/ld: cannot find -lSM
collect2: ld returned 1 exit status
make: *** [testProject] Error 1
Exited with code 2.
Error while building project testProject
When executing build step 'Make'
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to