Skip to content

Commit 0303fab

Browse files
committed
quartz: Add win32 application icon
1 parent 067bb0f commit 0303fab

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

apps/quartz/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ add_executable(${APP_NAME}
1313
version.h
1414
)
1515

16+
if(WIN32)
17+
target_sources(${APP_NAME} PRIVATE resources/quartz.rc)
18+
endif()
19+
1620
target_compile_features(${APP_NAME} PRIVATE cxx_std_14)
1721
target_include_directories(${APP_NAME} PRIVATE ${QUARTZ_3RDPARTY})
1822
target_link_libraries(${APP_NAME} Qt5::Core Qt5::Gui Qt5::Widgets Qt5::Qml Qt3DRaytrace Qt3DRaytraceExtras stb)
102 KB
Binary file not shown.

apps/quartz/resources/quartz.rc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
IDI_ICON1 ICON DISCARDABLE "appicon_win32.ico"

0 commit comments

Comments
 (0)