Details
-
Bug
-
Resolution: Cannot Reproduce
-
P2: Important
-
Qt Creator 4.6.1, Qt Creator 13.0.0-beta1
-
Linux, macOS
Description
Example: open the qtdeclarative project, load qquickdrag_p.h, go to the QQuickDragGrabber::setTarget() function (currently line 99), right-click and select Find Usages. It doesn't even try to find any usages, presumably because this entire class is inside #if QT_CONFIG(draganddrop). I'm not sure if there's supposed to be an attempt to detect which features are enabled in my build; but if so, that's not working. Maybe it would be better to assume that all features are enabled, if detecting which ones are actually enabled is hard or error-prone?
This might be a dup of QTCREATORBUG-18500 but I'm not sure.
I'm trying to figure out how DnD works in Qt Quick, and not having the code model working for these blocks is hindering me quite a bit. I guess I have to comment out all those #ifs first.