You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ 72%] Building CXX object launcher/CMakeFiles/Launcher_logic.dir/ui/pages/global/LauncherPage.cpp.o
/home/david/.cache/kiss/proc/3576/build/prismlauncher/launcher/Application.cpp: In member function 'virtual bool Application::event(QEvent*)':
/home/david/.cache/kiss/proc/3576/build/prismlauncher/launcher/Application.cpp:917:31: error: 'QFileOpenEvent' does not name a type
917 | auto ev = static_cast<QFileOpenEvent*>(event);
| ^~~~~~~~~~~~~~
/home/david/.cache/kiss/proc/3576/build/prismlauncher/launcher/Application.cpp:917:45: error: expected '>' before '*' token
917 | auto ev = static_cast<QFileOpenEvent*>(event);
| ^
/home/david/.cache/kiss/proc/3576/build/prismlauncher/launcher/Application.cpp:917:45: error: expected '(' before '*' token
917 | auto ev = static_cast<QFileOpenEvent*>(event);
| ^
| (
/home/david/.cache/kiss/proc/3576/build/prismlauncher/launcher/Application.cpp:917:46: error: expected primary-expression before '>' token
917 | auto ev = static_cast<QFileOpenEvent*>(event);
| ^
/home/david/.cache/kiss/proc/3576/build/prismlauncher/launcher/Application.cpp:917:54: error: expected ')' before ';' token
917 | auto ev = static_cast<QFileOpenEvent*>(event);
| ^
| )
/home/david/.cache/kiss/proc/3576/build/prismlauncher/launcher/Application.cpp:918:34: error: cannot convert '<brace-enclosed initializer list>' to 'QList<QUrl>'
918 | m_mainWindow->processURLs({ ev->url() });
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In file included from /home/david/.cache/kiss/proc/3576/build/prismlauncher/launcher/Application.cpp:48:
/home/david/.cache/kiss/proc/3576/build/prismlauncher/launcher/ui/MainWindow.h:85:34: note: initializing argument 1 of 'void MainWindow::processURLs(QList<QUrl>)'
85 | void processURLs(QList<QUrl> urls);
| ~~~~~~~~~~~~^~~~
...in reality I'm doing this inside of the KISS package manager, and the real script is as follows, but the above should be easier for you to replicate on anything else:
#include <QFileOpenEvent> should be added to Application.cpp, as said in https://doc.qt.io/qt-5/qfileopenevent.html
If there is some way that it is supposed to be transitively imported, then that isn't working.
This issue is unique
I have searched the issue tracker and did not find an issue describing my bug.
The text was updated successfully, but these errors were encountered:
I would agree, I'm curious what differences in header files we have that could be causing this. Seems like a very random breaking change in either the build system or Qt...
I'm running Qt version 5.18.8, and I'm on KISS Linux. It's a from-source distribution, kind of like Gentoo, if you're familiar with that, meaning there are very few binary distributions of packages, and so package versions tend to be on the bleeding edge.
Operating System
Linux
Version of Prism Launcher
latest git
Version of Qt
Qt 5.15.8
Description of bug
I get the following errors:
Steps to reproduce
...in reality I'm doing this inside of the KISS package manager, and the real script is as follows, but the above should be easier for you to replicate on anything else:
Suspected cause
#include <QFileOpenEvent>
should be added to Application.cpp, as said in https://doc.qt.io/qt-5/qfileopenevent.htmlIf there is some way that it is supposed to be transitively imported, then that isn't working.
This issue is unique
The text was updated successfully, but these errors were encountered: