How to specify OSGEARTH_USE_QT in osgearth build?

classic Classic list List threaded Threaded
4 messages Options
MarkL MarkL
Reply | Threaded
Open this post in threaded view
|

How to specify OSGEARTH_USE_QT in osgearth build?

When I attempt to build osgearth with Qt enabled, using the following command line:

cmake -DCMAKE_SHARED_LINKER_FLAGS="-Wl,-E" -DCMAKE_EXE_LINKER_FLAGS="-Wl,-E" -DOSGEARTH_USE_QT=ON ..

I get the following warning:

CMake Warning:
  Manually-specified variables were not used by the project:

    OSGEARTH_USE_QT

and it does not appear that the osgEarthQt target was built.

What am I missing?

Thanks in advance,
Mark
Mark
remoe remoe
Reply | Threaded
Open this post in threaded view
|

Re: How to specify OSGEARTH_USE_QT in osgearth build?

Do you find  the code "OSGEARTH_USE_QT" in osgEarth? I can't find. Check the sample:

https://github.com/gwaldron/osgearth/blob/master/src/applications/osgearth_qt_simple/CMakeLists.txt
Remo Eichenberger, Switzerland
MarkL MarkL
Reply | Threaded
Open this post in threaded view
|

Re: How to specify OSGEARTH_USE_QT in osgearth build?

In reply to this post by MarkL
MarkL MarkL
Reply | Threaded
Open this post in threaded view
|

Re: How to specify OSGEARTH_USE_QT in osgearth build?

Never mind.  Figured it out.
Mark