You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Wednesday, May 5th 2004, 8:51am

Qt-mt not found

I tried to compile new KDE.
What i have now is a debian base system
I already install Xfree and openMitif, and openSSL and also Qt
and i tried to run ./qmake --version and it show my Qt version is 3.3.0

But what i come to compile kde 3.2 it shows Qt-mt not found
I have set LD_LIBRARY_PATH and ld.so.conf correctly.

Can anyone help me in my problem

e8johan

Beginner

Posts: 27

Location: Sweden

  • Send private message

2

Wednesday, May 5th 2004, 8:59am

RE: Qt-mt not found

It is probably a mixup of Qt with or withour multithreading and KDE expecting it to be the other way around.

3

Friday, May 14th 2004, 12:41am

I'm encountering the same problem.

I've compiled XFree86-4.4.0 and Qt-3.3.2 (twice even!) with no problems. Made sure I included "-thread" even. It is throwing the following error:

checking for Qt... configure: error: Qt (>= Qt 3.2) (library qt-mt) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
Make sure that you have compiled Qt with thread support!

Two things of interest here. One, config.log tells me the following:

/usr/lib/qt3/lib/libqt-mt.so: undefined reference to `FT_Stream_GetShort'
/usr/lib/qt3/lib/libqt-mt.so: undefined reference to `FT_Stream_ExitFrame'
/usr/lib/qt3/lib/libqt-mt.so: undefined reference to `FT_Stream_GetLong'
/usr/lib/qt3/lib/libqt-mt.so: undefined reference to `FT_Stream_Seek'
/usr/lib/qt3/lib/libqt-mt.so: undefined reference to `FT_Stream_EnterFrame'

which, ordinarily, I would assume to be a qt problem. However, when I run X and then log in, I get my old KDE (3.0.3) of course, but now its using the new Qt libraries!

4

Friday, May 14th 2004, 4:58am

Qt-mt not found....

same here...

Hille

Beginner

Posts: 4

Location: Paderborn

Occupation: Student

  • Send private message

5

Friday, May 14th 2004, 1:42pm

Hi,

FT_Stream could be something with the X font server.

I compiled QT 3.3.2 a few days ago with no problems here .
(slackware 9.1, XFree 4.3)

I remember you could give a path or set an option for any font config.
Perhaps you should check you config about this.

bye
hille

6

Friday, May 14th 2004, 2:38pm

I remember encountering some font errors. I also noted that all my Adobe (Helvetica, Times, etc) fonts were gone.

Did you compile XFree86 or are you just using the one that came with Slackware?

7

Saturday, May 15th 2004, 8:58am

Qt-mt not found

I compile the latest Xfree86 on my machine and i works without problem.

Hille

Beginner

Posts: 4

Location: Paderborn

Occupation: Student

  • Send private message

8

Saturday, May 15th 2004, 11:03am

Hi,

I am using the XFree 4.3 + tools coming directly from Slackware 9.1.

I need to recompile QT, because my old packages doesn't support STL. The result
was a *much* better font support than the old QT package. Now KDE looks much greater.

I don't know what was wrong with the old package, but my text are looking badly before.

My configure options were only threads and STL support.

bye

Hille

Beginner

Posts: 4

Location: Paderborn

Occupation: Student

  • Send private message

9

Monday, May 17th 2004, 7:38am

Hi again,

i found this in the change document for QT 3.3.2

------- start

- QFont
Avoids badly scaled fonts, and prefers exact matches.
Made sure symbol fonts get loaded correctly.
Made it possible to load Latin fonts that do not contain the
Euro symbol.
Fixed glyph width bug observed with some Khmer fonts.
Fixed crash with misconfigured Xft.
Fixed problem with font selection for Xft2 when having Latin
text with non-Latin locale.
Respects custom dpi settings for Xft.
Does not use Xft if we have FreeType1 but no XRender.
Fixed memory leak in the font engine when drawing transformed
fonts.

------- end

it seems that trolltech fixes some bugs around the font support. This could be the
reason why KDE now looks much better ;-)

bye

10

Wednesday, June 9th 2004, 9:33pm

Found the problem

I had this problem as well, and I found that if you get this, it is that you have (or don't have at all) an older version of FreeType. Even FreeType 2.1.3 isn't sufficient, as my stock RedHat 9 box came with it. I found that everthing compiled and linked when I
downloaded 2.1.8.

Here's what I did to make the Qt compile work:

1. Downloaded FreeType 2.1.8 from http://freetype.org
2. unpacked it, cd'ed into the dir, and did
./configure --prefix=/usr
NOTE: don't forget to use the prefix part here, as it will install in /usr/local by default,
and that's going to keep the error messages showing up, because RH9 installs it in
/usr
3. sudo make install
4. cd /usr/X11R6/lib
5. cp /usr/lib/libfreetype.so.6.3.6 .
6. ln -s libfreetype.so.6.3.6 libfreetype.so
7. ln -s ln -s libfreetype.so.6.3.6 libfreetype.so.6
8. cd $QTDIR
9. make


Cheers,
reaper.

This post has been edited 1 times, last edit by "bit_reaper" (Jun 9th 2004, 9:56pm)


anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

11

Wednesday, June 9th 2004, 10:37pm

RE: Qt-mt not found

Quoted

Originally posted by toks725
I tried to compile new KDE.
What i have now is a debian base system
I already install Xfree and openMitif, and openSSL and also Qt
and i tried to run ./qmake --version and it show my Qt version is 3.3.0


Did you install Qt packages or did you compile yourself.
If you installed packages, did you install libqt3-mt and libqt3-mt-dev?

Cheers,
_
Qt/KDE Developer
Debian User