Skip to content

Error while building member reference base type 'int' is not a structure or union #779

@matthewyang204

Description

@matthewyang204

Operating System and Version

macOS 15 Sequioa

Distribution

src

Description

When built from /build via qmake ../src/NotepadNext.pro && make -j16, it gives this error while building:

../../src/NotepadNext/dialogs/MainWindow.cpp:868:52: error: member reference base type 'int' is not a structure or union
  868 |             if (sequence.count() > 0 && sequence[0].key() != Qt::Key_unknown) {
      |                                         ~~~~~~~~~~~^~~~

Steps to Reproduce

  1. Make a directory /build inside of the cloned repo
  2. qmake ../src/NotepadNext.pro
  3. make -j16

Debug Information

N/A because the app refuses to build, let alone use it

Additional Details

../../src/NotepadNext/dialogs/MainWindow.cpp:868:52: error: member reference base type 'int' is not a structure or union
  868 |             if (sequence.count() > 0 && sequence[0].key() != Qt::Key_unknown) {
      |                                         ~~~~~~~~~~~^~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildCompilation/build issuesmacosRelated specifically to macOS

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions