Skip to content

Commit

Permalink
🔥 Get rid of HighDpi fix that is now native in Qt6
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierLDff committed Aug 21, 2024
1 parent 77082aa commit 9d8cbe5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 58 deletions.
8 changes: 0 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ set(QATERIAL_ENABLE_PCH ON CACHE BOOL
Only work if CMake support 'target_precompile_headers'. \"
This can speed up compilation time.")
set(QATERIAL_ENABLE_UNITY_BUILD ON CACHE BOOL "Qaterial source files will be combined into batches for faster compilation.")
set(QATERIAL_ENABLE_HIGHDPIFIX ON CACHE BOOL "Fix high dpi at application startup without any additional code")

set(QATERIAL_ENABLE_ICONS ON CACHE BOOL "Embed Mdi Icons in Qaterial.Icons (MATERIALDESIGNICONS_REPOSITORY)")
set(QATERIAL_ICONS "*.svg" CACHE STRING "Filter embedded icons")
Expand Down Expand Up @@ -79,7 +78,6 @@ if(QATERIAL_VERBOSE)
message(STATUS "QATERIAL_FOLDER_PREFIX : ${QATERIAL_FOLDER_PREFIX}")
message(STATUS "QATERIAL_ENABLE_PCH : ${QATERIAL_ENABLE_PCH}")
message(STATUS "QATERIAL_ENABLE_UNITY_BUILD : ${QATERIAL_ENABLE_UNITY_BUILD}")
message(STATUS "QATERIAL_ENABLE_HIGHDPIFIX : ${QATERIAL_ENABLE_HIGHDPIFIX}")

message(STATUS "QATERIAL_ENABLE_ICONS : ${QATERIAL_ENABLE_ICONS}")
message(STATUS "QATERIAL_ICONS : ${QATERIAL_ICONS}")
Expand Down Expand Up @@ -179,12 +177,6 @@ set(QATERIAL_SRCS
${QATERIAL_SOURCE_DIR}/Details/Utils.cpp
)

if(QATERIAL_ENABLE_HIGHDPIFIX)
set(QATERIAL_SRCS ${QATERIAL_SRCS}
${QATERIAL_SOURCE_DIR}/Details/HighDpiFix.cpp
)
endif()

source_group(TREE "${QATERIAL_SOURCE_DIR}" FILES ${QATERIAL_SRCS})
source_group(TREE "${QATERIAL_ICONS_OUTPUT_FOLDER}/Qaterial" FILES ${QATERIAL_GEN_SRCS})

Expand Down
50 changes: 0 additions & 50 deletions src/Qaterial/Details/HighDpiFix.cpp

This file was deleted.

0 comments on commit 9d8cbe5

Please sign in to comment.