You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
QtTermTCP/main.cpp

27 lines
529 B

#include "QtTermTCP.h"
#include <QApplication>
#include <qscreen.h>
QApplication * a;
int screenHeight = 0; // used to control dialog sizes on Android
int screenWidth = 0;
int main(int argc, char *argv[])
{
a = new QApplication (argc, argv);
QSize r = a->screens()[0]->size();
screenHeight = r.height();
screenWidth = r.width();
QtTermTCP w;
//#ifdef ANDROID
// w.setWindowFlags(Qt::Window | Qt::CustomizeWindowHint); // Qt::FramelessWindowHint);
//#endif
w.show();
return a->exec();
}

Powered by TurnKey Linux.