Open burnzzz opened 7 years ago
Hi @burnzzz ,
Sorry for my long feedback to you. I successfully built the bgslibrary QT GUI on my macOS Sierra. I used OpenCV 3.3.0 and Qt 5.9.1. I have not tested yet on Ubuntu 16.04, but I will try it after. Do you have some news in your side?
Please, see:
Andrewss-MacBook-Pro:build andrewssobral$ pwd
/Users/andrewssobral/Projects/github/bgslibrary/gui_qt/build
Andrewss-MacBook-Pro:build andrewssobral$ qmake --version
QMake version 3.1
Using Qt version 5.9.1 in /Users/andrewssobral/Qt/5.9.1/clang_64/lib
Andrewss-MacBook-Pro:build andrewssobral$ cmake ..
-- The C compiler identification is AppleClang 8.1.0.8020042
-- The CXX compiler identification is AppleClang 8.1.0.8020042
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Qt5Widgets status:
-- version: 5.9.1
-- libraries: Qt5::Widgets
-- include path: /Users/andrewssobral/Qt/5.9.1/clang_64/lib/QtWidgets.framework;/Users/andrewssobral/Qt/5.9.1/clang_64/lib/QtWidgets.framework/Headers;/Users/andrewssobral/Qt/5.9.1/clang_64/lib/QtGui.framework;/Users/andrewssobral/Qt/5.9.1/clang_64/lib/QtGui.framework/Headers;/Users/andrewssobral/Qt/5.9.1/clang_64/lib/QtCore.framework;/Users/andrewssobral/Qt/5.9.1/clang_64/lib/QtCore.framework/Headers;/Users/andrewssobral/Qt/5.9.1/clang_64/.//mkspecs/macx-clang;/System/Library/Frameworks/OpenGL.framework/Headers
-- Found OpenCV: /usr/local (found version "3.3.0")
-- OpenCV library status:
-- version: 3.3.0
-- libraries: opencv_calib3d;opencv_core;opencv_dnn;opencv_features2d;opencv_flann;opencv_highgui;opencv_imgcodecs;opencv_imgproc;opencv_ml;opencv_objdetect;opencv_photo;opencv_shape;opencv_stitching;opencv_superres;opencv_video;opencv_videoio;opencv_videostab;opencv_aruco;opencv_bgsegm;opencv_bioinspired;opencv_ccalib;opencv_datasets;opencv_dnn_modern;opencv_dpm;opencv_face;opencv_fuzzy;opencv_hdf;opencv_img_hash;opencv_line_descriptor;opencv_optflow;opencv_phase_unwrapping;opencv_plot;opencv_reg;opencv_rgbd;opencv_saliency;opencv_stereo;opencv_structured_light;opencv_surface_matching;opencv_text;opencv_tracking;opencv_xfeatures2d;opencv_ximgproc;opencv_xobjdetect;opencv_xphoto
-- include path: /usr/local/include;/usr/local/include/opencv
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/andrewssobral/Projects/github/bgslibrary/gui_qt/build
Andrewss-MacBook-Pro:build andrewssobral$
...and let's build (I suppressed the warnings):
Andrewss-MacBook-Pro:build andrewssobral$ make -j8
Scanning dependencies of target libbgs_autogen
[ 1%] Automatic MOC and UIC for target libbgs
Generating MOC compilation mocs_compilation.cpp
[ 1%] Built target libbgs_autogen
Scanning dependencies of target libbgs
[ 2%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/CodeBook.cpp.o
[ 3%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/AdaptiveBackgroundLearning.cpp.o
[ 4%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/DPEigenbackground.cpp.o
[ 4%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/AdaptiveSelectiveBackgroundLearning.cpp.o
[ 5%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/DPGrimsonGMM.cpp.o
[ 6%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/DPAdaptiveMedian.cpp.o
[ 7%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/DPPratiMediod.cpp.o
[ 8%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/DPMean.cpp.o
[ 9%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/DPTexture.cpp.o
[ 10%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/DPWrenGA.cpp.o
[ 11%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/FrameDifference.cpp.o
[ 12%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/DPZivkovicAGMM.cpp.o
[ 12%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/FuzzyChoquetIntegral.cpp.o
[ 13%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/FuzzySugenoIntegral.cpp.o
[ 14%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/GMG.cpp.o
[ 15%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/IMBS/IMBS.cpp.o
[ 16%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/IndependentMultimodal.cpp.o
[ 17%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/KDE.cpp.o
[ 19%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/KDE/KernelTable.cpp.o
[ 19%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/KDE/NPBGSubtractor.cpp.o
[ 20%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/KDE/NPBGmodel.cpp.o
[ 21%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/KNN.cpp.o
[ 22%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/LBAdaptiveSOM.cpp.o
[ 22%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/LBFuzzyAdaptiveSOM.cpp.o
[ 23%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/LBFuzzyGaussian.cpp.o
[ 24%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/LBMixtureOfGaussians.cpp.o
[ 25%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/LBP_MRF.cpp.o
[ 26%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/LBP_MRF/MEDefs.cpp.o
[ 27%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/LBP_MRF/MEHistogram.cpp.o
[ 28%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/LBP_MRF/MEImage.cpp.o
[ 29%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/LBP_MRF/MotionDetection.cpp.o
[ 31%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/LBP_MRF/maxflow.cpp.o
[ 31%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/LBP_MRF/graph.cpp.o
[ 33%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/LBSP/BackgroundSubtractorLOBSTER.cpp.o
[ 33%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/LBSP/BackgroundSubtractorLBSP_.cpp.o
[ 35%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/LBSP/BackgroundSubtractorPAWCS.cpp.o
[ 35%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/LBSP/BackgroundSubtractorSuBSENSE.cpp.o
[ 36%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/LBSP/LBSP.cpp.o
[ 37%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/LBSP/LBSP_.cpp.o
[ 38%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/LBSimpleGaussian.cpp.o
[ 39%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/LOBSTER.cpp.o
[ 40%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/MixtureOfGaussianV1.cpp.o
[ 41%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/MixtureOfGaussianV2.cpp.o
[ 42%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/MultiCue.cpp.o
[ 42%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/MultiLayer.cpp.o
[ 43%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/MultiLayer/BlobExtraction.cpp.o
[ 44%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/MultiLayer/BlobResult.cpp.o
[ 45%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/MultiLayer/CMultiLayerBGS.cpp.o
[ 46%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/MultiLayer/LocalBinaryPattern.cpp.o
[ 47%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/MultiLayer/blob.cpp.o
[ 48%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/PAWCS.cpp.o
[ 49%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/PBAS/PBAS.cpp.o
[ 50%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/PixelBasedAdaptiveSegmenter.cpp.o
[ 51%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/SigmaDelta.cpp.o
[ 52%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/SigmaDelta/sdLaMa091.cpp.o
[ 52%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/StaticFrameDifference.cpp.o
[ 53%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/SuBSENSE.cpp.o
1 warning generated.
[ 54%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/T2F/FuzzyUtils.cpp.o
[ 55%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/T2F/MRF.cpp.o
[ 56%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/T2F/T2FGMM.cpp.o
[ 57%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/T2F/T2FMRF.cpp.o
[ 58%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/T2FGMM_UM.cpp.o
7 warnings generated.
[ 59%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/T2FGMM_UV.cpp.o
[ 60%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/T2FMRF_UM.cpp.o
[ 61%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/T2FMRF_UV.cpp.o
[ 62%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/TwoPoints.cpp.o
[ 62%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/TwoPoints/two_points.cpp.o
[ 63%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/ViBe.cpp.o
[ 64%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/ViBe/vibe-background-sequential.cpp.o
[ 65%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/VuMeter.cpp.o
[ 66%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/VuMeter/TBackground.cpp.o
[ 67%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/VuMeter/TBackgroundVuMeter.cpp.o
[ 68%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/WeightedMovingMean.cpp.o
[ 69%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/WeightedMovingVariance.cpp.o
[ 70%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/_template_/Amber.cpp.o
[ 71%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/_template_/MyBGS.cpp.o
[ 72%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/dp/AdaptiveMedianBGS.cpp.o
[ 72%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/dp/Eigenbackground.cpp.o
[ 73%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/dp/Error.cpp.o
[ 74%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/dp/GrimsonGMM.cpp.o
[ 75%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/dp/Image.cpp.o
[ 76%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/dp/MeanBGS.cpp.o
[ 77%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/dp/PratiMediodBGS.cpp.o
2 warnings generated.
[ 78%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/dp/TextureBGS.cpp.o
[ 79%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/dp/WrenGA.cpp.o
[ 80%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/dp/ZivkovicAGMM.cpp.o
[ 81%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/lb/BGModel.cpp.o
[ 82%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/lb/BGModelFuzzyGauss.cpp.o
[ 82%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/lb/BGModelFuzzySom.cpp.o
[ 83%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/lb/BGModelGauss.cpp.o
[ 84%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/lb/BGModelMog.cpp.o
1 warning generated.
[ 85%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/lb/BGModelSom.cpp.o
[ 86%] Building C object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_bgs/_template_/amber/amber.c.o
[ 87%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_analysis/ForegroundMaskAnalysis.cpp.o
[ 88%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_analysis/PerformanceUtils.cpp.o
[ 89%] Building CXX object CMakeFiles/libbgs.dir/Users/andrewssobral/Projects/github/bgslibrary/package_analysis/PixelUtils.cpp.o
[ 90%] Building CXX object CMakeFiles/libbgs.dir/libbgs_autogen/mocs_compilation.cpp.o
2 warnings generated.
[ 91%] Linking CXX static library libbgs.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libbgs.a(GMG.cpp.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libbgs.a(MixtureOfGaussianV1.cpp.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libbgs.a(mocs_compilation.cpp.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libbgs.a(GMG.cpp.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libbgs.a(MixtureOfGaussianV1.cpp.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libbgs.a(mocs_compilation.cpp.o) has no symbols
[ 91%] Built target libbgs
Scanning dependencies of target bgslibrary_gui_autogen
[ 92%] Generating qrc_application.cpp
[ 93%] Automatic MOC and UIC for target bgslibrary_gui
Generating MOC source EWIEGA46WW/moc_mainwindow.cpp
Generating MOC source EWIEGA46WW/moc_qt_utils.cpp
/Users/andrewssobral/Projects/github/bgslibrary/gui_qt/qt_utils.h:0: Note: No relevant classes found. No output generated.
Generating MOC source EWIEGA46WW/moc_texteditor.cpp
Generating MOC compilation mocs_compilation.cpp
Generating UIC header include/ui_mainwindow.h
[ 93%] Built target bgslibrary_gui_autogen
Scanning dependencies of target bgslibrary_gui
[ 94%] Building CXX object CMakeFiles/bgslibrary_gui.dir/bgslibrary_gui.cpp.o
[ 95%] Building CXX object CMakeFiles/bgslibrary_gui.dir/qt_utils.cpp.o
[ 96%] Building CXX object CMakeFiles/bgslibrary_gui.dir/mainwindow.cpp.o
[ 97%] Building CXX object CMakeFiles/bgslibrary_gui.dir/qrc_application.cpp.o
[ 98%] Building CXX object CMakeFiles/bgslibrary_gui.dir/texteditor.cpp.o
[ 99%] Building CXX object CMakeFiles/bgslibrary_gui.dir/bgslibrary_gui_autogen/mocs_compilation.cpp.o
[100%] Linking CXX executable bgslibrary_gui
[100%] Built target bgslibrary_gui
Andrewss-MacBook-Pro:build andrewssobral$
@andrewssobral I got the same error with OpenCV3.4.1, Ubuntu16.04 and Qt5.5. Now I am updating to Qt5.10.1. I will report on that after trying with the updated Qt version.
I ran into same issue:
Ubuntu 16 QT 5.5 OpenCV 3.3
I got the same issue when using Qt5.5.1(Install using apt-get install qt5-default), but OpenCV3.3.1, Ubuntu16.04 and Qt5.9 work for me.
Hi @HyuanTan thanks for the update. Yes, i think @burnzzz is right, maybe some incompatible changes between QT 5.6 and QT 5.9, I didn't had time to check this yet, but usually is expected to work on QT >= 5.9.1
QT5.11 works for me but QT5.5.1 doesn't.
I get the following error, when I try to compile the QT gui example with Ubuntu 16.04, OpenCV 3.2 and QT5.9.
I think it´s because of incompatible changes between QT 5.6 and QT 5.9? Do you see an easy fix for this?