diff --git a/interface/CMakeLists.txt b/interface/CMakeLists.txt index b1268e331e..d3a241c675 100644 --- a/interface/CMakeLists.txt +++ b/interface/CMakeLists.txt @@ -82,11 +82,13 @@ file (GLOB_RECURSE QT_UI_FILES ui/*.ui) # have qt5 wrap them and generate the appropriate header files qt5_wrap_ui(QT_UI_HEADERS "${QT_UI_FILES}") +# use the Qt Resource System to bundle in our resources +qt5_add_resources(QRC_RESOURCE_FILE resources/interface.qrc) + # add them to the interface source files -set(INTERFACE_SRCS ${INTERFACE_SRCS} "${QT_UI_HEADERS}") +set(INTERFACE_SRCS ${INTERFACE_SRCS} "${QT_UI_HEADERS}" "${QRC_RESOURCE_FILE}") if (APPLE) - # configure CMake to use a custom Info.plist SET_TARGET_PROPERTIES( ${this_target} PROPERTIES MACOSX_BUNDLE_INFO_PLIST MacOSXBundleInfo.plist.in ) diff --git a/interface/resources/interface.qrc b/interface/resources/interface.qrc new file mode 100644 index 0000000000..c0e214509d --- /dev/null +++ b/interface/resources/interface.qrc @@ -0,0 +1,70 @@ + + + config/config.json + html/interface-welcome-allsvg.html + icons/backButton.svg + icons/computer.svg + icons/desktop.svg + icons/documents.svg + icons/file.svg + icons/folder.svg + icons/forwardButton.svg + icons/home.svg + icons/raster.svg + icons/toParentButton.svg + icons/voxel.svg + images/body.png + images/close.png + images/close.svg + images/head.png + images/hifi-interface-tools-v2-pie.svg + images/hifi-interface-tools.svg + images/mic.svg + images/mute.svg + images/reset.png + info/ApplicationInfo.ini + meshes/defaultAvatar_body.fst + meshes/defaultAvatar_head.fst + meshes/defaultAvatar/body.fbx + meshes/defaultAvatar/body.jpg + meshes/defaultAvatar/head.fbx + meshes/defaultAvatar/tail.jpg + meshes/defaultAvatar/visor.png + shaders/ambient_occlusion.frag + shaders/ambient_occlusion.vert + shaders/diffuse.frag + shaders/glow_add_separate.frag + shaders/glow_add.frag + shaders/grid.frag + shaders/horizontal_blur.frag + shaders/metavoxel_point.vert + shaders/model_normal_map.frag + shaders/model_normal_map.vert + shaders/model.frag + shaders/model.vert + shaders/occlusion_blur.frag + shaders/oculus.frag + shaders/passthrough.vert + shaders/perlin_modulate.frag + shaders/perlin_modulate.vert + shaders/point_size.vert + shaders/shadow_map.frag + shaders/skin_model_normal_map.vert + shaders/skin_model.vert + shaders/SkyFromAtmosphere.frag + shaders/SkyFromAtmosphere.vert + shaders/SkyFromSpace.frag + shaders/SkyFromSpace.vert + shaders/vertical_blur_add.frag + shaders/vertical_blur.frag + shaders/voxels.geom + sounds/snap.wav + styles/checked.svg + styles/import_dialog.qss + styles/Inconsolata.otf + styles/log_dialog.qss + styles/search.svg + styles/txt-file.svg + styles/unchecked.svg + + \ No newline at end of file