#include #include "service/serviceloaddb.h" #include "apiserver.h" int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); ServiceLoadDB *db = new ServiceLoadDB(); ApiServer *server = new ApiServer(); db->start(); server->start(db); return a.exec(); }