Skip to content

Build failure on Debian with Qt 6.4.2 #23

Description

@petterreinholdtsen

When trying to build the source on Debian unstable, I ran into this build problem.

src/main.cpp: In function 'int main(int, char**)':
src/main.cpp:250:60: error: no matching function for call to 'DInsightMainWindow::DInsightMainWindow(DImportFormats*, QString&)'
  250 |     DInsightMainWindow window( &formats, attachmentParsing );
      |                                                            ^
In file included from src/main.cpp:26:
src/gui/dinsightmainwindow.h:71:5: note: candidate: 'DInsightMainWindow::DInsightMainWindow(DContext&, const QString&)'
   71 |     DInsightMainWindow( DContext& context, const QString& attachmentParsing );
      |     ^~~~~~~~~~~~~~~~~~
src/gui/dinsightmainwindow.h:71:35: note:   no known conversion for argument 1 from 'DImportFormats*' to 'DContext&'
   71 |     DInsightMainWindow( DContext& context, const QString& attachmentParsing );
      |                         ~~~~~~~~~~^~~~~~~
make[1]: *** [Makefile.Release:527: obj/LNX/release/main.o] Error 1

Any idea what is going wrong here? All the classes involved seem to be internal to this project, and I fail to figure out how Qt version could be involved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions