How do I compile QT with thread support

I am trying to install an Open GL screen saver “EulerTop-1.2” and I get the following error message when I run configure - “checking for perl… /usr/bin/perl
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!”

It appears to be installed -
vance@linux-i4xo:/> rpm -q qt3
qt3-3.3.8b-93.1.x86_64

but how does one enable thread support?
I have looked around the web but cannot find a solution.

Hi
You need to install qt3-devel, it should add -DQT_THREAD_SUPPORT in the
QT_CXXFLAGS


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.23-0.3-default
up 3 days 7:53, 2 users, load average: 3.72, 3.33, 3.04
GPU GeForce 8600 GTS Silent - Driver Version: 260.19.12

Hi
Since they are trying to keep KDE3 alive, I’ve built it as an rpm and
pushed it through to KDE:KDE3 repository…

But you can also find it here at the moment;
http://software.opensuse.org/search?q=EulerTop&baseproject=ALL&lang=en&exclude_debug=true


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.23-0.3-default
up 3 days 10:44, 3 users, load average: 0.10, 0.15, 0.16
GPU GeForce 8600 GTS Silent - Driver Version: 260.19.12

QT3-Development is installed plus everything else related to qt3 and qt4 that I could find. I am guessing something needs to be compiled with certain options set. By the way I am running KDE 4.3.5, note my signature.

2fry wrote:

>
> QT3-Development is installed plus everything else related to qt3 and qt4
> that I could find. I am guessing something needs to be compiled with
> certain options set. By the way I am running KDE 4.3.5, note my
> signature.
>
Your configure script says that it cannot find qt-mt which is part of qt3
/usr/lib/qt3/lib64/libqt-mt.so.3 (on my machine)
Can you check if that file is available on your machine?
If it is there it is not a question of a missing package but you have to
tell the configure script somehow where it shall look for the qt3 libraries.

…/configure --help should show you the options (they are of course different
for every software you want to compile).


openSUSE 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.5 | GeForce
9600 GT | 4GB Ram
openSUSE 11.3 64 bit | Intel Core2 Duo T9300@2.50GHz | KDE 4.5 | Quadro FX
3600M | 4GB Ram

Here is whats in my QT3 library directorys -
vance@localhost:/usr/lib/qt3/lib64> ls
libqassistantclient.a libqca.so.1.0.0 libqt-mt.so.3 libqui.so
libqassistantclient.prl libqt-mt.la libqt-mt.so.3.3 libqui.so.1
libqca.so.1 libqt-mt.prl libqt-mt.so.3.3.8 libqui.so.1.0
libqca.so.1.0 libqt-mt.so libqui.prl libqui.so.1.0.0
vance@localhost:/usr/lib/qt3/lib64>

vance@localhost:/usr/lib/qt3/lib> ls
libqassistantclient.a libqt-mt.so.3 libqui.so libqui.so.1.0.0
libqt-mt.la libqt-mt.so.3.3 libqui.so.1
libqt-mt.so libqt-mt.so.3.3.8 libqui.so.1.0
vance@localhost:/usr/lib/qt3/lib>

I have tried setting every path I can find to help the program find and included it in the configure command line but it continues to complain it can’t find it.

It is very late here now maybe I can give it a try to test compilation of
EulerTop-1.2 on my machine a try tomorrow evening and will report back.

Can you give me the exact link where you downloaded it.


openSUSE 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.5 | GeForce
9600 GT | 4GB Ram
openSUSE 11.3 64 bit | Intel Core2 Duo T9300@2.50GHz | KDE 4.5 | Quadro FX
3600M | 4GB Ram

Hi
I built it and pushed it out to the KDE3 repositories;
http://software.opensuse.org/search?q=EulerTop&baseproject=ALL&lang=en&exclude_filter=home%3A&exclude_debug=true
Have a look in the %build section to see the compile options;
https://build.opensuse.org/package/view_file?file=EulerTop.spec&package=EulerTop&project=KDE%3AKDE3&srcmd5=873d5ae59b01f28f24c15b377eeab38e


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.24-0.2-default
up 23:00, 3 users, load average: 0.04, 0.11, 0.09
GPU GeForce 8600 GTS Silent - Driver Version: 260.19.12

Thanks to malcolmlewis for compiling it in the obs so I will not further
look at it.


openSUSE 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.5 | GeForce
9600 GT | 4GB Ram
openSUSE 11.3 64 bit | Intel Core2 Duo T9300@2.50GHz | KDE 4.5 | Quadro FX
3600M | 4GB Ram

Thank You Malcolm Lewis! I had given up on compiling it myself. KPendulum now works again.

Hi
Your welcome, the real trick for those KDE3 applications is adding the kdelibs3-devel and then sourcing the common_options to setup the build environment. Since there are some users trying to keep KDE3 alive I built and pushed through for others :slight_smile: