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.
When trying to build the source on Debian unstable, I ran into this build problem.
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.