Skip to content

Commit

Permalink
Remove legacy QRC files
Browse files Browse the repository at this point in the history
qt_linux.conf has no visible effect for a long time and mac.qrc is empty, so remove them to get rid of unneeded rcc invocations
  • Loading branch information
ilya-fedin authored and john-preston committed Dec 6, 2021
1 parent 5cf6981 commit e3c4d49
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 15 deletions.
3 changes: 0 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ PRIVATE
ui/colors.palette
emoji_suggestions/emoji_autocomplete.json

qt_conf/mac.qrc
qt_conf/win.qrc

ui/effects/animation_value.cpp
Expand Down Expand Up @@ -245,8 +244,6 @@ PRIVATE

if (DESKTOP_APP_USE_PACKAGED)
nice_target_sources(lib_ui ${src_loc} PRIVATE ui/text/qtextitemint.cpp)
else()
nice_target_sources(lib_ui ${src_loc} PRIVATE qt_conf/linux.qrc)
endif()

if (NOT DESKTOP_APP_USE_PACKAGED_FONTS)
Expand Down
5 changes: 0 additions & 5 deletions qt_conf/linux.qrc

This file was deleted.

2 changes: 0 additions & 2 deletions qt_conf/mac.qrc

This file was deleted.

2 changes: 0 additions & 2 deletions qt_conf/qt_linux.conf

This file was deleted.

4 changes: 1 addition & 3 deletions ui/style/style_core_font.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ void style_InitFontsResource() {
#endif // !DESKTOP_APP_USE_PACKAGED_FONTS
#ifdef Q_OS_WIN
Q_INIT_RESOURCE(win);
#elif defined Q_OS_UNIX && !defined DESKTOP_APP_USE_PACKAGED // Q_OS_WIN
Q_INIT_RESOURCE(linux);
#endif // Q_OS_WIN || (Q_OS_UNIX && !DESKTOP_APP_USE_PACKAGED)
#endif // Q_OS_WIN

#endif // Q_OS_MAC
}
Expand Down

0 comments on commit e3c4d49

Please sign in to comment.