shared: Include license texts as resource

This commit is contained in:
Albert S. 2022-06-29 17:20:34 +02:00
parent 3f8c147182
commit 990888efc1
3 changed files with 8 additions and 0 deletions

View File

@ -17,6 +17,7 @@
inline void initResources()
{
Q_INIT_RESOURCE(migrations);
Q_INIT_RESOURCE(plaintexts);
}
bool Common::initSqliteDatabase(QString path)

6
shared/plaintexts.qrc Normal file
View File

@ -0,0 +1,6 @@
<RCC>
<qresource>
<file>../LICENSE</file>
<file>../LICENSE-3RD-PARTY</file>
</qresource>
</RCC>

View File

@ -101,3 +101,4 @@ unix {
INSTALLS += target
}
RESOURCES = migrations/migrations.qrc
RESOURCES += plaintexts.qrc