Parallel install of Qt3 and Qt4: Hydrogen assumes to find Qt4 under /usr/lib/qt
This is for Hydrogen 0.9.4 Beta 3.
I have Qt3 under /usr/lib/qt-3.3.8b and /usr/lib/qt as link and Qt4 under /usr/lib/qt4. When calling scons, I get this:
I made it build by temporarily renaming /usr/lib/qt to qt3. Just wanted to let you know that the build scripts seem to be assuming an incorrect location for some things, while apparently finding their way for others.
I have Qt3 under /usr/lib/qt-3.3.8b and /usr/lib/qt as link and Qt4 under /usr/lib/qt4. When calling scons, I get this:
scons: done reading SConscript files.
scons: Building targets ...
g++ -o gui/src/Mixer/Mixer.o -c -pthread -O3 -fomit-frame-pointer -funroll-loops -DOSS_SUPPORT -DALSA_SUPPORT -DJACK_SUPPORT -DLRDF_SUPPORT -DFLAC_SUPPORT -DLADSPA_SUPPORT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SHARED -I. -Igui/src -I3rdparty/install/include -Ilibs/hydrogen/include -Igui/src/UI -I/usr/include/lash-1.0 -I/usr/lib/qt4/include/QtCore -I/usr/lib/qt4/include/QtGui -I/usr/lib/qt4/include/QtNetwork -I/usr/lib/qt4/include/QtXml gui/src/Mixer/Mixer.cpp
/usr/lib/qt/bin/uic -o gui/src/UI/ui_about_dialog.h gui/src/UI/about_dialog.ui
uic: File generated with too recent version of Qt Designer (4.0 vs. 3.3.8b)
scons:* ** [gui/src/UI/ui_about_dialog.h] Error 1
scons: building terminated because of errors.
I made it build by temporarily renaming /usr/lib/qt to qt3. Just wanted to let you know that the build scripts seem to be assuming an incorrect location for some things, while apparently finding their way for others.
Leave a comment
on 2009-03-28 14:38 *
By Gabriel Beddingfield
Or... if QTDIR is missing... maybe it guessed wrong. Try with:
QTDIR=/usr/lib/qt4 scons
QTDIR=/usr/lib/qt4 scons
on 2009-04-09 04:50 *
By Gabriel Beddingfield
I looked over qt4.py (which is the tool used to detect Qt 4), and it really does a great job at trying to guess its way through all the different Qt install setups. But......
Once it finds a 'uic' or a 'moc', it assumes that it has the right one and doesn't do any tests or checks to confirm it. Here's the upstream version:
"":http://www.iua.upf.es/~dgarcia/Codders/sconstools.html
However, it does not appear to have added any such check. Looks like we need to add one. We may also want to update our copy with upstream.
(FYI, The version in scons SVN looks out-of-date, and is an older version of the upstream listed above.)
Once it finds a 'uic' or a 'moc', it assumes that it has the right one and doesn't do any tests or checks to confirm it. Here's the upstream version:
"":http://www.iua.upf.es/~dgarcia/Codders/sconstools.html
However, it does not appear to have added any such check. Looks like we need to add one. We may also want to update our copy with upstream.
(FYI, The version in scons SVN looks out-of-date, and is an older version of the upstream listed above.)