Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure on Debian with Qt 6.4.2 #23

Open
petterreinholdtsen opened this issue May 31, 2024 · 0 comments
Open

Build failure on Debian with Qt 6.4.2 #23

petterreinholdtsen opened this issue May 31, 2024 · 0 comments

Comments

@petterreinholdtsen
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant