On ds, 2008-08-02 at 12:21 -0300, Francisco Tufró wrote:
> By the time i solved it doing:
> cd /opt/local/include/
> sudo ln -s qt4-mac/* ./

Humm, should try to fix this in scons/sconstools/qt4.py
I've checked my mac partition and I see that I'm using macports' qt4. 
But here I have /opt/local/include/qt4/{QtCore,QTGui,etc.} and not
qt4-mac/ as you.
It is probably due to an older version of my macport qt (4.3.3_1 here)

So Francisco, please undo the link and try this simple patch (or tweak
it as necessary) and commit if works. This should be easy to solve, and
should be solved. Thanks.

P


Index: CLAM/scons/sconstools/qt4.py
===================================================================
--- CLAM/scons/sconstools/qt4.py	(revision 11784)
+++ CLAM/scons/sconstools/qt4.py	(working copy)
@@ -502,6 +502,8 @@
 # port qt4-mac:
 			self.AppendUnique(CPPPATH=[os.path.join("$QTDIR","include", "qt4")])
 			self.AppendUnique(CPPPATH=[os.path.join("$QTDIR","include", "qt4", module)])
+			self.AppendUnique(CPPPATH=[os.path.join("$QTDIR","include", "qt4-mac")])
+			self.AppendUnique(CPPPATH=[os.path.join("$QTDIR","include", "qt4-mac", module)])
 			if module in staticModules :
 				self.AppendUnique(LIBS=[module+debugSuffix]) # TODO: Add the debug suffix
 				self.AppendUnique(LIBPATH=[os.path.join("$QTDIR","lib")])
_______________________________________________
Clam-devel mailing list
[email protected]
https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel

Reply via email to