#1 Installation Guide for QPxTool 0.6 von QPxToolteam 10.12.2006 19:41

First you have to install scons (for now).
Then find the path to your qt3 installation:

Fedora: /usr/lib/qt-3.3
Gentoo: /usr/qt/3/
SuSE: /usr/lib/qt3
debian: /usr/include/qt3 (you have to create /usr/linclude/qt3/bin. And create there equivalent symlinks to /usr/bin/uic, /usr/bin/qmake and /usr/bin/moc)

1
 
# export QTDIR=/path/to/qt3
 


check it with:

1
 
# echo $QTDIR
 



edit SConstruct, so that it look like this: (for debian insert just '$QTDIR')

1
2
3
4
 
...
CPPPATH = [ '$QTDIR/include', '/usr/local/include', '/usr/X11R6/include' ],
LIBPATH = [ '$QTDIR/lib', '/usr/local/lib', '/usr/X11R6/lib' ],
...
 


edit qpxtool/SConscript to this:

1
2
3
4
5
 

env.Append(CPPATH = ['$QTDIR/include', '/usr/X11R6/include' ],
LIBPATH = [ '/usr/X11R6/lib', '$QTDIR/lib' ] )
...
 
 


QPxTool should compile now:

1
2
 
# make
# make install
 


It is possible that some dynamic libs could not be found. So edit /etc/ld.so.conf and add:

1
 
/usr/local/lib
 

. Then do:

1
 
# ldconfig
 


Now QPxTool 0.6 should start.

Xobor Ein Kostenloses Forum von Xobor.de
Einfach ein Forum erstellen
Datenschutz