You are not logged in.
I'm having a problem whereby qt cannot be found and all applications that use it fail to load.
I have installed qt, qt3 and qt4 so, missing packages cannot be the issue.
Issuing echo $QTDIR returns /opt/qt so the path is found, yet when I run any applications that depend on QT I get: ImportError: No module named qt
I noticed other threads with a similar problem but non of them have an answer that applies to me. Does anyone have any ideas?
I thought that posting here may be a better choice, since in a programming forum there should be people using python and if this is a known problem an answer will surely be at hand
Thanks in advance.
R.
Last edited by ralvez (2008-03-15 17:14:32)
Offline
Check your /etc/ld.so.conf make sure that it has /opt/qt/lib in there somewhere.
Offline
SiC,
Thanks for the reply. I would say it is :
/usr/X11R6/lib
# End of file
/opt/kde/lib
/opt/qt/lib
/opt/gnome/lib
/usr/lib/libfakeroot
any other ideas?
R.
Last edited by ralvez (2008-03-03 02:36:47)
Offline
I continue to investigate this issue with no success.
Anyone else having similar problems? I find difficult to believe I'm the only one since the problem seems to have spread in my systems, including my laptop and my main system.
It has to be some setting/package name that was changed or something...
Any help will be appreciated.
R
Offline
Hello!
Official qt package is qt 4.
I don't know where you found qt4 package ( from community??) but you should uninstall it.
$QTDIR is only used by qt3 now. You can see each qt3 variable in /etc/profile.d/qt3.sh.
What exactly do you want to build or do?
@+
Shaika-Dzari
http://www.4nakama.net
Offline
@Shaika-Dzari,
Thanks for your reply. Yes, I know that the "official" QT package is 4.
I have two programs, one that I wrote and Kodos (a nice tool for RegEx testing/coding). Both started to fail with the same error a few weeks ago.
Querying my system for info indicated that I have both QT3 and QT4 but in actual execution mode QT4 was not detected.
I just did something a few minutes ago that got things back to work !!
pacman -Sy pyqt pyqt3
After re-installing both of the packages things are back to normal ... interestingly enough, re-installing PyQT only, which given the error would seem the logical thing to do, did not solve the problem (??) I had to re-install both.
Thanks again for posting.
R.
Offline
Offline