Skip to content

Compile Error --> Missing include in modelexporthelper.cpp (undeclared identifier 'qApp') #2050

@nuria-gomez

Description

@nuria-gomez

Hi, I am compiling the latest source (pgmodeler-2.0.0-alpha) on Linux (Qt 6.4.2). Today Jan 17 2026 I encountered a compilation error in libs/libgui/src/tools/modelexporthelper.cpp.

error:
use of undeclared identifier qApp
Fix:
it's really easy to fix by manually adding #include <QApplication> at the beginning of libs/libgui/src/tools/modelexporthelper.cpp.

Please consider adding this include for compatibility.

Thank you very much :)

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