Refactor/Create APT/DNF Repository (#1648)
@@ -2,20 +2,20 @@
|
||||
# All files are available with their file name by calling ":/FILENAME". Probably you need to call Q_INIT_RESOURCE("resources") once
|
||||
#
|
||||
# Define the current source locations
|
||||
SET(CURRENT_SOURCE_DIR ${CMAKE_SOURCE_DIR}/resources)
|
||||
set(CURRENT_SOURCE_DIR ${CMAKE_SOURCE_DIR}/resources)
|
||||
|
||||
# catch all files
|
||||
FILE ( GLOB Hyperion_RESFILES "${CURRENT_SOURCE_DIR}/icons/*" "${CURRENT_SOURCE_DIR}/ssl/*" )
|
||||
file(GLOB Hyperion_RESFILES "${CURRENT_SOURCE_DIR}/icons/*" "${CURRENT_SOURCE_DIR}/ssl/*")
|
||||
|
||||
# fill resources.qrc with RESFILES
|
||||
FOREACH( f ${Hyperion_RESFILES} )
|
||||
foreach(f ${Hyperion_RESFILES})
|
||||
get_filename_component(fname ${f} NAME)
|
||||
SET(HYPERION_RES "${HYPERION_RES}\n\t\t<file alias=\"${fname}\">${f}</file>")
|
||||
ENDFOREACH()
|
||||
set(HYPERION_RES "${HYPERION_RES}\n\t\t<file alias=\"${fname}\">${f}</file>")
|
||||
endforeach()
|
||||
|
||||
# prep file
|
||||
CONFIGURE_FILE(${CURRENT_SOURCE_DIR}/resources.qrc.in ${CMAKE_BINARY_DIR}/resources.qrc )
|
||||
SET(Hyperion_RES ${CMAKE_BINARY_DIR}/resources.qrc)
|
||||
configure_file(${CURRENT_SOURCE_DIR}/resources.qrc.in ${CMAKE_BINARY_DIR}/resources.qrc)
|
||||
set(Hyperion_RES ${CMAKE_BINARY_DIR}/resources.qrc)
|
||||
|
||||
add_library(resources
|
||||
${Hyperion_RES}
|
||||
|
BIN
resources/icons/hyperion-128px.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
resources/icons/hyperion-16px.png
Normal file
After Width: | Height: | Size: 717 B |
BIN
resources/icons/hyperion-192px.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
resources/icons/hyperion-22px.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
resources/icons/hyperion-24px.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
resources/icons/hyperion-256px.png
Normal file
After Width: | Height: | Size: 31 KiB |
BIN
resources/icons/hyperion-32px.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
resources/icons/hyperion-36px.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
resources/icons/hyperion-48px.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
resources/icons/hyperion-512px.png
Normal file
After Width: | Height: | Size: 84 KiB |
BIN
resources/icons/hyperion-64px.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
BIN
resources/icons/hyperion-72px.png
Normal file
After Width: | Height: | Size: 4.3 KiB |
BIN
resources/icons/hyperion-96px.png
Normal file
After Width: | Height: | Size: 7.7 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 68 KiB |