Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. problem while making a qt program

problem while making a qt program

Scheduled Pinned Locked Moved Unsolved General and Desktop
qlistwidgetqt5.9.1
2 Posts 2 Posters 1.6k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vasu_gupta
    wrote on 19 Sept 2017, 14:47 last edited by vasu_gupta
    #1

    i am trying an qt program however i am getting this output/error:

    cp ../../../../../../VimbaCPP/DynamicLib/x86_64bit/libVimbaCPP.so binary/x86_64bit/
    uic -o object/x86_64bit/ui_AsynchronousOpenCVRecorder.h ../../Source/res/AsynchronousOpenCVRecorder.ui
    g++ -std=c++11 -c -I../../Source -I../../../.. -Iobject/x86_64bit -I/usr/local/Qt-5.9.1/include/QtWidgets  -O3 -m64 -fPIC -I../../../../../.. -I../../../../../.. -I../../../../../../VimbaImageTransform/Include -I/usr/local/Qt-5.9.1/include/QtCore -I/usr/local/Qt-5.9.1/include   -I/usr/local/Qt-5.9.1/include/QtGui -I/usr/local/Qt-5.9.1/include -I/usr/local/Qt-5.9.1/include/QtCore   -I/usr/local/include/opencv -I/usr/local/include   -o object/x86_64bit/ApiController.o ../../Source/ApiController.cpp
    g++ -std=c++11 -c -I../../Source -I../../../.. -Iobject/x86_64bit -I/usr/local/Qt-5.9.1/include/QtWidgets  -O3 -m64 -fPIC -I../../../../../.. -I../../../../../.. -I../../../../../../VimbaImageTransform/Include -I/usr/local/Qt-5.9.1/include/QtCore -I/usr/local/Qt-5.9.1/include   -I/usr/local/Qt-5.9.1/include/QtGui -I/usr/local/Qt-5.9.1/include -I/usr/local/Qt-5.9.1/include/QtCore   -I/usr/local/include/opencv -I/usr/local/include   -o object/x86_64bit/AsynchronousOpenCVRecorder.o ../../Source/AsynchronousOpenCVRecorder.cpp
    g++ -std=c++11 -c -I../../Source -I../../../.. -Iobject/x86_64bit -I/usr/local/Qt-5.9.1/include/QtWidgets  -O3 -m64 -fPIC -I../../../../../.. -I../../../../../.. -I../../../../../../VimbaImageTransform/Include -I/usr/local/Qt-5.9.1/include/QtCore -I/usr/local/Qt-5.9.1/include   -I/usr/local/Qt-5.9.1/include/QtGui -I/usr/local/Qt-5.9.1/include -I/usr/local/Qt-5.9.1/include/QtCore   -I/usr/local/include/opencv -I/usr/local/include   -o object/x86_64bit/CameraObserver.o ../../Source/CameraObserver.cpp
    g++ -std=c++11 -c -I../../Source -I../../../.. -Iobject/x86_64bit -I/usr/local/Qt-5.9.1/include/QtWidgets  -O3 -m64 -fPIC -I../../../../../.. -I../../../../../.. -I../../../../../../VimbaImageTransform/Include -I/usr/local/Qt-5.9.1/include/QtCore -I/usr/local/Qt-5.9.1/include   -I/usr/local/Qt-5.9.1/include/QtGui -I/usr/local/Qt-5.9.1/include -I/usr/local/Qt-5.9.1/include/QtCore   -I/usr/local/include/opencv -I/usr/local/include   -o object/x86_64bit/FrameObserver.o ../../Source/FrameObserver.cpp
    g++ -std=c++11 -c -I../../Source -I../../../.. -Iobject/x86_64bit -I/usr/local/Qt-5.9.1/include/QtWidgets  -O3 -m64 -fPIC -I../../../../../.. -I../../../../../.. -I../../../../../../VimbaImageTransform/Include -I/usr/local/Qt-5.9.1/include/QtCore -I/usr/local/Qt-5.9.1/include   -I/usr/local/Qt-5.9.1/include/QtGui -I/usr/local/Qt-5.9.1/include -I/usr/local/Qt-5.9.1/include/QtCore   -I/usr/local/include/opencv -I/usr/local/include   -o object/x86_64bit/main.o ../../Source/main.cpp
    moc -o object/x86_64bit/moc_AsynchronousOpenCVRecorder.cpp ../../Source/AsynchronousOpenCVRecorder.h
    g++ -std=c++11 -c -I../../Source -I../../../.. -Iobject/x86_64bit -I/usr/local/Qt-5.9.1/include/QtWidgets  -O3 -m64 -fPIC -I../../../../../.. -I../../../../../.. -I../../../../../../VimbaImageTransform/Include -I/usr/local/Qt-5.9.1/include/QtCore -I/usr/local/Qt-5.9.1/include   -I/usr/local/Qt-5.9.1/include/QtGui -I/usr/local/Qt-5.9.1/include -I/usr/local/Qt-5.9.1/include/QtCore   -I/usr/local/include/opencv -I/usr/local/include   -o object/x86_64bit/moc_AsynchronousOpenCVRecorder.o object/x86_64bit/moc_AsynchronousOpenCVRecorder.cpp
    moc -o object/x86_64bit/moc_CameraObserver.cpp ../../Source/CameraObserver.h
    g++ -std=c++11 -c -I../../Source -I../../../.. -Iobject/x86_64bit -I/usr/local/Qt-5.9.1/include/QtWidgets  -O3 -m64 -fPIC -I../../../../../.. -I../../../../../.. -I../../../../../../VimbaImageTransform/Include -I/usr/local/Qt-5.9.1/include/QtCore -I/usr/local/Qt-5.9.1/include   -I/usr/local/Qt-5.9.1/include/QtGui -I/usr/local/Qt-5.9.1/include -I/usr/local/Qt-5.9.1/include/QtCore   -I/usr/local/include/opencv -I/usr/local/include   -o object/x86_64bit/moc_CameraObserver.o object/x86_64bit/moc_CameraObserver.cpp
    moc -o object/x86_64bit/moc_FrameObserver.cpp ../../Source/FrameObserver.h
    g++ -std=c++11 -c -I../../Source -I../../../.. -Iobject/x86_64bit -I/usr/local/Qt-5.9.1/include/QtWidgets  -O3 -m64 -fPIC -I../../../../../.. -I../../../../../.. -I../../../../../../VimbaImageTransform/Include -I/usr/local/Qt-5.9.1/include/QtCore -I/usr/local/Qt-5.9.1/include   -I/usr/local/Qt-5.9.1/include/QtGui -I/usr/local/Qt-5.9.1/include -I/usr/local/Qt-5.9.1/include/QtCore   -I/usr/local/include/opencv -I/usr/local/include   -o object/x86_64bit/moc_FrameObserver.o object/x86_64bit/moc_FrameObserver.cpp
    moc -o object/x86_64bit/moc_OpenCVVideoRecorder.cpp ../../Source/OpenCVVideoRecorder.h
    g++ -std=c++11 -c -I../../Source -I../../../.. -Iobject/x86_64bit -I/usr/local/Qt-5.9.1/include/QtWidgets  -O3 -m64 -fPIC -I../../../../../.. -I../../../../../.. -I../../../../../../VimbaImageTransform/Include -I/usr/local/Qt-5.9.1/include/QtCore -I/usr/local/Qt-5.9.1/include   -I/usr/local/Qt-5.9.1/include/QtGui -I/usr/local/Qt-5.9.1/include -I/usr/local/Qt-5.9.1/include/QtCore   -I/usr/local/include/opencv -I/usr/local/include   -o object/x86_64bit/moc_OpenCVVideoRecorder.o object/x86_64bit/moc_OpenCVVideoRecorder.cpp
    rcc -o object/x86_64bit/qrc_AsynchronousOpenCVRecorder.cpp ../../Source/res/AsynchronousOpenCVRecorder.qrc
    g++ -std=c++11 -c -I../../Source -I../../../.. -Iobject/x86_64bit -I/usr/local/Qt-5.9.1/include/QtWidgets  -O3 -m64 -fPIC -I../../../../../.. -I../../../../../.. -I../../../../../../VimbaImageTransform/Include -I/usr/local/Qt-5.9.1/include/QtCore -I/usr/local/Qt-5.9.1/include   -I/usr/local/Qt-5.9.1/include/QtGui -I/usr/local/Qt-5.9.1/include -I/usr/local/Qt-5.9.1/include/QtCore   -I/usr/local/include/opencv -I/usr/local/include   -o object/x86_64bit/qrc_AsynchronousOpenCVRecorder.o object/x86_64bit/qrc_AsynchronousOpenCVRecorder.cpp
    g++ -std=c++11 -m64 -o binary/x86_64bit/AsynchronousOpenCVRecorder object/x86_64bit/ApiController.o object/x86_64bit/AsynchronousOpenCVRecorder.o object/x86_64bit/CameraObserver.o object/x86_64bit/FrameObserver.o object/x86_64bit/main.o object/x86_64bit/moc_AsynchronousOpenCVRecorder.o object/x86_64bit/moc_CameraObserver.o object/x86_64bit/moc_FrameObserver.o object/x86_64bit/moc_OpenCVVideoRecorder.o object/x86_64bit/qrc_AsynchronousOpenCVRecorder.o -Lbinary/x86_64bit -lVimbaCPP -Lbinary/x86_64bit -lVimbaC -Wl,-rpath-link,binary/x86_64bit -Lbinary/x86_64bit -lVimbaImageTransform -Wl,-rpath-link,binary/x86_64bit -L/usr/local/Qt-5.9.1/lib -lQt5Core   -L/usr/local/Qt-5.9.1/lib -lQt5Gui -lQt5Core   -L/usr/local/lib -lopencv_cudabgsegm -lopencv_cudaobjdetect -lopencv_cudastereo -lopencv_stitching -lopencv_cudafeatures2d -lopencv_superres -lopencv_cudacodec -lopencv_videostab -lopencv_cudaoptflow -lopencv_cudalegacy -lopencv_cudawarping -lopencv_aruco -lopencv_bgsegm -lopencv_bioinspired -lopencv_ccalib -lopencv_dpm -lopencv_freetype -lopencv_fuzzy -lopencv_line_descriptor -lopencv_optflow -lopencv_reg -lopencv_saliency -lopencv_stereo -lopencv_structured_light -lopencv_phase_unwrapping -lopencv_rgbd -lopencv_surface_matching -lopencv_tracking -lopencv_datasets -lopencv_text -lopencv_face -lopencv_plot -lopencv_dnn -lopencv_xfeatures2d -lopencv_shape -lopencv_video -lopencv_ximgproc -lopencv_calib3d -lopencv_features2d -lopencv_flann -lopencv_xobjdetect -lopencv_objdetect -lopencv_ml -lopencv_xphoto -lopencv_highgui -lopencv_videoio -lopencv_photo -lopencv_imgcodecs -lopencv_cudaimgproc -lopencv_cudafilters -lopencv_imgproc -lopencv_cudaarithm -lopencv_core -lopencv_cudev   -Wl,-rpath,'$ORIGIN'
    object/x86_64bit/AsynchronousOpenCVRecorder.o: In function `AsynchronousOpenCVRecorder::Log(std::string, VmbErrorType)':
    AsynchronousOpenCVRecorder.cpp:(.text+0xac): undefined reference to `QListWidget::insertItem(int, QString const&)'
    object/x86_64bit/AsynchronousOpenCVRecorder.o: In function `AsynchronousOpenCVRecorder::Log(std::string)':
    AsynchronousOpenCVRecorder.cpp:(.text+0x7cc): undefined reference to `QListWidget::insertItem(int, QString const&)'
    object/x86_64bit/AsynchronousOpenCVRecorder.o: In function `AsynchronousOpenCVRecorder::UpdateCameraListBox()':
    AsynchronousOpenCVRecorder.cpp:(.text+0x863): undefined reference to `QListWidget::clear()'
    AsynchronousOpenCVRecorder.cpp:(.text+0xa69): undefined reference to `QListWidget::count() const'
    AsynchronousOpenCVRecorder.cpp:(.text+0xa76): undefined reference to `QListWidget::insertItem(int, QString const&)'
    AsynchronousOpenCVRecorder.cpp:(.text+0xc95): undefined reference to `QWidget::setEnabled(bool)'
    object/x86_64bit/AsynchronousOpenCVRecorder.o: In function `AsynchronousOpenCVRecorder::AsynchronousOpenCVRecorder(QWidget*, QFlags<Qt::WindowType>)':
    AsynchronousOpenCVRecorder.cpp:(.text+0xf09): undefined reference to `QMainWindow::QMainWindow(QWidget*, QFlags<Qt::WindowType>)'
    AsynchronousOpenCVRecorder.cpp:(.text+0xf8f): undefined reference to `QLabel::setAlignment(QFlags<Qt::AlignmentFlag>)'
    AsynchronousOpenCVRecorder.cpp:(.text+0x1070): undefined reference to `QWidget::setWindowTitle(QString const&)'
    AsynchronousOpenCVRecorder.cpp:(.text+0x16a2): undefined reference to `QMainWindow::~QMainWindow()'
    object/x86_64bit/AsynchronousOpenCVRecorder.o: In function `AsynchronousOpenCVRecorder::OnBnClickedButtonStartstop()':
    AsynchronousOpenCVRecorder.cpp:(.text+0x1819): undefined reference to `QListWidget::currentRow() const'
    AsynchronousOpenCVRecorder.cpp:(.text+0x19ea): undefined reference to `QAbstractButton::setText(QString const&)'
    AsynchronousOpenCVRecorder.cpp:(.text+0x1a49): undefined reference to `QAbstractButton::setText(QString const&)'
    object/x86_64bit/AsynchronousOpenCVRecorder.o: In function `AsynchronousOpenCVRecorder::OnCameraListChanged(int)':
    AsynchronousOpenCVRecorder.cpp:(.text+0x235a): undefined reference to `QWidget::setEnabled(bool)'
    object/x86_64bit/AsynchronousOpenCVRecorder.o: In function `AsynchronousOpenCVRecorder::~AsynchronousOpenCVRecorder()':
    AsynchronousOpenCVRecorder.cpp:(.text+0x253a): undefined reference to `QMainWindow::~QMainWindow()'
    object/x86_64bit/AsynchronousOpenCVRecorder.o: In function `AsynchronousOpenCVRecorder::OnFrameReady(int)':
    AsynchronousOpenCVRecorder.cpp:(.text+0x27f8): undefined reference to `QCheckBox::checkState() const'
    AsynchronousOpenCVRecorder.cpp:(.text+0x2894): undefined reference to `QLabel::setPixmap(QPixmap const&)'
    AsynchronousOpenCVRecorder.cpp:(.text+0x2d01): undefined reference to `QAbstractButton::setChecked(bool)'
    object/x86_64bit/AsynchronousOpenCVRecorder.o: In function `Ui_AsynchronousOpenCVRecorderClass::setupUi(QMainWindow*)':
    AsynchronousOpenCVRecorder.cpp:(.text._ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow[_ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow]+0x7b): undefined reference to `QWidget::resize(QSize const&)'
    AsynchronousOpenCVRecorder.cpp:(.text._ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow[_ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow]+0x83): undefined reference to `QWidget::sizePolicy() const'
    AsynchronousOpenCVRecorder.cpp:(.text._ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow[_ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow]+0x92): undefined reference to `QWidget::setSizePolicy(QSizePolicy)'
    AsynchronousOpenCVRecorder.cpp:(.text._ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow[_ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow]+0xa4): undefined reference to `QWidget::setMinimumSize(int, int)'
    AsynchronousOpenCVRecorder.cpp:(.text._ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow[_ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow]+0xb6): undefined reference to `QWidget::setMaximumSize(int, int)'
    AsynchronousOpenCVRecorder.cpp:(.text._ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow[_ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow]+0x113): undefined reference to `QWidget::setWindowIcon(QIcon const&)'
    AsynchronousOpenCVRecorder.cpp:(.text._ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow[_ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow]+0x12d): undefined reference to `QWidget::QWidget(QWidget*, QFlags<Qt::WindowType>)'
    AsynchronousOpenCVRecorder.cpp:(.text._ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow[_ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow]+0x174): undefined reference to `QListWidget::QListWidget(QWidget*)'
    AsynchronousOpenCVRecorder.cpp:(.text._ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow[_ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow]+0x1ce): undefined reference to `QWidget::setGeometry(QRect const&)'
    AsynchronousOpenCVRecorder.cpp:(.text._ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow[_ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow]+0x1e7): undefined reference to `QListWidget::QListWidget(QWidget*)'
    AsynchronousOpenCVRecorder.cpp:(.text._ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow[_ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow]+0x241): undefined reference to `QWidget::setGeometry(QRect const&)'
    AsynchronousOpenCVRecorder.cpp:(.text._ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow[_ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow]+0x25a): undefined reference to `QPushButton::QPushButton(QWidget*)'
    AsynchronousOpenCVRecorder.cpp:(.text._ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow[_ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow]+0x2b4): undefined reference to `QWidget::setGeometry(QRect const&)'
    AsynchronousOpenCVRecorder.cpp:(.text._ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow[_ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow]+0x2cf): undefined reference to `QLabel::QLabel(QWidget*, QFlags<Qt::WindowType>)'
    AsynchronousOpenCVRecorder.cpp:(.text._ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow[_ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow]+0x329): undefined reference to `QWidget::setGeometry(QRect const&)'
    AsynchronousOpenCVRecorder.cpp:(.text._ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow[_ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow]+0x332): undefined reference to `QWidget::sizePolicy() const'
    AsynchronousOpenCVRecorder.cpp:(.text._ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow[_ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow]+0x342): undefined reference to `QWidget::setSizePolicy(QSizePolicy)'
    AsynchronousOpenCVRecorder.cpp:(.text._ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow[_ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow]+0x35b): undefined reference to `QCheckBox::QCheckBox(QWidget*)'
    AsynchronousOpenCVRecorder.cpp:(.text._ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow[_ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow]+0x3b5): undefined reference to `QWidget::setGeometry(QRect const&)'
    AsynchronousOpenCVRecorder.cpp:(.text._ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow[_ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow]+0x3c1): undefined reference to `QMainWindow::setCentralWidget(QWidget*)'
    AsynchronousOpenCVRecorder.cpp:(.text._ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow[_ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow]+0x3ea): undefined reference to `QWidget::setWindowTitle(QString const&)'
    AsynchronousOpenCVRecorder.cpp:(.text._ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow[_ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow]+0x41c): undefined reference to `QAbstractButton::setText(QString const&)'
    AsynchronousOpenCVRecorder.cpp:(.text._ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow[_ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow]+0x441): undefined reference to `QLabel::setText(QString const&)'
    AsynchronousOpenCVRecorder.cpp:(.text._ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow[_ZN34Ui_AsynchronousOpenCVRecorderClass7setupUiEP11QMainWindow]+0x478): undefined reference to `QAbstractButton::setText(QString const&)'
    object/x86_64bit/main.o: In function `main':
    main.cpp:(.text.startup+0x20a): undefined reference to `QApplication::QApplication(int&, char**, int)'
    main.cpp:(.text.startup+0x21e): undefined reference to `QWidget::show()'
    main.cpp:(.text.startup+0x223): undefined reference to `QApplication::exec()'
    main.cpp:(.text.startup+0x237): undefined reference to `QApplication::~QApplication()'
    main.cpp:(.text.startup+0x252): undefined reference to `QApplication::~QApplication()'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o: In function `AsynchronousOpenCVRecorder::qt_metacall(QMetaObject::Call, int, void**)':
    moc_AsynchronousOpenCVRecorder.cpp:(.text+0xc1): undefined reference to `QMainWindow::qt_metacall(QMetaObject::Call, int, void**)'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o: In function `AsynchronousOpenCVRecorder::qt_metacast(char const*)':
    moc_AsynchronousOpenCVRecorder.cpp:(.text+0x9d): undefined reference to `QMainWindow::qt_metacast(char const*)'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTI26AsynchronousOpenCVRecorder[_ZTI26AsynchronousOpenCVRecorder]+0x10): undefined reference to `typeinfo for QMainWindow'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0x38): undefined reference to `QMainWindow::event(QEvent*)'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0x70): undefined reference to `QWidget::devType() const'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0x78): undefined reference to `QWidget::setVisible(bool)'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0x80): undefined reference to `QWidget::sizeHint() const'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0x88): undefined reference to `QWidget::minimumSizeHint() const'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0x90): undefined reference to `QWidget::heightForWidth(int) const'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0x98): undefined reference to `QWidget::hasHeightForWidth() const'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0xa0): undefined reference to `QWidget::paintEngine() const'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0xa8): undefined reference to `QWidget::mousePressEvent(QMouseEvent*)'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0xb0): undefined reference to `QWidget::mouseReleaseEvent(QMouseEvent*)'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0xb8): undefined reference to `QWidget::mouseDoubleClickEvent(QMouseEvent*)'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0xc0): undefined reference to `QWidget::mouseMoveEvent(QMouseEvent*)'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0xc8): undefined reference to `QWidget::wheelEvent(QWheelEvent*)'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0xd0): undefined reference to `QWidget::keyPressEvent(QKeyEvent*)'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0xd8): undefined reference to `QWidget::keyReleaseEvent(QKeyEvent*)'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0xe0): undefined reference to `QWidget::focusInEvent(QFocusEvent*)'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0xe8): undefined reference to `QWidget::focusOutEvent(QFocusEvent*)'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0xf0): undefined reference to `QWidget::enterEvent(QEvent*)'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0xf8): undefined reference to `QWidget::leaveEvent(QEvent*)'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0x100): undefined reference to `QWidget::paintEvent(QPaintEvent*)'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0x108): undefined reference to `QWidget::moveEvent(QMoveEvent*)'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0x110): undefined reference to `QWidget::resizeEvent(QResizeEvent*)'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0x118): undefined reference to `QWidget::closeEvent(QCloseEvent*)'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0x120): undefined reference to `QMainWindow::contextMenuEvent(QContextMenuEvent*)'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0x128): undefined reference to `QWidget::tabletEvent(QTabletEvent*)'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0x130): undefined reference to `QWidget::actionEvent(QActionEvent*)'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0x138): undefined reference to `QWidget::dragEnterEvent(QDragEnterEvent*)'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0x140): undefined reference to `QWidget::dragMoveEvent(QDragMoveEvent*)'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0x148): undefined reference to `QWidget::dragLeaveEvent(QDragLeaveEvent*)'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0x150): undefined reference to `QWidget::dropEvent(QDropEvent*)'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0x158): undefined reference to `QWidget::showEvent(QShowEvent*)'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0x160): undefined reference to `QWidget::hideEvent(QHideEvent*)'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0x168): undefined reference to `QWidget::nativeEvent(QByteArray const&, void*, long*)'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0x170): undefined reference to `QWidget::changeEvent(QEvent*)'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0x178): undefined reference to `QWidget::metric(QPaintDevice::PaintDeviceMetric) const'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0x180): undefined reference to `QWidget::initPainter(QPainter*) const'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0x188): undefined reference to `QWidget::redirected(QPoint*) const'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0x190): undefined reference to `QWidget::sharedPainter() const'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0x198): undefined reference to `QWidget::inputMethodEvent(QInputMethodEvent*)'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0x1a0): undefined reference to `QWidget::inputMethodQuery(Qt::InputMethodQuery) const'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0x1a8): undefined reference to `QWidget::focusNextPrevChild(bool)'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0x1b0): undefined reference to `QMainWindow::createPopupMenu()'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0x1d8): undefined reference to `non-virtual thunk to QWidget::devType() const'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0x1e0): undefined reference to `non-virtual thunk to QWidget::paintEngine() const'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0x1e8): undefined reference to `non-virtual thunk to QWidget::metric(QPaintDevice::PaintDeviceMetric) const'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0x1f0): undefined reference to `non-virtual thunk to QWidget::initPainter(QPainter*) const'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0x1f8): undefined reference to `non-virtual thunk to QWidget::redirected(QPoint*) const'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro._ZTV26AsynchronousOpenCVRecorder[_ZTV26AsynchronousOpenCVRecorder]+0x200): undefined reference to `non-virtual thunk to QWidget::sharedPainter() const'
    object/x86_64bit/moc_AsynchronousOpenCVRecorder.o:(.data.rel.ro+0x0): undefined reference to `QMainWindow::staticMetaObject'
    collect2: error: ld returned 1 exit status
    make: *** [binary/x86_64bit/AsynchronousOpenCVRecorder] Error 1
    rm object/x86_64bit/moc_AsynchronousOpenCVRecorder.cpp object/x86_64bit/ui_AsynchronousOpenCVRecorder.h object/x86_64bit/moc_FrameObserver.cpp object/x86_64bit/qrc_AsynchronousOpenCVRecorder.cpp object/x86_64bit/moc_OpenCVVideoRecorder.cpp object/x86_64bit/moc_CameraObserver.cpp
    

    can anyone tell me what can be the source of this error[2_1505832922074_Common.mk](Uploading 100%) [1_1505832922073_Makefile](Uploading 100%) [0_1505832922073_VimbaC.mk](Uploading 100%)

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 19 Sept 2017, 15:01 last edited by
      #2

      Hi,

      Can you show your .pro file ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      1/2

      19 Sept 2017, 14:47

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved