5

How to compile Open Scene Graph 3.2 with Qt 5.1 and CMake

 2 years ago
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.
neoserver,ios ssh client

How to compile Open Scene Graph 3.2 with Qt 5.1 and CMake

advertisements

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 can I open a console to interact with my Express app? I am trying to test whether some methods work to create a model. I'm using SequelizeJS, but that shouldn't matter for the answer to this question. I am used to Rails where I can do $ heroku ru

How do I get items in jQuery starting with a particular pattern and ending with another pattern

<div id="Tab1"> <input type="text" id="ctl100_Tab1_one_text"/> <input type="text" id="ctl100_Tab1_two_text"/> </div> <div id="Tab2"> <input type="text"

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 create a Pass Through query with a date prompt and then load it into a local table (make table)? I want to run this in access and before it goes to the server I want the query to prompt me for a date to enter as criteria and then when the re

How do I open a URL to work with the javascript script file?

I have a list of URLs, which every URLs contain a certain form. for example , every URL contain "#msg" textbox, and "#form" form. So I want to fill the "msg with "txt", and then submit - document.getElementById("for

How to compile an IronPython application in an EXE without Visual Studios (and possibly with py2exe)?

So I tried searching for this answer before coming straight here to ask it. It definitely seems doable to turn an IronPython app/set of scripts into an EXE. The one issue is that they all seem to talk about using IronPython with IronPython Studios, a

How can I open a new workbench window (with its own WorkbenchWindowAdvisor) from an existing workbench window?

I have a RCP applicaton from which I need to show a GEF Editor in a modal "dialog". But since the editor framework seems to be tightly coupled to the use of a workbench window etc I need to find a why to open a new workbench window (with its own

How to retrieve information from the Facebook friend with Python-Social-auth and Django

How can I retrieve Facebook friend's information using Python-Social-auth and Django? I already retrieve a profile information and authenticate the user, but I want to get more information about their friends and invite them to my app. Thanks!You can

Which Open Source licenses are compatible with the Apple iPhone and its official App Store?

I'm writing an iPhone app, and I would like to use a 3rd party library for part of its functionality. I intend on selling it through the App Store and my code will not be open sourced. Which open source licenses allow to make derivate works and publi

How to manage clicks on links in Python with Gtk 3.0 and WebKit2 4.0?

I have created my view (wrapped in a window) and loaded an URL like this: self.web_view = WebKit2.WebView() self.web_view.load_uri("https://en.wikipedia.org") My "Mini-Browser" starts and I can click on local links (links which are bou

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?

I have a Windows Service developed in C# and .NET 3.5 to perform various administrative tasks throughout our 3 domains. I've got an admin account in each domain that has the necessary rights/permissions for what this service is doing. For all the AD

Oracle SQL | How to select a substring where it starts with a certain letter and ends with a certain symbol?

If I had this: NAME EYES==ID==HAIR Jon Brown==F9182==Red May Blue==F10100==Brown Bill Hazel/Green==F123==Brown ...and I wanted to create a new ID column with the ID alone, and I know that everyone's ID starts with an 'F' and will end at the '=' how w

How do I open an activity twice but with different content?

I'm developing a chat app, but I have a problem. I've a list with the contacts and when I select one contact I'm starting a new activity Intent i = new Intent(this, MessageScreen.class); startActivity(i); but, when I choose another contact to talk I

How to format opening braces in C ++ methods with astyle?

Is a common practice to move function's opening brace to next line. How to apply this in class method with astyle (code beautifier)? example: // this is an initial C++ code class Class { public: static int foo(bool x) { if (x) { return 42; } else { r

How to Compile the Implementation of the Hough Opencv Forest by Gall and Lempitsky

I'm trying to compile Gall and Lempitsky's Hough forest implementation written for opencv. It can be downloaded from their website here [mirrors]. It looks like it's having issues finding opencv. I installed opencv 2.3.1 (or 2.4.4 I'm not sure) on ub

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK