[osg-users] Enable Qt5Widgets_DIR into cmake (GUI)

Andrea Martini martini.andrea at gmail.com
Wed Sep 5 01:51:57 PDT 2018


Hello Konstatine,
thank you for your suggestion.
Now CMAKE fills all Qt entries automatically.

But, osgQtWidgets and osgQtBrowser aren't in .sln
Looking into mypath\OpenSceneGraph-3.5.3\examples\CMakeLists.txt i found:

...
 IF ( (QT4_FOUND AND QT_QTWEBKIT_FOUND) OR Qt5WebKitWidgets_FOUND )
            ADD_SUBDIRECTORY(osgQtWidgets)
            ADD_SUBDIRECTORY(osgQtBrowser)
        ENDIF()
...

Infact, CMAKE (GUI)  fill Qt5WebKitWidgets_DIR with Qt5WebKitWidgets_DIR-NOTFOUND. I searched in C:\Qt\Qt5.8.0\5.8\msvc2013_64\lib\cmake  and folder Qt5WebKitWidgets is absent.  

This is the reason i can't find osgQtWidgets and osgQtBrowser projects in the solution.

I will try with a suggestion on :
https://stackoverflow.com/questions/49249355/could-not-find-qt5webkitwidgets

using qt 5.5 instead of 5.8


Thank you!

Cheers,
Andrea

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=74645#74645







More information about the osg-users mailing list