Ask Your Question

RetroHelix's profile - activity

2015-10-12 01:36:47 -0600 received badge  Enthusiast
2015-10-10 15:22:13 -0600 received badge  Supporter (source)
2015-10-10 15:21:13 -0600 commented question CMakefile settings required for building x64 bit On windows10 both static/dynamic libraries that complies with VS2013 and can be used directly in Qt Creator 5.5

I literally spent a day or more on getting this to work without any result. I guess it's an ABI issue like stated here: http://stackoverflow.com/questions/40...

I just want to use all the highgui qt features and the contrib modules but I don't see a way to make this work in VS2013. Building OpenCV300 with Qt5.5 (WITH_QT flag in CMAKE) and the contrib modules is not working, as I wrote here: http://answers.opencv.org/question/71... But building the same with MINGW wont work either. I'm totally lost now and wonder how I get a configuration/build that lets me use this http://opencv.jp/opencv-2svn_org/cpp/....

2015-10-01 05:48:21 -0600 commented question Compiling OpenCV with Qt in VS2013

I tried to build OpenCV + extra Modules + Qt5.5 with minGW in the hope this would work. It does NOT :) "undefined reference to qwidget..." when running mingw-32 make.

I 'just' want to have the Qt GUI elements in OpenCV. Isn't there an easy way to get this working?

2015-09-29 23:31:18 -0600 asked a question Compiling OpenCV with Qt in VS2013

Hi,

I used this tutorial (https://putuyuwono.wordpress.com/2015...) to build OpenCV 3.0.0 with Qt5.5 and the extra modules from the repo. After creating the VS Studio Solution with CMake I get the following error when building everything in VS2013:

"invalid numeric argument '/Wextra'" in opencv_cvv and opencv_test_cvv in the file "cl".

The full CMakeList.txt looks like this:

if(NOT HAVE_QT5)
  ocv_module_disable(cvv)
  return()
endif()

# we need C++11 and want warnings:
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Wextra -pedantic")
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wshadow -Wmissing-declarations)

# Qt5
set(CMAKE_AUTOMOC ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
foreach(dt5_dep Core Gui Widgets)
  add_definitions(${Qt5${dt5_dep}_DEFINITIONS})
  include_directories(${Qt5${dt5_dep}_INCLUDE_DIRS})
  list(APPEND CVV_LIBRARIES ${Qt5${dt5_dep}_LIBRARIES})
endforeach()

set(the_description "Debug visualization framework")
ocv_define_module(cvv opencv_core opencv_imgproc opencv_features2d ${CVV_LIBRARIES} WRAP python)

I have configured VS 2013 to be the compiler in CMake. Any Ideas whats wrong?