Adding resource structure

parent e8c9618e
......@@ -54,7 +54,13 @@ endif( )
qt5_wrap_ui( "ui_RedstartWindow.h" "ui/RedstartWindow.ui" )
include_directories( "${CMAKE_CURRENT_BINARY_DIR}" ) # Qt UI form compiler generates files into this folder
add_executable( Redstart "src/main.cpp" "src/RedstartWindow.cpp" "src/RedstartWindow.h" "ui/RedstartWindow.ui" )
# Qt resources
cmake_policy( SET CMP0071 NEW )
qt5_add_resources( VA_REDSTART_RESOURCES "res/QRedstart.qrc" OPTIONS -compress 3 )
add_executable( Redstart ${VA_REDSTART_RESOURCES} "src/main.cpp" "src/RedstartWindow.cpp" "src/RedstartWindow.h" "ui/RedstartWindow.ui" )
target_link_libraries( Redstart ${VISTA_USE_PACKAGE_LIBRARIES} ${VISTAINTERPROCCOMM_ADDITIONAL_DEPENDENCIES} Qt5::Widgets )
install( TARGETS Redstart RUNTIME DESTINATION "bin" )
......
<RCC>
<qresource prefix="/icons">
<!-- <file>DAFFTool_Icon.ico</file>
<file>DAFFViewer_Icon.gif</file>
<file>DAFFViewer_Icon_File.ico</file>
<file>DAFFViewer_Window_Icon_16x16.gif</file>
<file>DAFFViewer_Window_Icon_16x16.png</file>
<file>OpenDAFF_Icon.ico</file>
-->
</qresource>
<qresource prefix="/banners">
<!--
<file>DAFFViewer_Banner.gif</file>
<file>DAFFViewer_Banner.jpg</file>
-->
</qresource>
<qresource prefix="/files">
<!--<file>ITA-Kunstkopf_HRIR_AP11_Pressure_Equalized_3x3_256.v17.ir.daff</file>-->
</qresource>
</RCC>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment