ports/172156: graphics/opencv with QT4 option needs qtestlib too

RyoTa SimaMoto liangtai.s4 at gmail.com
Sat Sep 29 08:10:11 UTC 2012


>Number:         172156
>Category:       ports
>Synopsis:       graphics/opencv with QT4 option needs qtestlib too
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 29 08:10:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     RyoTa SimaMoto
>Release:        9-STABLE
>Organization:
>Environment:
FreeBSD takiba.fakenet 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0 r240880: Tue Sep 25 17:08:36 JST 2012     root at takiba.fakenet:/usr/obj/usr/src/sys/VAIO  i386

>Description:
When enabling QT4 option (Build with Qt backend support),
OpenCV-2.3.1 fails to build of modules/highgui/src/window_QT.cpp
with an error message like as:

In file included from /usr/ports/graphics/opencv/work/OpenCV-2.3.1/modules/highgui/src/window_QT.cpp:44:
/usr/ports/graphics/opencv/work/OpenCV-2.3.1/modules/highgui/src/window_QT.h:82:10: fatal error: 
      'QtTest/QTest' file not found
#include <QtTest/QTest>
         ^
1 warning and 1 error generated.

>How-To-Repeat:

>Fix:
Add 'qtestlib' into USE_QT4 variable collection of the port's Makefile


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list