Need help to resolve Compilation issues while compiling textedit for code coverage
-
Hello,
I am following the "Code coverage for a Qt application." to explore the code coverage on Qt applications. As per the doc I have taken the textedit as an example. But I am not able to compile the source code using nmake as per the instructions.
If I use, MinGW version as 8.1.0, I am getting below error:
If I use MinGW version as 11.2.0, I am getting below error:
The reason for the header file issues is unknown to me, as the code appears to have proper syntax when I check it.
Qt version : Qt6
Squish cooc: 7.0.0
MinGW: 8.1.0, 11.2.0 -
@KalyanDevarakonda said in Need help to resolve Compilation issues while compiling textedit for code coverage:
nmake
nmake?
If you use MinGW then your should use make provided by it, not nmake which is for Visual C++ compiler if I'm not mistaken. -
@KalyanDevarakonda You should also use MinGW provided by Qt Online Installer
-
@KalyanDevarakonda, I recommend to get in touch with the Coco technical support. This is best done by creating a support request via the customer portal's "Support Center":
https://account.qt.io/s/support-center
Best regards,
Clemens Anhuth -
@KalyanDevarakonda said in Need help to resolve Compilation issues while compiling textedit for code coverage:
I have tried installing make, but the result is same
If you install MinGW using Qt Online Installer or Qt Maintenance Tool it will also install make, no need to install it manually.
You also should use the preconfigured terminal (cmd.exe) which is provided by MinGW in Windows start menu. -
-