[Interest] QtGui/QList include

Manner RĂ³bert rmanni at gmail.com
Wed Jul 4 09:23:32 CEST 2018


Hi,

I have found a strange issue also present in Qt 5.11 with including QList
header. In such circumstance when QtGui include path is in priority of
QtCore, the

#include <QList>

includes QEvent, not QList. This is because of a bad include present under
QtGui:

$ cat /usr/include/qt/QtGui/QList
#include "qevent.h"

Does this file serve any purpose, is it worth a bug report?

Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20180704/6577b4b9/attachment.html>


More information about the Interest mailing list