From owner-freebsd-ports@freebsd.org Mon Jul 17 21:31:33 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A0881DA1CBA for ; Mon, 17 Jul 2017 21:31:33 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 8A5107396F for ; Mon, 17 Jul 2017 21:31:33 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: by mailman.ysv.freebsd.org (Postfix) id 86E4DDA1CB9; Mon, 17 Jul 2017 21:31:33 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 868B5DA1CB8 for ; Mon, 17 Jul 2017 21:31:33 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell1.rawbw.com (shell1.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 5B07E7396D; Mon, 17 Jul 2017 21:31:33 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from yv.noip.me (c-24-6-186-56.hsd1.ca.comcast.net [24.6.186.56]) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id v6HLVWnQ019209 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Mon, 17 Jul 2017 14:31:32 -0700 (PDT) (envelope-from yuri@rawbw.com) X-Authentication-Warning: shell1.rawbw.com: Host c-24-6-186-56.hsd1.ca.comcast.net [24.6.186.56] claimed to be yv.noip.me Subject: Re: CMAKE_AUTOMOC doesn't work To: Jan Beich References: <6f0d8a31-ae70-fb7a-a06c-bfd79d25ea47@rawbw.com> <379u-sqt6-wny@FreeBSD.org> Cc: "ports@freebsd.org" From: Yuri Message-ID: Date: Mon, 17 Jul 2017 14:31:31 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <379u-sqt6-wny@FreeBSD.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jul 2017 21:31:33 -0000 On 07/17/2017 14:21, Jan Beich wrote: > Can you show the error log? IIRC, CMake cannot build Qt-based projects > without QMake installed and automoc isn't invoked for Qt5. > > I maintain a few Qt5 ports that build via USES=cmake. For one, > citra-qt5, ppsspp-qt5, rpcs3 have set(CMAKE_AUTOMOC ON). Adding USE_QT5+=qmake_build doesn't help. It doesn't |print "||Automatic moc for target". It doesn't call 'moc', in the end link fails with undefined symbols corresponding to Qt5 signals. Files moc_*.* are missing. | | | |Yuri |