I resolved my problem with Qt4. It is a MacOSX specific problem when you use CMake-gui. In fact, CMake-gui doesn't look in the PATH variable written in the ~/.profile but in ~/.MacOSX/environment.plist So I had to create this file and add a PATH String inside with the Property List Editor.
The content of this file is for me: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>PATH</key> <string>/usr/local/Trolltech/Qt-4.4.3/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin</string> </dict> </plist> Is it possible to suppress the X11 support as Carbon and Cocoa? Have I to modify the value in CMake for that? For example : COCOA_LIBRARY, CARBON_LIBRARY, wxWidgets_CONFIG_EXECUTABLE, X11_ICE_LIB, ... On Tue, Jan 6, 2009 at 1:04 PM, Arnaud BARRÉ <[email protected]> wrote: > Hello, > > I'm trying to install OSG (2.7.8) with Qt4 (4.4.3) support. > After reading "Mac OS X 10.5 Leopard Notes" I decide to install > CMake-2.6-patch 3 RC-5. Qt4 is already installed and is working as I > use it in my project. > > I have no problem with CMake to configure OSG (I used "Unix makefiles" > and "Used defaults" in the configure setup). Before the generation of > the Makefiles I decided to check the variables and especially the QT > variables. All the QT variables are NOT_FOUND. > > I have in my ~/.profile the following lines: > export PATH=usr/local/Trolltech/Qt-4.4.3//bin:$PATH > export QTDIR=usr/local/Trolltech/Qt-4.4.3 > > So, I assume that Qt4 is known from the system. Am I wrong? Someone > can explain me where is the problem? > > Moreover, I want to use DCMTK. It will be installed in > /usr/local/dicom/. Do you know if the problem will be the same? > > Finally, as I want to use OSG only with Qt4 (so, I don't want > X11/Native/wxWidget/...) it seems that a unix library is sufficient. > How can I build this unix library instead of a MacOS framework ? > > Regards, > > Arnaud Barré > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

