X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=HomeScreen%2Fsrc%2Fmain.cpp;h=a896c2e6e6c860fd2c69fa5ba0a88ec814bddab1;hb=83cfbb9fe4bcc17f6b00c8a25aa3eb8c2c850ac0;hp=f1f5a22f0054b81fc8db5587c32eecd5813b97ff;hpb=ec688535558c31989e7da221b858328b2e0766c8;p=staging%2FHomeScreen.git diff --git a/HomeScreen/src/main.cpp b/HomeScreen/src/main.cpp index f1f5a22..a896c2e 100644 --- a/HomeScreen/src/main.cpp +++ b/HomeScreen/src/main.cpp @@ -36,20 +36,21 @@ int main(int argc, char *argv[]) QCoreApplication::setOrganizationDomain("LinuxFoundation"); QCoreApplication::setOrganizationName("AutomotiveGradeLinux"); QCoreApplication::setApplicationName("HomeScreen"); - QCoreApplication::setApplicationVersion("0.4.0"); + QCoreApplication::setApplicationVersion("0.6.0"); qDebug("%s, v%s", QCoreApplication::applicationName().toStdString().c_str(), QCoreApplication::applicationVersion().toStdString().c_str()); + qDBusRegisterMetaType(); + qDBusRegisterMetaType >(); + MainWindow w; w.show(); -#ifdef __arm__ +#ifdef HAVE_IVI_LAYERMANAGEMENT_API // the WindowManager positions the surface correctly -#endif -#ifdef __i386__ +#else w.move(0, 0); #endif - #ifdef __arm__ qDebug("Running on ARM architecture"); #endif