From nobody@FreeBSD.org  Sat Sep 29 08:06:19 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id E1DED106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 29 Sep 2012 08:06:19 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id CDA9A8FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 29 Sep 2012 08:06:19 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id q8T86JDQ015747
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 29 Sep 2012 08:06:19 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id q8T86J1p015733;
	Sat, 29 Sep 2012 08:06:19 GMT
	(envelope-from nobody)
Message-Id: <201209290806.q8T86J1p015733@red.freebsd.org>
Date: Sat, 29 Sep 2012 08:06:19 GMT
From: RyoTa SimaMoto <liangtai.s4@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: graphics/opencv with QT4 option needs qtestlib too
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         172156
>Category:       ports
>Synopsis:       graphics/opencv with QT4 option needs qtestlib too
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    mm
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 29 08:10:10 UTC 2012
>Closed-Date:    Tue Oct 23 20:20:16 UTC 2012
>Last-Modified:  Tue Oct 23 20:20:16 UTC 2012
>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@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:
Responsible-Changed-From-To: freebsd-ports-bugs->mm 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat Sep 29 08:10:22 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=172156 
State-Changed-From-To: open->closed 
State-Changed-By: mm 
State-Changed-When: Tue Oct 23 20:20:16 UTC 2012 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=172156 
>Unformatted:
