Show
Ignore:
Timestamp:
07/29/14 17:50:55 (less than one hour ago)
Author:
robert
Message:

Added preliminary icon to ComboBox?.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgqfont/CMakeLists.txt

    r12292 r13482  
    11#this file is automatically generated  
    22 
    3 INCLUDE_DIRECTORIES( ${QT_INCLUDE_DIR} ) 
    43ADD_DEFINITIONS(-DUSE_QT4) 
    54 
    65SET(TARGET_SRC osgqfont.cpp ) 
    76SET(TARGET_ADDED_LIBRARIES osgQt osgText) 
    8 SET(TARGET_EXTERNAL_LIBRARIES ${QT_QTCORE_LIBRARY_RELEASE} ${QT_QTGUI_LIBRARY_RELEASE} ${QT_QTOPENGL_LIBRARY_RELEASE} ) 
     7IF ( NOT Qt5Widgets_FOUND ) 
     8    INCLUDE_DIRECTORIES( ${QT_INCLUDE_DIR} ${QT_QTCORE_INCLUDE_DIR} ${QT_QTGUI_INCLUDE_DIR} ${QT_QTOPENGL_INCLUDE_DIR} ) 
     9    SET(TARGET_EXTERNAL_LIBRARIES ${QT_QTCORE_LIBRARY_RELEASE} ${QT_QTGUI_LIBRARY_RELEASE} ${QT_QTOPENGL_LIBRARY_RELEASE} ) 
     10ENDIF() 
    911 
    1012#### end var setup  ### 
    11 SETUP_EXAMPLE(osgqfont) 
     13SET ( EXAMPLE_NAME osgqfont ) 
     14SETUP_EXAMPLE(${EXAMPLE_NAME}) 
     15 
     16IF ( Qt5Widgets_FOUND ) 
     17    qt5_use_modules( example_${EXAMPLE_NAME} Widgets OpenGL ) 
     18ENDIF( Qt5Widgets_FOUND )