QSplashScreen build error with Qt 5.14
Greetings,
I attempted to build EDFbrowser 1.78 on top of Qt 5.14.2, but I hit the following error during compilation:
mainwindow_constr.cpp:1172:86: error: no matching function for call to ‘QSplashScreen::QSplashScreen(QScreen*, QPixmap&, Qt::WindowType)’
1172 | splash = new QSplashScreen(this->screen(), *splash_pixmap, Qt::WindowStaysOnTopHint);
| ^
Reading through QSplashScreen documentation on qt.io, I understand the third argument should be of type Qt::WindowFlags instead of Qt::WindowType. I was not sure of a proper fix so failed back to building with the deprecated way of launching the splash, and the build went otherwise quite well. But I thought you would want to be aware of it.
Kind Regards, -- Étienne.