Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
Qt Creator 4.7.0
-
None
-
Windows7 64 bits
Description
After updating Qt Creator from 4.6.0 (built on mar 27 2018) to 4.7.0 (built on july 17 2018), several semantic issues showed up.
For example, the code below will be fine.
//main.cpp
QObject::connect(&p1, SIGNAL(mysignal), &p2, SLOT(myslot)), Qt::QueuedConnection)
// other file.hpp class p2: public QObject { Q_OBJECT public: /// Contructor explicit p2(QObject *parent = nullptr); /// Destructor virtual ~p2(); ... }
But, if I add a QQueue to p2, such as
QQueue<Type not important here> my_queue;
Then this error will appear at the connect line of the main.cpp.
error: no matching for call to connect
For the moment, I rolled back to QTCreator 4.6.0 and the issue is gone.