Details
-
Bug
-
Resolution: Duplicate
-
P1: Critical
-
None
-
Qt Creator 4.6.2
-
Windows 10 1803 64 bit
Ubuntu
Creator built on Qt 5.10.1
Project configured to use Qt 4.8.7 or Qt 5.6.1
built-in code model or clang-based
Description
- Open the attached project.
It's a default Qt Console Application with an added line. - In main.cpp, type a "." after the usage of "p":
#include <QCoreApplication> int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); QCoreApplication *p; p // type here return a.exec(); }
"p" is a pointer, so the "." should automatically be replaced with "->". This does not work anymore.
In Creator 4.6.1, this used to work correctly. It will work again after switching the project configuration to any other kit.
Found by Squish test tst_memberoperator.
Attachments
Issue Links
- duplicates
-
QTCREATORBUG-20524 [REG 4.6.1 -> 4.6.2] Cannot start Qt Quick Application project
- Closed