mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	citra-qt: Add Dark theme from https://github.com/ColinDuquesnoy/QDarkStyleSheet
This commit is contained in:
		
							parent
							
								
									bbeb9f1dbb
								
							
						
					
					
						commit
						1355f0f39e
					
				
					 43 changed files with 1319 additions and 2 deletions
				
			
		|  | @ -1,4 +1,5 @@ | |||
| set(CMAKE_AUTOMOC ON) | ||||
| set(CMAKE_AUTORCC ON) | ||||
| set(CMAKE_INCLUDE_CURRENT_DIR ON) | ||||
| set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/CMakeModules) | ||||
| 
 | ||||
|  | @ -75,6 +76,8 @@ set(UIS | |||
|             main.ui | ||||
|             ) | ||||
| 
 | ||||
| file(GLOB_RECURSE THEMES ${CMAKE_SOURCE_DIR}/dist/qt_themes/*) | ||||
| 
 | ||||
| create_directory_groups(${SRCS} ${HEADERS} ${UIS}) | ||||
| 
 | ||||
| if (Qt5_FOUND) | ||||
|  | @ -86,10 +89,10 @@ endif() | |||
| if (APPLE) | ||||
|     set(MACOSX_ICON "../../dist/citra.icns") | ||||
|     set_source_files_properties(${MACOSX_ICON} PROPERTIES MACOSX_PACKAGE_LOCATION Resources) | ||||
|     add_executable(citra-qt MACOSX_BUNDLE ${SRCS} ${HEADERS} ${UI_HDRS} ${MACOSX_ICON}) | ||||
|     add_executable(citra-qt MACOSX_BUNDLE ${SRCS} ${HEADERS} ${UI_HDRS} ${THEMES} ${MACOSX_ICON}) | ||||
|     set_target_properties(citra-qt PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist) | ||||
| else() | ||||
|     add_executable(citra-qt ${SRCS} ${HEADERS} ${UI_HDRS}) | ||||
|     add_executable(citra-qt ${SRCS} ${HEADERS} ${UI_HDRS} ${THEMES}) | ||||
| endif() | ||||
| target_link_libraries(citra-qt PRIVATE audio_core common core input_common video_core) | ||||
| target_link_libraries(citra-qt PRIVATE Boost::boost glad nihstro-headers Qt5::OpenGL Qt5::Widgets) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue