Skip to content
Permalink
Browse files

viewer cmake, fix lost icons and deactivate styles.css

  • Loading branch information
berndhahnebach committed May 8, 2019
1 parent 2375408 commit fff61bca141c14a5d3c8ad76936d49a13242d678
@@ -19,6 +19,11 @@ FIND_PACKAGE(Qt5Core REQUIRED)
FIND_PACKAGE(Qt5Widgets REQUIRED)
FIND_PACKAGE(Qt5OpenGL REQUIRED)
ADD_DEFINITIONS(${Qt5Widgets_DEFINITIONS})
# if activated the icons are there, but the background is light grey and thus the white font is very difficault to read
# solution for me is to deactivate the styles.css which defines widget colors etc
QT5_ADD_RESOURCES(
SimpleViewerExample_RESOURCES_RCC ${IFCPP_SOURCE_DIR}/examples/SimpleViewerExampleQt/Resources/ifcplusplus.qrc
)

FIND_PACKAGE(OpenSceneGraph REQUIRED osgDB osgUtil osgGA osgFX osgSim osgText osgViewer)

@@ -1,7 +1,6 @@
<RCC>
<qresource prefix="/">
<file>appicon.rc</file>
<file>styles.css</file>
<file>img/appicon.ico</file>
<file>img/bulb.png</file>
<file>img/dropDownArrow.png</file>

0 comments on commit fff61bc

Please sign in to comment.
You can’t perform that action at this time.