17 lines
472 B
C++
17 lines
472 B
C++
#include "DEM_GeneVec.h"
|
|
#include <QtWidgets/QApplication>
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
QApplication a(argc, argv);
|
|
|
|
QString gdal_path = qApp->applicationDirPath().toLocal8Bit() + "/share/gdal";
|
|
QString pro_lib_path = qApp->applicationDirPath().toLocal8Bit() + "/share/proj";
|
|
qputenv("GDAL_DATA", gdal_path.toLocal8Bit());
|
|
qputenv("PROJ_LIB", pro_lib_path.toLocal8Bit());
|
|
|
|
TrainMoudle w;
|
|
w.CenterWidget()->show();
|
|
return a.exec();
|
|
}
|