#include "main.h" using namespace std; int debugLevel = DEBUG | INFO | WARNING | ERROR; int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); QCoreApplication::setOrganizationName("zigbeemanager"); QCoreApplication::setApplicationName("zigbeemanager"); ZigateBackend zigateBkd; // zigbeemgr(); //QObject::connect(&zigbeemgr, SIGNAL(readyRead()), &zigbeemgr, SLOT(getData())); //QObject::connect(&zigbeemgr, SIGNAL(bytesWritten(qint64)), &zigbeemgr, SLOT(confirmWrite(qint64))); zigateBkd.sendCmd(zigateBkd.getVersion.at(0), zigateBkd.getVersion.at(1), zigateBkd.getVersion.at(2)); return a.exec(); }