On 02.03.06 12:21:26, Hai Zaar wrote: > On 3/2/06, Andreas Pakulat <[EMAIL PROTECTED]> wrote: > > On 02.03.06 00:36:03, Hai Zaar wrote: > > > I have qt compiled and installed to /usr with the following configure > > > options: > > > > That might be the case, but... > > > > > - fname = os.path.join(qt_dir, "mkspecs", os.environ["QMAKESPEC"], > > > "qmake.conf") > > > + fname = os.path.join(qt_dir, "share", "qt", "mkspecs", > > > "mkspecs", os.environ["QMAKESPEC"], "qmake.conf") > > > > /usr is _not_ the right dir to point QTDIR to. QTDIR should point to > > /usr/share/qt and you should have symlinks for lib, bin, include and > > anything else that ends up elsewhere in /usr/share/qt. This is how its > > done in Debian and it just works. > Do you mean that all of qt sits unders /usr/share/qt? I.e. libqt sits > under /usr/share/qt/lib and so on?
No, libqt* sits in /usr/lib, however there are symlinks from /usr/share/qt3/lib that point to the libqt* libs in /usr/lib: [EMAIL PROTECTED]:/usr/share/qt3>ls -l lib insgesamt 0 lrwxrwxrwx 1 root root 30 2006-02-25 13:30 libdesignercore.a -> ../../../lib/libdesignercore.a lrwxrwxrwx 1 root root 32 2006-02-25 13:30 libdesignercore.prl -> ../../../lib/libdesignercore.prl lrwxrwxrwx 1 root root 24 2006-02-25 13:30 libeditor.a -> ../../../lib/libeditor.a lrwxrwxrwx 1 root root 26 2006-02-25 13:30 libeditor.prl -> ../../../lib/libeditor.prl lrwxrwxrwx 1 root root 34 2006-02-25 13:30 libqassistantclient.a -> ../../../lib/libqassistantclient.a lrwxrwxrwx 1 root root 36 2006-02-25 13:30 libqassistantclient.prl -> ../../../lib/libqassistantclient.prl lrwxrwxrwx 1 root root 25 2006-02-25 13:29 libqt-mt.prl -> ../../../lib/libqt-mt.prl lrwxrwxrwx 1 root root 30 2006-02-25 13:29 libqt-mt.so -> ../../../lib/libqt-mt.so.3.3.5 lrwxrwxrwx 1 root root 30 2006-02-25 13:29 libqt-mt.so.3 -> ../../../lib/libqt-mt.so.3.3.5 lrwxrwxrwx 1 root root 30 2006-02-25 13:29 libqt-mt.so.3.3 -> ../../../lib/libqt-mt.so.3.3.5 lrwxrwxrwx 1 root root 23 2006-02-25 13:29 libqui.prl -> ../../../lib/libqui.prl lrwxrwxrwx 1 root root 28 2006-02-25 13:29 libqui.so -> ../../../lib/libqui.so.1.0.0 lrwxrwxrwx 1 root root 28 2006-02-25 13:29 libqui.so.1 -> ../../../lib/libqui.so.1.0.0 lrwxrwxrwx 1 root root 28 2006-02-25 13:29 libqui.so.1.0 -> ../../../lib/libqui.so.1.0.0 [EMAIL PROTECTED]:/usr/share/qt3>ls -l bin/ insgesamt 0 lrwxrwxrwx 1 root root 25 2006-02-25 13:29 lrelease -> ../../../bin/lrelease-qt3 lrwxrwxrwx 1 root root 24 2006-02-25 13:29 lupdate -> ../../../bin/lupdate-qt3 lrwxrwxrwx 1 root root 20 2006-02-25 13:29 moc -> ../../../bin/moc-qt3 lrwxrwxrwx 1 root root 19 2006-02-25 13:29 qembed -> ../../../bin/qembed lrwxrwxrwx 1 root root 22 2006-02-25 13:29 qmake -> ../../../bin/qmake-qt3 lrwxrwxrwx 1 root root 20 2006-02-25 13:29 uic -> ../../../bin/uic-qt3 [EMAIL PROTECTED]:/usr/share/qt3>ls -l insgesamt 32 drwxr-xr-x 2 root root 4096 2006-02-25 13:29 bin drwxr-xr-x 4 root root 4096 2004-02-13 03:55 doc lrwxrwxrwx 1 root root 17 2006-02-25 13:29 include -> ../../include/qt3 drwxr-xr-x 2 root root 4096 2006-02-25 13:30 lib drwxr-xr-x 61 root root 4096 2006-02-25 13:29 mkspecs drwxr-xr-x 2 root root 4096 2006-02-25 13:30 phrasebooks lrwxrwxrwx 1 root root 21 2006-02-25 13:29 plugins -> ../../lib/qt3/plugins drwxr-xr-x 2 root root 4096 2006-02-25 13:30 templates drwxr-xr-x 5 root root 4096 2005-09-16 18:21 tools drwxr-xr-x 2 root root 4096 2006-02-25 13:30 translations To give you an idea how Debian does that. This way you can safely set QTDIR to /usr/share/qt3 and Qt still finds includes, libs, plugins and so on. Andreas -- You will be imprisoned for contributing your time and skill to a bank robbery. _______________________________________________ PyKDE mailing list [email protected] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
