mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-02 06:09:59 +00:00
playback/player: qt: use QApplication instead of QGuiApplication
This avoids the following fatal error: "QWidget: Cannot create a QWidget without QApplication" https://bugzilla.gnome.org/show_bug.cgi?id=781789
This commit is contained in:
parent
71d85d3393
commit
175f7c8da1
1 changed files with 3 additions and 1 deletions
|
@ -29,7 +29,9 @@
|
|||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
QGuiApplication app(argc, argv);
|
||||
/* Use QApplication instead of QGuiApplication since the latter is needed
|
||||
* for widgets like the QFileDialog to work */
|
||||
QApplication app(argc, argv);
|
||||
int result;
|
||||
|
||||
QCommandLineParser parser;
|
||||
|
|
Loading…
Reference in a new issue