[Qt-creator] Creator RC1 - "go to slot" bug

pekka.kosonen at nokia.com pekka.kosonen at nokia.com
Thu Feb 19 19:23:18 CET 2009


Hi,
If you have two projects with same classes (f.ex creator's default name MainWindow)  the "go to slot" functions as follows:

 a) Let's say project A has used the go to slot function on some component.  If the object name is the same (f.ex pushButton) in project B when the "go to slot" is run on project B
      assumption :  void MainWindow::on_pushButton_pressed()  is created for project B MainWindow class
      actual result : The function is not created for the project B but project A:s MainWindow::on_pushButton_pressed() is just shown

B) if the components name are not the same, f.ex "go to slot" is run on project B's pushButtonAdd
      assumption :  void MainWindow::on_pushButtonAdd_pressed()  is created for project B MainWindow class
      actual result :        assumption :  void MainWindow::on_pushButtonAdd_pressed()  is created for project A MainWindow class

In conclusion, the "go to slot" doesn't function if projects contain files/classes with same names.

I'd consider this is a pretty severe issue on one of the most beneficial new features that creator provides and would hope that it's fixed.

Cheers,
Pekka


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20090219/8505ed42/attachment.html 


More information about the Qt-creator-old mailing list