Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Expression evaluator shows <no such value> on 2d arrays. 1d arrays are OK, so are single variables. Qt 10.0.2 Windows 10

Expression evaluator shows <no such value> on 2d arrays. 1d arrays are OK, so are single variables. Qt 10.0.2 Windows 10

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
2 Posts 1 Posters 121 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Cedric-air
    wrote on 3 Dec 2024, 10:35 last edited by
    #1

    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();
    }
    

    9b55b227-1776-488b-9406-6cc1ca3199e3-image.png

    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.
    
    1 Reply Last reply
    0
    • C Offline
      C Offline
      Cedric-air
      wrote on 3 Dec 2024, 10:47 last edited by
      #2

      Solved by updating Qt:

      image.png

      image.png

      1 Reply Last reply
      0
      • C Cedric-air has marked this topic as solved on 3 Dec 2024, 10:47
      • C Christian Ehrlicher moved this topic from General and Desktop on 3 Dec 2024, 14:03

      1/2

      3 Dec 2024, 10:35

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved