Thought of adding my few cents...
* I had Qt4 and python-qt4 installed in my laptop, along with
qt3-designer and qt3-assistant. Am also a n00b to PyQt and Qt, just
started things after foss.in 2006. As per Pradeepto's advice I am
working on the Qt tutorials in the qt-assistant, where I try to write
the same code in PyQt as am a bit familiar with Python.
It happened that Pradeepto looked into one of my codes and told me that
I was using qt3 and pyqt3, and asked me to change to qt4 and pyqt4. The
thing was, I was just working on the examples for the assistant which
corresponded to Qt3. And hence i was using "import qt", and it worked
fine for me. I have python-qt4 installed. Looking at the code, Pradeepto
asked me to get the source and build qt4, as qt4-assistant wasn't there
in the Ubuntu repos. So, yesterday I did a source build of Qt4.
* The problem I face now is, I have built the qt4 in my home directory.
First, i ran make install, which created /usr/local/Trolltech/Qt4. When
i tried to run assistant or designer for above path (./bin), the fonts
weren't rendered properly, rather they were jagged. Then i checked the
same from the place where i had built qt4, which rendered the fonts
properly but the links were showing errors.
So, I removed the /usr/local/Trolltech dir and added a symlink for the
qt4/docs which the assistant was looking for, in /usr/share/doc/qt4
(something like that). Now, am able to get assistant and designer fine.
But, now if i add/set the path where i built qt4, to $PATH, $QTDIR and
$LD_LIBRARY_PATH, and again run assistant or designer, i get jaggered
fonts in them.
I doubt that when i run it from the place where i built it, which is a
folder within my HOME, then the fonts get rendered properly. But, if i
set the PATHs as stated above and try to run it, then the fonts are
disfigured. Is this anyway concerned with the locale settings ? Where am
I going wrong ? Any idea ?
--
With Regards
Parthan (TechnoFreak)
. A Proud GNU/Linux User and Ubuntero
.0.
..0 [Web] https://wiki.ubuntu.com/Parthan
000 [Blog]http://technofreakatchennai.wordpress.com
--
http://mm.glug-bom.org/mailman/listinfo/linuxers