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

Friday, February 6th 2004, 5:49am

qt-x11-free-3.2.3 compilation problem

Hello people!

I am installing KDE 3.2, and, in this moment, I have installed gcc 3.3.1 in native mode.

My problem is this: how I need install qt 3.2.3?. I am reading in the KDE 3.2 section and I not find it :shock: ¿Is how in KDE 3.1.4?:

./configure -system-zlib -qt-gif -system-libpng \
-system-libjpeg -plugin-imgfmt-mng -thread -no-stl \
-no-xinerama -no-g++-exceptions

Using this, I have this problem:

make[4]: Entering directory `/usr/local/qt-x11-free-3.2.3/plugins/src/imageformats/jpeg'
g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -I/usr/local/qt-x11-free-3.2.3/mkspecs/linux-g++ -I. -I/usr/X11R6/include/freetype2 -I../../../../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/main.o main.cpp
In file included from main.cpp:11:
../../../../src/kernel/qjpegio.cpp:59:21: jpeglib.h: No such file or directory

Thanks for all

138

Trainee

Posts: 81

Location: Helsinki, Finland

  • Send private message

2

Friday, February 6th 2004, 3:21pm

Hi,

>./../../../src/kernel/qjpegio.cpp:59:21: jpeglib.h: No such file or directory

I think that you need libjpeg-devel. Your distro should have it, try installing it and try to compile qt again.
If that doesn't work, try to compile qt without the -system-libjpeg.
Like this:

./configure -system-zlib -qt-gif -system-libpng \
-plugin-imgfmt-mng -thread -no-stl \
-no-xinerama -no-g++-exceptions
Siili teki maalin.

seb

Professional

Posts: 622

Location: Sydney

Occupation: Student

  • Send private message

3

Saturday, February 7th 2004, 1:31am

Please don't post the same question four times, Altair.

4

Saturday, February 7th 2004, 8:52am

Problem solved

Hi again, people;

first of all, sorry for the multiple post, by an error in my conection, I send the post four :shock: times !!

Good, I was searching and searching in those Nets of God and I found the problem is about freetype2, the antialiasing.

Solution: recompile qt with -no-xft, and now run.

About libjpeg, I am searching in the net about it. I only found jpeg-6b, what is the version installed in my computer. Another place for more modern versions? :?

Thanks

138

Trainee

Posts: 81

Location: Helsinki, Finland

  • Send private message

5

Saturday, February 7th 2004, 11:48am

Hello,
as far as I know, jpeg-6b is the most modern version.
Siili teki maalin.