Web lists-archives.com

Re: mingw include path missing Qt




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