Trolltech Home | Qt-jambi-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-jambi-interest Archive, May 2007
what version of Qt is required?


Message 1 in thread

I'm trying to build QtJambi from source, because the binaries don't work on
my system.  I have an older RHEL3 box I'm testing on, but it doesn't have
Xinerama support, so the Qt binaries that come with QtJambi binary version
have missing dependencies.

So I downloaded Qt 4.3.0-rc1, built and installed in
/usr/local/Trolltech/...

Then I tried to follow the build instructions in QtJambi, bu the tools don't
build.  Specifically, juic tries to include headers that look like they come
from the Qt uic directory (headers which are not installed).  Is there a
particular version of Qt that is supposed to be used, or missing steps in
the install instructions?

make_real[1]: Entering directory `/workplace2/vgough/incoming/qtjambi-
src-gpl-1.0.0-beta2/juic'
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_UIC_JAVA_GENERATOR -DQT_UIC
-DQT_NO_DEBUG -DQT_XML_LIB -DQT_CORE_LIB -DQT_SHARED
-I/usr/local/Trolltech/Qt-4.3.0rc1/mkspecs/linux-g++ -I.
-I/usr/local/Trolltech/Qt-4.3.0rc1/include/QtCore -I/usr/local/Trolltech/Qt-
4.3.0rc1/include/QtCore -I/usr/local/Trolltech/Qt-4.3.0rc1/include/QtXml
-I/usr/local/Trolltech/Qt-4.3.0rc1/include/QtXml -I/usr/local/Trolltech/Qt-
4.3.0rc1/include -I. -I. -o javawritedeclaration.o javawritedeclaration.cpp

In file included from javawritedeclaration.cpp:25:
javawritedeclaration.h:28:24: treewalker.h: No such file or directory



regards,
Valient

Message 2 in thread

Valient Gough wrote:
> Then I tried to follow the build instructions in QtJambi, bu the tools 
> don't build.  Specifically, juic tries to include headers that look 
> like they come from the Qt uic directory (headers which are not 
> installed).  Is there a particular version of Qt that is supposed to 
> be used, or missing steps in the install instructions?
>
> make_real[1]: Entering directory 
> `/workplace2/vgough/incoming/qtjambi-src-gpl-1.0.0-beta2/juic'
> g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_UIC_JAVA_GENERATOR 
> -DQT_UIC -DQT_NO_DEBUG -DQT_XML_LIB -DQT_CORE_LIB -DQT_SHARED 
> -I/usr/local/Trolltech/Qt- 4.3.0rc1/mkspecs/linux-g++ -I. 
> -I/usr/local/Trolltech/Qt-4.3.0rc1/include/QtCore 
> -I/usr/local/Trolltech/Qt-4.3.0rc1/include/QtCore 
> -I/usr/local/Trolltech/Qt-4.3.0rc1/include/QtXml 
> -I/usr/local/Trolltech/Qt-4.3.0rc1/include/QtXml 
> -I/usr/local/Trolltech/Qt- 4.3.0rc1/include -I. -I. -o 
> javawritedeclaration.o javawritedeclaration.cpp
>
> In file included from javawritedeclaration.cpp:25:
> javawritedeclaration.h:28:24: treewalker.h: No such file or directory

Hi, Valient.

This is an unfortunate problem with the current Qt Jambi source package. 
It will be fixed for the next release, but for now the Qt source package 
needs to be available for building Qt Jambi. The easiest way to achieve 
this would probably be to build Qt in its source directory, e.g. by 
configuring the install prefix to point to the source directory. Then Qt 
Jambi should be able to pick up the correct sources.

Other than that, Qt 4.3.0rc1 should work fine as the Qt version. Qt 
Jambi does require symbols introduced in Qt 4.3.

-- Eskil