Re: [osg-users] Does OSG still build against Qt 4.8.7?
Hi Christian, CORRECTION: in that specific case there is only Qt4 installed on the machine. In this case OSG won't even configure properly. OSG got installed "properly". I mean that the dependent project which I was trying to build didn't configure properly, simply because the libosgqt library wasn't existing. Marko ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Does OSG still build against Qt 4.8.7?
Hi Christian, On 23.03.2016 08:54, Christian Schulte wrote: Hi Marko, sorry, but I'm not familiar at all with the Macport's portfile system, so I may not bee of big help for you... You say that only Qt4 is installed so what do you mean by Qt5 variant works ? in that specific case there is only Qt4 installed on the machine. In this case OSG won't even configure properly. However on another installation - which has Qt5 installed but no Qt4 - OSG does build successfully with Qt-support, then Qt5-support, of course. :-) The error excerpt you show is after the build process as he is already looking for the built libraries, do you have any excerpt of the build process of Openscenegraph ? Yes, I can organise that in a week or so. Greets, Marko ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Does OSG still build against Qt 4.8.7?
Hi Marko, sorry, but I'm not familiar at all with the Macport's portfile system, so I may not bee of big help for you... You say that only Qt4 is installed so what do you mean by Qt5 variant works ? The error excerpt you show is after the build process as he is already looking for the built libraries, do you have any excerpt of the build process of Openscenegraph ? Christian Le 23/03/2016 00:27, Marko Käning a écrit : Hi, I tried again. Here is an excerpt of my MacPorts’ Portfile: --- configure.args-append -DOSG_CONFIG_HAS_BEEN_RUN_BEFORE=YES \ -DOSG_DEFAULT_IMAGE_PLUGIN_FOR_OSX=imageio \ -DOSG_WINDOWING_SYSTEM=Cocoa \ -DOSG_USE_QT:BOOL=OFF # disable unwanted optional dependencies to avoid opportunistic configuration # before cmake 2.8 this required patching CMakeLists.txt # TODO: add some of these back either directly or as variants after testing configure.args-append -DCMAKE_DISABLE_FIND_PACKAGE_Inventor=1 \ -DCMAKE_DISABLE_FIND_PACKAGE_COLLADA=1 \ -DCMAKE_DISABLE_FIND_PACKAGE_FBX=1 \ -DCMAKE_DISABLE_FIND_PACKAGE_Xine=1 \ -DCMAKE_DISABLE_FIND_PACKAGE_OpenVRML=1 \ -DCMAKE_DISABLE_FIND_PACKAGE_Performer=1 \ -DCMAKE_DISABLE_FIND_PACKAGE_GTA=1 \ -DCMAKE_DISABLE_FIND_PACKAGE_LibVNCServer=1 \ -DCMAKE_DISABLE_FIND_PACKAGE_OurDCMTK=1 \ -DCMAKE_DISABLE_FIND_PACKAGE_SDL2=1 \ -DCMAKE_DISABLE_FIND_PACKAGE_SDL=1 \ -DCMAKE_DISABLE_FIND_PACKAGE_GtkGl=1 \ -DCMAKE_DISABLE_FIND_PACKAGE_DirectInput=1 \ -DCMAKE_DISABLE_FIND_PACKAGE_NVTT=1 \ -DCMAKE_DISABLE_FIND_PACKAGE_Asio=1 \ -DCMAKE_DISABLE_FIND_PACKAGE_ZeroConf=1 \ -DCMAKE_DISABLE_FIND_PACKAGE_LIBLAS=1 variant qt4 description "with Qt4 support" { configure.args-delete -DOSG_USE_QT:BOOL=OFF configure.args-append -DOSG_USE_QT:BOOL=ON -DDESIRED_QT_VERSION=4 } variant qt5 description "with Qt5 support" { configure.args-delete -DOSG_USE_QT:BOOL=OFF configure.args-append -DOSG_USE_QT:BOOL=ON -DDESIRED_QT_VERSION=5 } --- Variant ‘qt5’ works, but variant ‘qt4’ fails to do so: --- -- Found osgDB: /opt/local/lib/libosgDB.dylib -- Found osgGA: /opt/local/lib/libosgGA.dylib -- Found osgManipulator: /opt/local/lib/libosgManipulator.dylib -- Could NOT find osgQt (missing: OSGQT_LIBRARY OSGQT_INCLUDE_DIR) -- Found osgText: /opt/local/lib/libosgText.dylib -- Found osgUtil: /opt/local/lib/libosgUtil.dylib -- Found osgViewer: /opt/local/lib/libosgViewer.dylib -- Found osgWidget: /opt/local/lib/libosgWidget.dylib -- Found osg: /opt/local/lib/libosg.dylib -- Found OpenThreads: /opt/local/lib/libOpenThreads.dylib CMake Error at /opt/local/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message): Could NOT find OpenSceneGraph (missing: OPENSCENEGRAPH_INCLUDE_DIR OSGQT_FOUND) (found suitable version "3.4.0", minimum required is "3.4.0") Call Stack (most recent call first): /opt/local/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE) /opt/local/share/cmake-3.5/Modules/FindOpenSceneGraph.cmake:234 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:38 (find_package) -- Configuring incomplete, errors occurred! --- What am I missing? Why isn't the libosgQt library built in case of Qt4? Greets, Marko ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- SCHULTE Christian Ingénieur Recherche Responsable du Laboratoire de Simulation ONERA - DCSD/PSEV Département Commande des Systèmes et Dynamique du Vol ONERA - Centre de Salon de Provence BA 701 13661 SALON AIR Cedex - France Tel :04.90.17.01.45 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Does OSG still build against Qt 4.8.7?
Hi, I tried again. Here is an excerpt of my MacPorts’ Portfile: --- configure.args-append -DOSG_CONFIG_HAS_BEEN_RUN_BEFORE=YES \ -DOSG_DEFAULT_IMAGE_PLUGIN_FOR_OSX=imageio \ -DOSG_WINDOWING_SYSTEM=Cocoa \ -DOSG_USE_QT:BOOL=OFF # disable unwanted optional dependencies to avoid opportunistic configuration # before cmake 2.8 this required patching CMakeLists.txt # TODO: add some of these back either directly or as variants after testing configure.args-append -DCMAKE_DISABLE_FIND_PACKAGE_Inventor=1 \ -DCMAKE_DISABLE_FIND_PACKAGE_COLLADA=1 \ -DCMAKE_DISABLE_FIND_PACKAGE_FBX=1 \ -DCMAKE_DISABLE_FIND_PACKAGE_Xine=1 \ -DCMAKE_DISABLE_FIND_PACKAGE_OpenVRML=1 \ -DCMAKE_DISABLE_FIND_PACKAGE_Performer=1 \ -DCMAKE_DISABLE_FIND_PACKAGE_GTA=1 \ -DCMAKE_DISABLE_FIND_PACKAGE_LibVNCServer=1 \ -DCMAKE_DISABLE_FIND_PACKAGE_OurDCMTK=1 \ -DCMAKE_DISABLE_FIND_PACKAGE_SDL2=1 \ -DCMAKE_DISABLE_FIND_PACKAGE_SDL=1 \ -DCMAKE_DISABLE_FIND_PACKAGE_GtkGl=1 \ -DCMAKE_DISABLE_FIND_PACKAGE_DirectInput=1 \ -DCMAKE_DISABLE_FIND_PACKAGE_NVTT=1 \ -DCMAKE_DISABLE_FIND_PACKAGE_Asio=1 \ -DCMAKE_DISABLE_FIND_PACKAGE_ZeroConf=1 \ -DCMAKE_DISABLE_FIND_PACKAGE_LIBLAS=1 variant qt4 description "with Qt4 support" { configure.args-delete -DOSG_USE_QT:BOOL=OFF configure.args-append -DOSG_USE_QT:BOOL=ON -DDESIRED_QT_VERSION=4 } variant qt5 description "with Qt5 support" { configure.args-delete -DOSG_USE_QT:BOOL=OFF configure.args-append -DOSG_USE_QT:BOOL=ON -DDESIRED_QT_VERSION=5 } --- Variant ‘qt5’ works, but variant ‘qt4’ fails to do so: --- -- Found osgDB: /opt/local/lib/libosgDB.dylib -- Found osgGA: /opt/local/lib/libosgGA.dylib -- Found osgManipulator: /opt/local/lib/libosgManipulator.dylib -- Could NOT find osgQt (missing: OSGQT_LIBRARY OSGQT_INCLUDE_DIR) -- Found osgText: /opt/local/lib/libosgText.dylib -- Found osgUtil: /opt/local/lib/libosgUtil.dylib -- Found osgViewer: /opt/local/lib/libosgViewer.dylib -- Found osgWidget: /opt/local/lib/libosgWidget.dylib -- Found osg: /opt/local/lib/libosg.dylib -- Found OpenThreads: /opt/local/lib/libOpenThreads.dylib CMake Error at /opt/local/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message): Could NOT find OpenSceneGraph (missing: OPENSCENEGRAPH_INCLUDE_DIR OSGQT_FOUND) (found suitable version "3.4.0", minimum required is "3.4.0") Call Stack (most recent call first): /opt/local/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE) /opt/local/share/cmake-3.5/Modules/FindOpenSceneGraph.cmake:234 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:38 (find_package) -- Configuring incomplete, errors occurred! --- What am I missing? Why isn't the libosgQt library built in case of Qt4? Greets, Marko ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Does OSG still build against Qt 4.8.7?
Hi Christian, On 22 Mar 2016, at 18:10 , Christian Schultewrote: > it's a little bit late... ;-) > You are right I meant Qt 4.8.7, not 8.4.0 (wonder what it would look like > this version of Qt:-D )! ;-) > The main problem I think is that you have probably both version installed on > your machine and the first found by CMake is the Qt5. Look which version of > qmake is found in the cmake-gui (or ccmake). That's the starting point for > the Qt choice of CMake. Ah, no, I have only qt4 installed on that machine. Greets, Marko ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Does OSG still build against Qt 4.8.7?
Sorry Marko, it's a little bit late... ;-) You are right I meant Qt 4.8.7, not 8.4.0 (wonder what it would look like this version of Qt:-D )! The main problem I think is that you have probably both version installed on your machine and the first found by CMake is the Qt5. Look which version of qmake is found in the cmake-gui (or ccmake). That's the starting point for the Qt choice of CMake. Regards, Christian Le 22/03/2016 16:34, Marko Käning a écrit : Hi Christian, On 22 Mar 2016, at 16:23 , Christian Schultewrote: I confirm you that OSG 3.4.0 still builds with QT 8.4.0 on Windows Seven and on Linux CentOS 6.7. you probably mean Qt 4.8.0?! I wonder whether -DOSG_USE_QT:BOOL=ON -DDESIRED_QT_VERSION=4 is actually enough to get it to build the osgQt lib… For some reason I could get this to work for Qt5 only, trying the same for Qt4 on OSX didn't succeed for me - up to now. Greets, Marko ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- SCHULTE Christian Ingénieur Recherche Responsable du Laboratoire de Simulation ONERA - DCSD/PSEV Département Commande des Systèmes et Dynamique du Vol ONERA - Centre de Salon de Provence BA 701 13661 SALON AIR Cedex - France Tel :04.90.17.01.45 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Does OSG still build against Qt 4.8.7?
Hi Christian, On 22 Mar 2016, at 16:23 , Christian Schultewrote: > I confirm you that OSG 3.4.0 still builds with QT 8.4.0 on Windows Seven and > on Linux CentOS 6.7. you probably mean Qt 4.8.0?! I wonder whether -DOSG_USE_QT:BOOL=ON -DDESIRED_QT_VERSION=4 is actually enough to get it to build the osgQt lib… For some reason I could get this to work for Qt5 only, trying the same for Qt4 on OSX didn't succeed for me - up to now. Greets, Marko ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Does OSG still build against Qt 4.8.7?
Hi, I was wondering whether the latest stable 3.4.0 still builds with Qt4? Greets, Marko ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org