Skip to content

qeframework r4.0.1 compilation issue #10

@sarthak-gupta-sg

Description

@sarthak-gupta-sg

On compiling qeframework r4.0.1, following errors are encountered:

widgets/QENumericEdit/QENumericEdit.cpp: In member function ‘void QENumericEdit::commonSetup()’:
widgets/QENumericEdit/QENumericEdit.cpp:160:38: error: ‘DISPLAY_ALARM_STATE_ALWAYS’ was not declared in this scope
  160 |    this->setDisplayAlarmStateOption (DISPLAY_ALARM_STATE_ALWAYS);
         |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~
widgets/QENumericEdit/QENumericEdit.cpp: In member function ‘void QENumericEdit::calculateAutoValues()’:
widgets/QENumericEdit/QENumericEdit.cpp:610:48: error: ‘Scientific’ is not a member of ‘QNumericEdit’
  610 |       if (this->getNotation() == QNumericEdit::Scientific) {
         |                                             ^~~~~~~

The environment is as follows:
OS: Almalinux 9.4
Compiler: gcc version 11.4.1 20231218 (Red Hat 11.4.1-3) (GCC)
Qt: 6.4.3
QWT: 6.3.0

qeframework r3.final is compiling fine on the aforementioned platform

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions