系统是 ubuntu 12.04
安装完毕 写了个 小程序测试了一下
make 的时候有如下错误:
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o hello.o hello.cpp
g++ -Wl,-O1 -o hello hello.o -L/usr/lib/i386-linux-gnu -lQtGui -lQtCore -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/i386-linux-gnu/libQtGui.so when searching for -lQtGui
/usr/bin/ld: cannot find -lQtGui
/usr/bin/ld: skipping incompatible /usr/lib/i386-linux-gnu/libQtCore.so when searching for -lQtCore
/usr/bin/ld: cannot find -lQtCore
collect2: ld 返回 1
make: *** [hello] 错误 1
shampool@Mozart: