public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* mingw include path missing Qt
@ 2017-10-20 18:00 Peter Quiring
  2017-10-20 18:13 ` Marco Atzeri
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Quiring @ 2017-10-20 18:00 UTC (permalink / raw)
  To: cygwin

Another issue I'm having with mingw is the Qt headers are not in the
include path.

So I always have to add
-Ic:\cygwin\usr\x86_64-w64-mingw32\sys-root\mingw\include\qt5 to get
the Qt headers included.

Is there a correct way to do this?

Thanks.

-- 
Peter Quiring

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: mingw include path missing Qt
  2017-10-20 18:00 mingw include path missing Qt Peter Quiring
@ 2017-10-20 18:13 ` Marco Atzeri
  2017-10-23 12:19   ` Peter Quiring
  0 siblings, 1 reply; 3+ messages in thread
From: Marco Atzeri @ 2017-10-20 18:13 UTC (permalink / raw)
  To: cygwin

On 20/10/2017 20:00, Peter Quiring wrote:
> Another issue I'm having with mingw is the Qt headers are not in the
> include path.
> 
> So I always have to add
> -Ic:\cygwin\usr\x86_64-w64-mingw32\sys-root\mingw\include\qt5 to get
> the Qt headers included.
> 
> Is there a correct way to do this?
> 
> Thanks.

this is true for any Qt5 header, not just for mingw.

$ ls -1 /usr/include/qt5
Qsci
QtCLucene
QtConcurrent
QtCore
QtDBus
....

The build system should add the proper include path
if need qt5, or you need to do it.

Regards
Marco







--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: mingw include path missing Qt
  2017-10-20 18:13 ` Marco Atzeri
@ 2017-10-23 12:19   ` Peter Quiring
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Quiring @ 2017-10-23 12:19 UTC (permalink / raw)
  To: cygwin

I didn't see it was in /usr/include/qt5 as well.  That would be a
standard location.  Thanks.

On Fri, Oct 20, 2017 at 2:13 PM, Marco Atzeri <marco.atzeri@gmail.com> wrote:
> On 20/10/2017 20:00, Peter Quiring wrote:
>>
>> Another issue I'm having with mingw is the Qt headers are not in the
>> include path.
>>
>> So I always have to add
>> -Ic:\cygwin\usr\x86_64-w64-mingw32\sys-root\mingw\include\qt5 to get
>> the Qt headers included.
>>
>> Is there a correct way to do this?
>>
>> Thanks.
>
>
> this is true for any Qt5 header, not just for mingw.
>
> $ ls -1 /usr/include/qt5
> Qsci
> QtCLucene
> QtConcurrent
> QtCore
> QtDBus
> ....
>
> The build system should add the proper include path
> if need qt5, or you need to do it.
>
> Regards
> Marco
>
>
>
>
>
>
>
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>



-- 
Peter Quiring

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-10-23 12:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-20 18:00 mingw include path missing Qt Peter Quiring
2017-10-20 18:13 ` Marco Atzeri
2017-10-23 12:19   ` Peter Quiring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).