Hey Carsten

So I edit the CMake file and re-enabled QT4

here is the error that I get

Linking CXX shared library ../../bin/libOSGWindowCoreGLD.dylib
[ 67%] Built target OSGWindowCoreGL
[ 67%] Generating moc_OSGQ4GLWidget_qt.cpp
Scanning dependencies of target OSGWindowQT4
[ 67%] Building CXX object
Build/OSGWindowQT4/CMakeFiles/OSGWindowQT4.dir/OSGQ4GLWidget_qt.cpp.o
[ 67%] Building CXX object
Build/OSGWindowQT4/CMakeFiles/OSGWindowQT4.dir/OSGQT4Window.cpp.o
[ 67%] Building CXX object
Build/OSGGroup/CMakeFiles/OSGGroup.dir/Misc/OSGDoubleTransformBase.cpp.o
/Users/fmilo/Documents/workspace/OpenSg/Source/WindowSystem/QT4/OSGQT4Window.cpp:53:32:
error: QtGui/qx11info_x11.h: No such file or directory
/Users/fmilo/Documents/workspace/OpenSg/Source/WindowSystem/QT4/OSGQT4Window.cpp:54:20:
error: GL/glx.h: No such file or directory
/Users/fmilo/Documents/workspace/OpenSg/Source/WindowSystem/QT4/OSGQT4Window.cpp:
In member function ‘virtual void
OSG::QT4Window::init(boost::function<void ()()>)’:
/Users/fmilo/Documents/workspace/OpenSg/Source/WindowSystem/QT4/OSGQT4Window.cpp:141:
error: ‘XVisualInfo’ was not declared in this scope
/Users/fmilo/Documents/workspace/OpenSg/Source/WindowSystem/QT4/OSGQT4Window.cpp:141:
error: ‘vi’ was not declared in this scope
/Users/fmilo/Documents/workspace/OpenSg/Source/WindowSystem/QT4/OSGQT4Window.cpp:144:
error: ‘XOpenDisplay’ was not declared in this scope
/Users/fmilo/Documents/workspace/OpenSg/Source/WindowSystem/QT4/OSGQT4Window.cpp:144:
error: ‘setDisplay’ was not declared in this scope
/Users/fmilo/Documents/workspace/OpenSg/Source/WindowSystem/QT4/OSGQT4Window.cpp:145:
error: ‘setWindow’ was not declared in this scope
/Users/fmilo/Documents/workspace/OpenSg/Source/WindowSystem/QT4/OSGQT4Window.cpp:148:
error: expected `;' before ‘visInfo’
/Users/fmilo/Documents/workspace/OpenSg/Source/WindowSystem/QT4/OSGQT4Window.cpp:149:
error: ‘visInfo’ was not declared in this scope
/Users/fmilo/Documents/workspace/OpenSg/Source/WindowSystem/QT4/OSGQT4Window.cpp:151:
error: expected type-specifier before ‘Visual’
/Users/fmilo/Documents/workspace/OpenSg/Source/WindowSystem/QT4/OSGQT4Window.cpp:151:
error: expected `>' before ‘Visual’
/Users/fmilo/Documents/workspace/OpenSg/Source/WindowSystem/QT4/OSGQT4Window.cpp:151:
error: expected `(' before ‘Visual’
/Users/fmilo/Documents/workspace/OpenSg/Source/WindowSystem/QT4/OSGQT4Window.cpp:151:
error: ‘Visual’ was not declared in this scope
/Users/fmilo/Documents/workspace/OpenSg/Source/WindowSystem/QT4/OSGQT4Window.cpp:151:
error: expected primary-expression before ‘>’ token
/Users/fmilo/Documents/workspace/OpenSg/Source/WindowSystem/QT4/OSGQT4Window.cpp:151:
error: incomplete type ‘QX11Info’ used in nested name specifier
/Users/fmilo/Documents/workspace/OpenSg/Source/WindowSystem/QT4/OSGQT4Window.cpp:153:
error: ‘getDisplay’ was not declared in this scope
/Users/fmilo/Documents/workspace/OpenSg/Source/WindowSystem/QT4/OSGQT4Window.cpp:153:
error: ‘VisualIDMask’ was not declared in this scope
/Users/fmilo/Documents/workspace/OpenSg/Source/WindowSystem/QT4/OSGQT4Window.cpp:153:
error: ‘XGetVisualInfo’ was not declared in this scope
/Users/fmilo/Documents/workspace/OpenSg/Source/WindowSystem/QT4/OSGQT4Window.cpp:159:
error: ‘GLX_USE_GL’ was not declared in this scope
/Users/fmilo/Documents/workspace/OpenSg/Source/WindowSystem/QT4/OSGQT4Window.cpp:160:
error: ‘glXGetConfig’ was not declared in this scope
/Users/fmilo/Documents/workspace/OpenSg/Source/WindowSystem/QT4/OSGQT4Window.cpp:167:
error: ‘None’ was not declared in this scope
/Users/fmilo/Documents/workspace/OpenSg/Source/WindowSystem/QT4/OSGQT4Window.cpp:167:
error: ‘glXCreateContext’ was not declared in this scope
make[2]: *** [Build/OSGWindowQT4/CMakeFiles/OSGWindowQT4.dir/OSGQT4Window.cpp.o]
Error 1
make[1]: *** [Build/OSGWindowQT4/CMakeFiles/OSGWindowQT4.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....



I just copy and pasted the output, let me know if there is a better
way to report Error Logs

I will try to hack a bit into this for fun :)
I guess one of the problem is that QtGui/qx11info_x11.h is not valid anymore.

I am using Qt 4.5.1 builded from scratch from the tar.gz

Cheers

Fabrizio
--------------------------
Luck favors the prepared mind. (Pasteur)

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to