SUBDIRS(gimmick)
+ SUBDIRS(TestGimmickReaderDialog)
+ if(USE_WXWIDGETS)
SUBDIRS(wxGimmick)
SUBDIRS(TestWxGimmickReaderDialog)
- SUBDIRS(TestGimmickReaderDialog)
SUBDIRS(TestWxSimpleView)
+ ENDIF(USE_WXWIDGETS)
+
+ IF(USE_QT4)
+ SUBDIRS(TestQtGimmick)
+ ENDIF(USE_QT4)
+
+
#SUBDIRS(TestWxGimmickReaderDialogJava)
#LSE (BUILD_V2)
# SUBDIRS(TestWxGimmickDialog)
--- /dev/null
+
+IF(WIN32)
+ ADD_EXECUTABLE(TestQtGimmick WIN32 main)
+ SET_TARGET_PROPERTIES(TestQtGimmick PROPERTIES LINK_FLAGS /subsystem:console )
+ELSE(WIN32)
+ ADD_EXECUTABLE(TestQtGimmick MACOSX_BUNDLE main)
+ENDIF(WIN32)
+
+TARGET_LINK_LIBRARIES( TestQtGimmick creaImageIO )
+
+INSTALL_TARGETS(/bin/ TestQtGimmick )
--- /dev/null
+#include <QApplication>
+#include <creaImageIOQtGimmickReaderDialog.h>
+//#include "vtkMetaImageReader.h"
+
+
+int main(int argc, char *argv[])
+{
+ QApplication a(argc, argv);
+ creaImageIO::QtGimmickReaderDialog w;
+ w.showMaximized();
+
+ return a.exec();
+}
+