gui: Add icon

Not the best on dark themes, better than nothing for now.
This commit is contained in:
Albert S. 2022-04-28 09:13:34 +02:00
부모 def766ba67
커밋 9d160ed7a0
3개의 변경된 파일24개의 추가작업 그리고 0개의 파일을 삭제

파일 보기

@ -74,3 +74,5 @@ else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../shar
else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../shared/release/shared.lib
else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../shared/debug/shared.lib
else:unix: PRE_TARGETDEPS += $$OUT_PWD/../shared/libshared.a
RESOURCES = ../icon.svg

파일 보기

@ -157,6 +157,7 @@ int main(int argc, char *argv[])
}
// Keep this post sandbox, afterwards does not work (suspect due to threads, but unconfirmed)
QApplication a(argc, argv);
a.setWindowIcon(QIcon(":/icon.svg"));
qRegisterMetaType<QVector<SearchResult>>("QVector<SearchResult>");
qRegisterMetaType<QVector<PreviewResultPdf>>("QVector<PreviewResultPdf>");

21
icon.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  크기: 13 KiB