[Qt-interest] Problem installing from source

Colin Kern colin.kern at gmail.com
Fri Mar 5 09:19:05 CET 2010


I've checked out the current Qt 4.7 code and compiled it with no
problem in my home directory, but when I try to run make install it
doesn't seem to be working correctly.  I'm on Ubuntu and don't have
any Qt version already installed on my system.  When I run "sudo make
install", it seems to copy some of the Qt libraries into /usr/lib and
some into /usr/local/Trolltech/Qt-4.7.0/lib.
$ ls /usr/lib/libQt*.so
/usr/lib/libQt3Support.so@            /usr/lib/libQtDesigner.so@
/usr/lib/libQtOpenGL.so@       /usr/lib/libQtXmlPatterns.so@
/usr/lib/libQtCLucene.so@             /usr/lib/libQtGui.so@
/usr/lib/libQtScriptTools.so@
/usr/lib/libQtDeclarative.so@         /usr/lib/libQtHelp.so@
/usr/lib/libQtSvg.so@
/usr/lib/libQtDesignerComponents.so@  /usr/lib/libQtMultimedia.so@
/usr/lib/libQtWebKit.so@

$ ls /usr/local/Trolltech/Qt-4.7.0/lib/libQt*.so
/usr/local/Trolltech/Qt-4.7.0/lib/libQtCore.so@
/usr/local/Trolltech/Qt-4.7.0/lib/libQtSql.so@
/usr/local/Trolltech/Qt-4.7.0/lib/libQtNetwork.so@
/usr/local/Trolltech/Qt-4.7.0/lib/libQtTest.so@
/usr/local/Trolltech/Qt-4.7.0/lib/libQtScript.so@
/usr/local/Trolltech/Qt-4.7.0/lib/libQtXml.so@

Is this normal behavior?  It also doesn't seem to copy the qmake
binary anywhere.  I've added /usr/local/Trolltech/Qt-4.7.0/bin to my
path, but qmake isn't in there.
$ ls /usr/local/Trolltech/Qt-4.7.0/bin/
lconvert*  lconvert.debug  lupdate*  lupdate.debug  qdoc3*
qdoc3.debug  qt3to4*  qt3to4.debug  rcc*  rcc.debug  uic*  uic.debug
$ which qmake
$

I want to build Qt Creator next, but even if I run qmake out of where
it was built in my home directory, I get errors.
$ ../qt/bin/qmake
QMAKESPEC has not been set, so configuration cannot be deduced.
Error processing project file: /home/colin/qt-creator/qtcreator.pro

What do I need to do to get this installed correctly?

Thanks,
Colin



More information about the Qt-interest-old mailing list