Ask Your Question
1

Compilation problem with Qt in trunk version

asked May 26 '13

Victor1234 gravatar image

I think it's related to support for qt5 in a recent commits

In file included from /var/tmp/portage/media-libs/opencv-9999/work/OpenCV-9999/modules/highgui/src/window_QT.cpp:46:0:
/var/tmp/portage/media-libs/opencv-9999/work/OpenCV-9999/modules/highgui/src/window_QT.h:81:17: fatal error: QTest: No such file or directory

Is it trunk version problem or only my?

System:
Linux machine 3.5.7-gentoo #2 SMP

Preview: (hide)

Comments

I have the same problem on windows-mingw32

ljqx gravatar imageljqx (May 27 '13)edit

2 answers

Sort by » oldest newest most voted
1

answered May 27 '13

ljqx gravatar image

I've solved the problem(on windows-mingw32) by inserting QTDIR/include/QtTest into env variable CPLUS_INCLUDE_PATH, QTDIR/lib into LIBRARY_PATH.

Preview: (hide)
0

answered Jun 15 '13

mtngardener gravatar image

For MS VS2012 Express I solved it the equivalent (I think) way of adding my Qt4\include directory to the VC++->common propeties-> "include directories" on the property sheet for both debug and release build configs.

Preview: (hide)

Question Tools

Stats

Asked: May 26 '13

Seen: 744 times

Last updated: Jun 15 '13