mirror of
https://github.com/YACReader/yacreader
synced 2025-06-03 09:08:20 -04:00
30 lines
567 B
C++
30 lines
567 B
C++
#include "library_window.h"
|
|
|
|
#include <QApplication>
|
|
#include "startup.h"
|
|
#define PICTUREFLOW_QT4 1
|
|
|
|
//interfaz al servidor
|
|
LibraryWindow * mw;
|
|
Startup * s;
|
|
|
|
int main( int argc, char ** argv )
|
|
{
|
|
QApplication app( argc, argv );
|
|
|
|
QTranslator translator;
|
|
QString sufix = QLocale::system().name();
|
|
translator.load(":/yacreaderlibrary_"+sufix);
|
|
app.installTranslator(&translator);
|
|
app.setApplicationName("YACReaderLibrary");
|
|
|
|
mw = new LibraryWindow();
|
|
mw->resize(800,480);
|
|
mw->showMaximized();
|
|
|
|
s = new Startup();
|
|
s->start();
|
|
|
|
return app.exec();
|
|
}
|