summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 96ec1e3..dce33fc 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2,10 +2,14 @@
#include <QApplication>
+#include "opticaldesign.h"
+
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
+ qRegisterMetaType<orphex::LenseAperture>("orphex::LenseAperture");
+
a.setApplicationName("OpticalDesign");
a.setApplicationDisplayName("Optical Design");
// TODO: move to cmake