Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
documentation [2011/03/31 11:54]
admin
documentation [2016/01/18 17:58]
admin [Additional functions]
Line 22: Line 22:
 # installing PyOpenGL # installing PyOpenGL
 C:​\Python25\easy_install.exe PyOpenGL</​code>​ C:​\Python25\easy_install.exe PyOpenGL</​code>​
 +
 +
  
  
Line 40: Line 42:
 </​code>​ </​code>​
  
-It will install a libQGLViewer package and PyQGLViewer.+It will install a libQGLViewer package and PyQGLViewer. ​
  
 For windows,​after download and installing easy_install. You can type For windows,​after download and installing easy_install. You can type
Line 48: Line 50:
 </​code>​ </​code>​
 Or use the normal installation of openalea et vplants. Or use the normal installation of openalea et vplants.
 +
 +This may changed in the future. So look at the OpenAlea documentation to have an update procedure.
  
 ===== How to build and install the project from sources ===== ===== How to build and install the project from sources =====
Line 59: Line 63:
  
 A directory ''​PyQGLViewer/''​ should be created. A directory ''​PyQGLViewer/''​ should be created.
 +
  
  
Line 120: Line 125:
 </​code>​ </​code>​
 On windows to install the lib you should copy the ''​QGLViewer2.dll''​ On windows to install the lib you should copy the ''​QGLViewer2.dll''​
-in library repository such as ''​C:\WINDOWS\system32''​+in library repository such as ''​%QTDIR%\bin''​
  
-<code bash>​copy release\QGLViewer2.dll ​C:\WINDOWS\system32+<code bash>​copy release\QGLViewer2.dll ​%QTDIR%\bin 
 +copy release\QGLViewer2.lib %QTDIR%\lib
 </​code>​ </​code>​
  
Line 239: Line 245:
 === Version === === Version ===
  
-You can check the version of the QGLViewer with global hexadecimal value ''​QGLViewerVersion''​.+You can check the version of the QGLViewer with the global hexadecimal value ''​QGLViewerVersion''​.
 Moreover, the following convenience function gives the version as a string: Moreover, the following convenience function gives the version as a string:
  
 <code python>​def QGLViewerVersionString():​ <code python>​def QGLViewerVersionString():​
     """​ Return version of QGLViewer in a string format """</​code>​     """​ Return version of QGLViewer in a string format """</​code>​
 +
 +You can also check the version of the wrappers with the global hexadecimal value ''​_ _version_ _''​
 +or the function ''​PyQGLViewerVersionString''​ for the string version.
  
  
 
Back to top
documentation.txt · Last modified: 2016/01/25 16:35 by admin
Valid CSS Driven by DokuWiki Valid XHTML 1.0