Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Opencv 400 alpha under Qt framework

Dears all, I am performing a porting OpenCV code 342 realease which was worked on VS2017 CLR (managed) to QT framework. For QT framework I installed with succes OpenCV 400alpha. So when porting I reach an error which is: C:\projets\opencv\QT_framework\Opencv_test\globals.cpp:38: erreur : 'CV_FOURCC' was not declared in this scope writer.open(chemin_video_save_plus_numberfile, CV_FOURCC('X', '2', '6', '4'), 30, size);

What do you thing about error. Is this something specific to Qt or OpenCV400alpha?

I only include : #include <opencv2 opencv.hpp="">

Should I include something else for QT framework?

Also What is the equivalent int number of the CV_FOURCC('X', '2', '6', '4')?

BR

click to hide/show revision 2
None

updated 2018-10-10 00:19:17 -0600

berak gravatar image

Opencv 400 alpha under Qt framework

Dears all, I am performing a porting OpenCV code 342 realease which was worked on VS2017 CLR (managed) to QT framework. For QT framework I installed with succes OpenCV 400alpha. So when porting I reach an error which is: C:\projets\opencv\QT_framework\Opencv_test\globals.cpp:38: erreur : 'CV_FOURCC' was not declared in this scope writer.open(chemin_video_save_plus_numberfile, CV_FOURCC('X', '2', '6', '4'), 30, size);

What do you thing about error. Is this something specific to Qt or OpenCV400alpha?

I only include : #include <opencv2 opencv.hpp="">

Should I include something else for QT framework?

Also What is the equivalent int number of the CV_FOURCC('X', '2', '6', '4')?

BR

click to hide/show revision 3
retagged

updated 2018-10-10 00:19:25 -0600

berak gravatar image

Opencv 400 alpha under Qt framework

Dears all, I am performing a porting OpenCV code 342 realease which was worked on VS2017 CLR (managed) to QT framework. For QT framework I installed with succes OpenCV 400alpha. So when porting I reach an error which is: C:\projets\opencv\QT_framework\Opencv_test\globals.cpp:38: erreur : 'CV_FOURCC' was not declared in this scope writer.open(chemin_video_save_plus_numberfile, CV_FOURCC('X', '2', '6', '4'), 30, size);

What do you thing about error. Is this something specific to Qt or OpenCV400alpha?

I only include : #include <opencv2 opencv.hpp="">

Should I include something else for QT framework?

Also What is the equivalent int number of the CV_FOURCC('X', '2', '6', '4')?

BR

click to hide/show revision 4
retagged

updated 2018-10-10 00:57:33 -0600

berak gravatar image

Opencv 400 alpha under Qt framework

Dears all, I am performing a porting OpenCV code 342 realease which was worked on VS2017 CLR (managed) to QT framework. For QT framework I installed with succes OpenCV 400alpha. So when porting I reach an error which is: C:\projets\opencv\QT_framework\Opencv_test\globals.cpp:38: erreur : 'CV_FOURCC' was not declared in this scope writer.open(chemin_video_save_plus_numberfile, CV_FOURCC('X', '2', '6', '4'), 30, size);

What do you thing about error. Is this something specific to Qt or OpenCV400alpha?

I only include : #include <opencv2 opencv.hpp="">

Should I include something else for QT framework?

Also What is the equivalent int number of the CV_FOURCC('X', '2', '6', '4')?

BR

click to hide/show revision 5
retagged

updated 2018-10-10 00:57:33 -0600

berak gravatar image

Opencv 400 alpha under Qt framework

Dears all, I am performing a porting OpenCV code 342 realease which was worked on VS2017 CLR (managed) to QT framework. For QT framework I installed with succes OpenCV 400alpha. So when porting I reach an error which is: C:\projets\opencv\QT_framework\Opencv_test\globals.cpp:38: erreur : 'CV_FOURCC' was not declared in this scope writer.open(chemin_video_save_plus_numberfile, CV_FOURCC('X', '2', '6', '4'), 30, size);

What do you thing about error. Is this something specific to Qt or OpenCV400alpha?

I only include : #include <opencv2 opencv.hpp="">

Should I include something else for QT framework?

Also What is the equivalent int number of the CV_FOURCC('X', '2', '6', '4')?

BR