bundle logo in resource bundle and display regardless of theme/install status.
This commit is contained in:
@@ -53,7 +53,7 @@ Q_DECL_EXPORT int main(int argc, char *argv[])
|
|||||||
QCoreApplication::setOrganizationDomain("eyecreate.org");
|
QCoreApplication::setOrganizationDomain("eyecreate.org");
|
||||||
QCoreApplication::setApplicationName(aboutData.productName());
|
QCoreApplication::setApplicationName(aboutData.productName());
|
||||||
QCoreApplication::setApplicationVersion(aboutData.version());
|
QCoreApplication::setApplicationVersion(aboutData.version());
|
||||||
app.setWindowIcon(QIcon::fromTheme("org.eyecreate.vehiclevoyage"));
|
app.setWindowIcon(QIcon(":/logo.svg"));
|
||||||
|
|
||||||
QSqlDatabase db = QSqlDatabase::addDatabase("QSQLITE");
|
QSqlDatabase db = QSqlDatabase::addDatabase("QSQLITE");
|
||||||
#ifdef Q_OS_ANDROID
|
#ifdef Q_OS_ANDROID
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
<file alias="main.qml">contents/ui/main.qml</file>
|
<file alias="main.qml">contents/ui/main.qml</file>
|
||||||
<file alias="speed.svg">contents/speed.svg</file>
|
<file alias="speed.svg">contents/speed.svg</file>
|
||||||
<file alias="license.svg">contents/license.svg</file>
|
<file alias="license.svg">contents/license.svg</file>
|
||||||
|
<file alias="logo.svg">../packaging/org.eyecreate.vehiclevoyage.svg</file>
|
||||||
<file>qtquickcontrols2.conf</file>
|
<file>qtquickcontrols2.conf</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
|||||||
Reference in New Issue
Block a user