Go to the documentation of this file.00001 #include <iostream>
00002 #include <opencv/cv.h>
00003 #include <opencv/highgui.h>
00004 #include <sstream>
00005 #include <QtGui/QLabel>
00006 #include "zbargui.h"
00007 #include "ros/ros.h"
00008 #include "ui_zbargui.h"
00009 #include "std_msgs/String.h"
00010 #include "sensor_msgs/Image.h"
00011 #include "image_transport/image_transport.h"
00012 #include "cv_bridge/CvBridge.h"
00013 #include "CQTImageConvertor.h"
00014
00015
00016 #include <QApplication>
00017
00018 using namespace std;
00019 int main(int argc, char *argv[])
00020 {
00021 ros::init(argc, argv, "Zbar_QT");
00022 ros::AsyncSpinner spinner(1);
00023 spinner.start();
00024 cerr<< "spinner start\n";
00025 QApplication app(argc, argv);
00026 cerr<< "QApplication\n";
00027 zbarGui zbarGui;
00028 cerr<< "Zbargui instantiation\n";
00029 zbarGui.show();
00030 app.exec();
00031 cerr<< "app.exec\n";
00032
00033 return 0;
00034 }