Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
Qt Creator 3.0.1, Qt Creator 3.1.0-rc1, Qt Creator 4.0.0-rc1, Qt Creator 4.13.0-rc1
-
Windows 7 64 bit, Windows 10 2004 64 bit
MinGW 5.3.0 32 bit, MinGW 8.1.0 64 bit
Qt 4.8.7 self built, Qt 5.15.0 from online installer
Description
- Start Creator.
Doing this with an already running Creator can lead to different results. - Create a new Qt Widgets Application.
- Configure the project with a kit using Qt 4.8.0 built with MinGW.
- Type "m main" into the Locator bar.
Creator will only list MainWindow's ctor and dtor. - Configure the project with a kit using Qt 5.2.1 built with MinGW.
- Type "m main" into the Locator bar.
Creator will additionally list one signal, but not any main function. - Configure the project with a kit using Qt 5.2.1 built with MSVC 2010.
- Type "m main" into the Locator bar.
Creator will list two signals and five functions, including the main function. - Configure the project with a kit using Qt 4.8.0 built with MinGW.
- Type "m main" into the Locator bar.
Creator will list two signals and four functions, the main function is missing again.
It does not matter whether the clang code model or the built-in one are being used.
The Locator bar should always list the same functions, regardless of the selected kit. Now the displayed functions don't just depend on the active kit but even on the previously selected kits.
(#ifdef and functions used in one kit only are an exception of course.)
Attachments
Issue Links
- duplicates
-
QTCREATORBUG-22155 Locator does not find function main
- Closed