Trolltech Qt4 v4.3.2 Library Installation?

Asked by coljohnhannibalsmith

I have installed Gusty 7.10 AMD64 on an Acer 5201WLMi Laptop and have recently downloaded and installed the Trolltech Qt4 C++ Tools & Libraries through the Synaptic Package Manager.

I have been trying to compile Source for Camstream and whenever I execute "./configure," I receive an error stating that the package cannot be compiled because my compiler is not multithreaded or is missnamed.

It occurs to me that it's possible that I don't have the correct $PATH to the libraries set; the source cannot be compiled for an AMD64 platform; is trying to call the wrong libary, which will need to be corrected in the source; or I really don't have the correct libraries installed, which I doubt, since I installed every library I could find labeled either "Qt" or "Qt4," which was probably overkill.

How do I verify that the Qt4 libraries are installed, their location and that they can actually be called from Terminal to compile a multithreaded application; perhaps by attempting to compile a "known good" multithreaded application.

I realize this is an advanced topic and any assistance will be appreciated.

Thanks, John

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Cesare Tirabassi (norsetto) said :
#1

The Camstream 0.27 or snapshot make files seem pretty broken to me, nothing to do with the Qt libraries or paths.
Even if you pass them the right path with the --with-qt option it will still fail as there is and hardcoded check for $path/include/qglobal.h
You could try to compile this is by patching the configure scripts:

1) make sure you have the dev library installed (sudo apt-get install --reinstall libqt4-dev)
2) change all instances of /include/qglobal.h to /include/qt4/Qt/qglobal.h in all configure scripts
(in alternative you can fool the script by a "touch /usr/include/qglobal.h", but remove it after compilation).
3) run configure with the --with-qt=/usr switch

Can you help with this problem?

Provide an answer of your own, or ask coljohnhannibalsmith for more information if necessary.

To post a message you must log in.