How to compile Open Scene Graph 3.2 with Qt 5.1 and CMake
source link: https://www.codesd.com/item/how-to-compile-open-scene-graph-3-2-with-qt-5-1-and-cmake.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
How to compile Open Scene Graph 3.2 with Qt 5.1 and CMake
I already compiled Open Scene Graph 3.2 against Qt4. I managed it through an initial cache setting the following variables:
set(ENV{QTDIR} "path/to/qt4" CACHE PATH "") set(Qt_FIND_VERSION "4.8.5" CACHE PATH "")
But when I try to change this to qt5 it doesn't work. Qt5 is not found. Any hints what settings should be used when copiling Open Scene Graph 3.2 with Qt5 and Qt5 should be found (most parts) automatically with the find script of CMake?
Just set these variables to feed the cache:
set(DESIRED_QT_VERSION "5" CACHE STRING "")
set(CMAKE_PREFIX_PATH "C:/Qt/5.1.1/msvc2012_64_opengl" CACHE PATH "")
Related Articles
How do I open a console to interact with an Express application?
How do I get items in jQuery starting with a particular pattern and ending with another pattern
How do I create a Pass Through request with a date prompt and then load it into a local table (make table)?
How do I open a URL to work with the javascript script file?
How to compile an IronPython application in an EXE without Visual Studios (and possibly with py2exe)?
How can I open a new workbench window (with its own WorkbenchWindowAdvisor) from an existing workbench window?
How to retrieve information from the Facebook friend with Python-Social-auth and Django
Which Open Source licenses are compatible with the Apple iPhone and its official App Store?
How to manage clicks on links in Python with Gtk 3.0 and WebKit2 4.0?
C # and .NET 3.5 - How to start a process using different credentials, with a hidden window, and be able to capture standard output and output code?
Oracle SQL | How to select a substring where it starts with a certain letter and ends with a certain symbol?
How do I open an activity twice but with different content?
How to format opening braces in C ++ methods with astyle?
How to Compile the Implementation of the Hough Opencv Forest by Gall and Lempitsky
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK