mirror of
https://github.com/status-im/Tablet-build.git
synced 2026-08-31 11:41:08 +00:00
1. Adding AndroidManifest.xml with app icons and splash screen 2. Renaming IOS-build to Status-tablet 3. Update androiddeployqt to run on android-31 4. Adding app icons to IOS 5. Fixing makefile clean, makefile nim_status_client dependencies, makefile DOtherSide lib name 6. Update README.md with latest changes
26 lines
547 B
C++
26 lines
547 B
C++
#include <stdlib.h>
|
|
#include <unistd.h>
|
|
#include <qqml.h>
|
|
#include <QDir>
|
|
|
|
extern "C" {
|
|
void NimMain();
|
|
}
|
|
|
|
int main(int argc, char* argv[])
|
|
{
|
|
Q_INIT_RESOURCE(resources);
|
|
qputenv("QT_FILE_SELECTORS", "noWebEngine");
|
|
|
|
#if QT_VERSION >= QT_VERSION_CHECK(6, 5, 0)
|
|
qmlRegisterModule("Qt.labs.settings", 1, 1);
|
|
qmlRegisterModule("Qt.labs.settings", 1, 0);
|
|
|
|
qmlRegisterModuleImport("Qt.labs.settings", QQmlModuleImportModuleAny,
|
|
"QtCore", QQmlModuleImportLatest);
|
|
#endif
|
|
|
|
NimMain();
|
|
return 0;
|
|
}
|