> It seems I have found an easy and quick solution for the installation on the > 64bit linux distros, because the scons didn't know the compatible qt-mt is in > the folder /usr/lib64/qt-3.3 instead of /usr/lib32/qt-3.3, therefore what I > did was add this directory to the QTDIR variable in the scons.config file > after it is generated by scons' first run, so it will look like this: > > PREFIX = '/home/username/YADE' > optimize = True > exclude = 'none' > features = 'log4cxx,python' > QTDIR = ['/usr/share/qt3', '/usr/lib/qt', '/usr/qt/3', '/usr/lib/qt-3.3', > '/usr/lib64/qt-3.3'] > CXXFLAGS = [] > > it goes well now! > > PS: this is not the final solution I think, I didn't have time to explore the > SConstruct file. However we don't need to compile qt and QGLViewer, and, I > cannot find qt-3.3 installation package on the trolltech homepage.
The final solution is either to add /usr/lib64/qt-3.3 to the default values of QTDIR (SConstruct:81). Your solution is unnecessarily complicated, scons.config just saves values you pass on the command line. You achieve the same if you run $ scons QTDIR=/usr/lib64/qt-3.3 the first time. For qt4, it is not source-compatible with qt3. I think Janek was working on a qt4 frontend, but I don't care since qt3 works just fine for me (gtk2 would be better, though ;-) ) Vaclav _______________________________________________ Yade-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/yade-users
