gui: Add icon
Not the best on dark themes, better than nothing for now.
This commit is contained in:
parent
def766ba67
commit
9d160ed7a0
@ -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(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:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../shared/debug/shared.lib
|
||||||
else:unix: PRE_TARGETDEPS += $$OUT_PWD/../shared/libshared.a
|
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)
|
// Keep this post sandbox, afterwards does not work (suspect due to threads, but unconfirmed)
|
||||||
QApplication a(argc, argv);
|
QApplication a(argc, argv);
|
||||||
|
a.setWindowIcon(QIcon(":/icon.svg"));
|
||||||
|
|
||||||
qRegisterMetaType<QVector<SearchResult>>("QVector<SearchResult>");
|
qRegisterMetaType<QVector<SearchResult>>("QVector<SearchResult>");
|
||||||
qRegisterMetaType<QVector<PreviewResultPdf>>("QVector<PreviewResultPdf>");
|
qRegisterMetaType<QVector<PreviewResultPdf>>("QVector<PreviewResultPdf>");
|
||||||
|
Loading…
Reference in New Issue
Block a user