1 #include <boost/filesystem/operations.hpp>
2 using namespace boost::filesystem;
5 #include <QApplication>
7 #include "qui/MussaWindow.hpp"
8 #include "alg/parse_options.hpp"
10 int main(int argc, char **argv)
14 // if we're under unix and don't have a display, see if we can still run
16 opts.useGUI = getenv("DISPLAY") != 0;
19 QApplication app(argc, argv, opts.useGUI);
20 Q_INIT_RESOURCE(icons);
22 initialize_mussa(opts, argc, argv);
24 if (opts.analysis == 0) {
29 MussaWindow win(opts.analysis);