[EMAIL PROTECTED] wrote:
> [EMAIL PROTECTED] wrote:
>> Hi,
>>
>> I am trying to build OpenSG 1.8 with QT4, i am using the following
>> configuration options
>>
>> --enable-qt4 --with-qt4includedir=/usr/include/qt4/
>> --with-qt4libdir=/usr/lib
>>
>> but it will not build as i am getting error messages concerning not finding
>> files in QT, QTGui, etc. I had no problem building QT3. Is there some thing
>> i have missed any pointers would be great.
>>
>> Thanks
>>
>> Ronan
>
>
> Hi,
>
> If you just wanna build QT4 then you'll need to use
> --with-add-incdir=DIR{:DIR}* in your configure line to pass in all of
> the dirs in /usr/include/qt4/ (on Ubuntu anyway)
>
> If you wanted to build qt3 and qt4, then you'll need to patch the QT4
> files with the correct include path, as shown in the attached file.
>
> I'll get around to submitting some patches to get this fixed shortly.
>
>
> Dave
>
Tidied the patch up, since I copied it from a deb diff, so was a patch
inside a patch.
Dave
--
David Morris
Research Assistant
School of Computing, Mathematics and Information Sciences,
University of Brighton
ext 2917 room w108
IRC : davemorris on irc.freenode.net
Jabber : [EMAIL PROTECTED]
@@ -0,0 +1,29 @@
diff -Nur opensg-1.8.0/Source/WindowSystem/QT4/OSGQ4SceneGraphView_qt.cpp opensg-1.8.0.new/Source/WindowSystem/QT4/OSGQ4SceneGraphView_qt.cpp
--- opensg-1.8.0/Source/WindowSystem/QT4/OSGQ4SceneGraphView_qt.cpp 2008-01-25 20:31:25.000000000 +0000++++ opensg-1.8.0.new/Source/WindowSystem/QT4/OSGQ4SceneGraphView_qt.cpp 2008-01-25 21:01:30.000000000 +0000
@@ -47,16 +47,16 @@
#include <OSGFieldContainerFactory.h>
#include <OSGThreadManager.h>
-#include <qsplitter.h>
-#include <qlayout.h>
-#include <q3combobox.h>
-#include <qlabel.h>
-#include <qlineedit.h>
-#include <qpushbutton.h>
-#include <qstring.h>
+#include <Qt/qsplitter.h>
+#include <Qt/qlayout.h>
+#include <Qt3Support/q3combobox.h>
+#include <Qt/qlabel.h>
+#include <Qt/qlineedit.h>
+#include <Qt/qpushbutton.h>
+#include <Qt/qstring.h>
//Added by qt3to4:
-#include <Q3VBoxLayout>
-#include <Q3HBoxLayout>
+#include <Qt3Support/Q3VBoxLayout>
+#include <Qt3Support/Q3HBoxLayout>
OSG_USING_NAMESPACE
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users