starting http server with error handling
This commit is contained in:
5
main.cpp
5
main.cpp
@@ -33,6 +33,7 @@ static QWidget *loadUI(QWidget *parent, std::string filename) {
|
||||
}
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
srand(time(0));
|
||||
|
||||
QApplication app(argc, argv);
|
||||
|
||||
@@ -92,10 +93,6 @@ int main(int argc, char *argv[]) {
|
||||
OCRScene *ocrscene = new OCRScene();
|
||||
OFDScene *ofdscene = new OFDScene();
|
||||
|
||||
// ofdscene->startHttpServer();
|
||||
// get_local_ip_address();
|
||||
|
||||
|
||||
sceneLayout->addWidget(mainwindowscene);
|
||||
sceneLayout->addWidget(emailTextScene);
|
||||
sceneLayout->addWidget(ocrscene);
|
||||
|
||||
Reference in New Issue
Block a user