Expression evaluator shows <no such value> on 2d arrays. 1d arrays are OK, so are single variables. Qt 10.0.2 Windows 10
Moved
Solved
Qt Creator and other tools
-
The Expression evaluator shows <no such value> on 2d arrays.
I have the following code. When I debug this, I can add an expression evaluator on all 3 variables, but on testDataTwoDimArray I see <no such value> instead of the numbers.#include "mainwindow.h" #include <QApplication> #include <stdint.h> uint8_t testDataTwoDimArray[15][4]; uint8_t testDataOneDimArray[15]; uint8_t testDataOneNumber; int main(int argc, char *argv[]) { QApplication a(argc, argv); MainWindow w; w.show(); return a.exec(); }
Versions:
Qt Creator 10.0.2 Based on Qt 6.4.3 (MSVC 2019, x86_64) Built on Jun 14 2023 01:21:18 From revision b1e4ed3b7c Qt 5.12.2, mingw81_64 Windows 10 Home, 10.0.19044 Build 19044
Compile output:
11:25:45: Running steps for project 2d-array... 11:25:45: Starting: "C:\Qt\Tools\CMake_64\bin\cmake.exe" --build C:/Users/cedric/Documents/build-2d-array-Desktop_Qt_5_15_2_MinGW_64_bit-Debug --target all [1/5 1.6/sec] Automatic MOC and UIC for target 2d-array [2/5 1.0/sec] Building CXX object CMakeFiles/2d-array.dir/2d-array_autogen/mocs_compilation.cpp.obj [3/5 1.5/sec] Building CXX object CMakeFiles/2d-array.dir/mainwindow.cpp.obj [4/5 2.0/sec] Building CXX object CMakeFiles/2d-array.dir/main.cpp.obj [5/5 2.2/sec] Linking CXX executable 2d-array.exe 11:25:47: The process "C:\Qt\Tools\CMake_64\bin\cmake.exe" exited normally. 11:25:47: Elapsed time: 00:02.
-
Solved by updating Qt:
-
-
C Christian Ehrlicher moved this topic from General and Desktop on