From owner-freebsd-questions@freebsd.org Thu Aug 24 19:28:26 2017 Return-Path: Delivered-To: freebsd-questions@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 7271ADE6932 for ; Thu, 24 Aug 2017 19:28:26 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-yw0-x234.google.com (mail-yw0-x234.google.com [IPv6:2607:f8b0:4002:c05::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3A7F6633BB for ; Thu, 24 Aug 2017 19:28:25 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: by mail-yw0-x234.google.com with SMTP id h127so2421814ywf.3 for ; Thu, 24 Aug 2017 12:28:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=9jO9g7zBa5r0UXldkzrld3rFjbFcXXkpJ7geFqeOp/c=; b=PGbl2NRglvJNS/B6X8WPo7oehyPplqBAUHv2zUYOsFo3x9CXOyexUJYvj3gdHa79mi IEX7jlQjViEsZ1//Xf4/L/H26SkNBu8ODrKxalz95TQ5Xr3AAnVWG0tUqASrCP3rc0if J10G8biIpTYHOCSlgTy9tUtlITzqGs442eMNw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=9jO9g7zBa5r0UXldkzrld3rFjbFcXXkpJ7geFqeOp/c=; b=degjaknjrsxtGK/4Iy56tuk2qXVTEtIB4M0CjpsZsQ9AQ6XSpb9KiNmqpR5YTzTcwD slyAWjbpQkzX4Bm/fIz9fQ+QjN6vERfwwhnnu9He1ROIVZmLqYNBdfuXC2NqecZzaaLA D1eT++7vkfG5nd7kmOdDZ5PDq0S6TJQF7hCel9VWbvfO5iC6eUZiW0PIvTPOPYF4kjDX 1kMDN7hX3FZdX6Xqo5Lki4ws2JmX0QelZd8nYufXC1YzabXN/HW6/Xd7IfcN/vZAR1NQ 57C463dgAeeODkNeyTtNpJfHcv1ZRjHIDm+kwYQG4y9jhtQOMljzCNRYAwMC2FKy1VNH iUiA== X-Gm-Message-State: AHYfb5gURHRQkfgyZbhNuiVgm9iFv0YGu9wDq2bkkE6a3VFVkxGQbqSu 7GiwyFFmy1yMKRi6StLtrrnETbp++O+M X-Received: by 10.13.220.6 with SMTP id f6mr5780591ywe.338.1503602904521; Thu, 24 Aug 2017 12:28:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.119.1 with HTTP; Thu, 24 Aug 2017 12:28:24 -0700 (PDT) In-Reply-To: <76784b86-4550-2ef9-21b1-5fc178e326a6@fjl.co.uk> References: <20170821201746.59796aba@Papi> <76784b86-4550-2ef9-21b1-5fc178e326a6@fjl.co.uk> From: Mario Lobo Date: Thu, 24 Aug 2017 16:28:24 -0300 Message-ID: Subject: Re: Error compiling a qt5 application To: Frank Leonhardt Cc: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Aug 2017 19:28:26 -0000 Thanks for the reply, Frank. I managed to get it right from inside the app structure. 2017-08-24 6:44 GMT-03:00 Frank Leonhardt : > Can't fix this but I had grief with a qt5 not compiling (virtualbox IIRC), > so switched to qt4 and everything was fine. QT not really my bag. > > > On 22/08/2017 00:17, Mario Lobo wrote: > >> Hi there; >> >> I'm trying to compile a qt5 application. >> >> OS: reeBSD 11.1-STABLE #0 r321652: Sat Jul 29 10:49:43 BRT 2017 >> >> clang -v >> clang version 4.0.1 (tags/RELEASE_401/final) >> Target: x86_64-unknown-freebsd11.1 >> Thread model: posix >> InstalledDir: /usr/local/llvm40/bin >> >> When I compile, I get this: >> >> Compiling C++... >> In file included from ../../../../../contrib/gtqtc/gtqtc1.cpp:48: >> In file included from ../../../../../contrib/gtqtc/gtqtc.h:53: >> In file included from /usr/local/include/qt5/QtCore/QThread:1: >> In file included from /usr/local/include/qt5/QtCore/qthread.h:43: >> In file included from /usr/local/include/qt5/QtCore/qobject.h:46: >> In file included from /usr/local/include/qt5/QtCore/qobjectdefs.h:48: >> In file included from /usr/local/include/qt5/QtCore/qnamespace.h:43: >> In file included from /usr/local/include/qt5/QtCore/qglobal.h:83: >> /usr/local/include/qt5/QtCore/qcompilerdetection.h:563:6: error: Qt >> requires a C++11 compiler and yours does not seem to be that. # >> error Qt requires a C++11 compiler and yours does not seem to be that. >> >> I tried this in make.conf: >> >> CC=clang >> CXX=clang++ >> CXXFLAGS+=-std=c++11 >> >> and export CXXFLAGS=-std=c++11 >> >> and nothing seems to work. >> >> It seems to me that my clang is new enough to support that standard. >> >> What am i missing here? >> >> Thanks, >> >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe > @freebsd.org" > -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winfoes FREE)