30 { |
30 { |
31 QApplication app (argc, argv); |
31 QApplication app (argc, argv); |
32 app.setApplicationName (UNIXNAME); |
32 app.setApplicationName (UNIXNAME); |
33 app.setOrganizationName (UNIXNAME); |
33 app.setOrganizationName (UNIXNAME); |
34 app.setApplicationVersion (versionString()); |
34 app.setApplicationVersion (versionString()); |
|
35 qRegisterMetaType<ZandronumVersion> ("ZandronumVersion"); |
|
36 qRegisterMetaTypeStreamOperators<ZandronumVersion> ("ZandronumVersion"); |
35 |
37 |
36 for (int i = 1; i < argc; ++i) |
38 for (int i = 1; i < argc; ++i) |
37 { |
39 { |
38 QString arg = argv[i]; |
40 QString arg = argv[i]; |
39 |
41 |