{"action":"created","issue":{"url":"https://api.github.com/repos/vlc-qt/examples/issues/3","labels_url":"https://api.github.com/repos/vlc-qt/examples/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/vlc-qt/examples/issues/3/comments","events_url":"https://api.github.com/repos/vlc-qt/examples/issues/3/events","html_url":"https://github.com/vlc-qt/examples/issues/3","id":118636617,"number":3,"title":"QWidget: Must construct a QApplication before a QWidget","user":{"login":"aldur","id":1721633,"avatar_url":"https://avatars.githubusercontent.com/u/1721633?v=3","gravatar_id":"","url":"https://api.github.com/users/aldur","html_url":"https://github.com/aldur","followers_url":"https://api.github.com/users/aldur/followers","following_url":"https://api.github.com/users/aldur/following{/other_user}","gists_url":"https://api.github.com/users/aldur/gists{/gist_id}","starred_url":"https://api.github.com/users/aldur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aldur/subscriptions","organizations_url":"https://api.github.com/users/aldur/orgs","repos_url":"https://api.github.com/users/aldur/repos","events_url":"https://api.github.com/users/aldur/events{/privacy}","received_events_url":"https://api.github.com/users/aldur/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-24T15:40:41Z","updated_at":"2015-11-24T16:06:40Z","closed_at":null,"body":"Hi,\r\n\r\nI've successfully managed to install the library and to build the `simple-player` example, by using CMake.\r\nWhen I try running it, I get the following error:\r\n\r\n```bash\r\nobjc[69784]: Class NotificationReceiver is implemented in both /usr/local/opt/qt5/lib/QtWidgets.framework/Versions/5/QtWidgets and /Users/aldur/Lavoro/vlc-qt-examples/simple-player/build/install_dir/simple-player.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets. One of the two will be used. Which one is undefined.\r\nQWidget: Must construct a QApplication before a QWidget\r\n[1]    69784 abort\r\n```\r\n\r\nAny hint on what I'm doing wrong?\r\n\r\nGDB's backtrace:\r\n```bash\r\nQWidget: Must construct a QApplication before a QWidget\r\n\r\nProgram received signal SIGABRT, Aborted.\r\n0x00007fff8b4e60ae in __pthread_kill () from /usr/lib/system/libsystem_kernel.dylib\r\n(gdb) bt\r\n#0  0x00007fff8b4e60ae in __pthread_kill () from /usr/lib/system/libsystem_kernel.dylib\r\n#1  0x00007fff8c99f500 in pthread_kill () from /usr/lib/system/libsystem_pthread.dylib\r\n#2  0x00007fff9290f37b in abort () from /usr/lib/system/libsystem_c.dylib\r\n#3  0x0000000101ec23e9 in qt_message_fatal(QtMsgType, QMessageLogContext const&, QString const&) ()\r\n   from /usr/local/opt/qt5/lib/QtCore.framework/Versions/5/QtCore\r\n#4  0x0000000101ec3dd7 in QMessageLogger::fatal(char const*, ...) const ()\r\n   from /usr/local/opt/qt5/lib/QtCore.framework/Versions/5/QtCore\r\n#5  0x0000000101251dbc in QWidgetPrivate::QWidgetPrivate(int) ()\r\n   from /usr/local/opt/qt5/lib/QtWidgets.framework/Versions/5/QtWidgets\r\n#6  0x00000001013561ee in QFrame::QFrame(QWidget*, QFlags<Qt::WindowType>) ()\r\n   from /usr/local/opt/qt5/lib/QtWidgets.framework/Versions/5/QtWidgets\r\n#7  0x00000001006793a2 in VlcWidgetVideo::VlcWidgetVideo (this=0x10386c720, parent=0x10386bad0)\r\n    at /Users/aldur/Lavoro/vlc-qt/src/widgets/WidgetVideo.cpp:56\r\n#8  0x000000010067945d in VlcWidgetVideo::VlcWidgetVideo (this=0x10386c720, parent=0x10386bad0)\r\n    at /Users/aldur/Lavoro/vlc-qt/src/widgets/WidgetVideo.cpp:58\r\n#9  0x000000010000f3d6 in Ui_SimplePlayer::setupUi(QMainWindow*) ()\r\n    at /usr/local/opt/qt5/lib/QtGui.framework/Headers/qpalette.h:188\r\n#10 0x000000010000e033 in SimplePlayer::SimplePlayer(QWidget*) ()\r\n    at /usr/local/opt/qt5/lib/QtGui.framework/Headers/qpalette.h:188\r\n#11 0x000000010000eb4d in SimplePlayer::SimplePlayer(QWidget*) ()\r\n    at /usr/local/opt/qt5/lib/QtGui.framework/Headers/qpalette.h:188\r\n#12 0x000000010000349f in main () at /usr/local/opt/qt5/lib/QtGui.framework/Headers/qpalette.h:188\r\n(gdb)\r\n```"},"comment":{"url":"https://api.github.com/repos/vlc-qt/examples/issues/comments/159315520","html_url":"https://github.com/vlc-qt/examples/issues/3#issuecomment-159315520","issue_url":"https://api.github.com/repos/vlc-qt/examples/issues/3","id":159315520,"user":{"login":"ntadej","id":805384,"avatar_url":"https://avatars.githubusercontent.com/u/805384?v=3","gravatar_id":"","url":"https://api.github.com/users/ntadej","html_url":"https://github.com/ntadej","followers_url":"https://api.github.com/users/ntadej/followers","following_url":"https://api.github.com/users/ntadej/following{/other_user}","gists_url":"https://api.github.com/users/ntadej/gists{/gist_id}","starred_url":"https://api.github.com/users/ntadej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ntadej/subscriptions","organizations_url":"https://api.github.com/users/ntadej/orgs","repos_url":"https://api.github.com/users/ntadej/repos","events_url":"https://api.github.com/users/ntadej/events{/privacy}","received_events_url":"https://api.github.com/users/ntadej/received_events","type":"User","site_admin":false},"created_at":"2015-11-24T16:06:40Z","updated_at":"2015-11-24T16:06:40Z","body":"Did you run `make dmg` also on VLC-Qt?\r\n\r\nThere were some problems with homebrew build of Qt with 5.5.0, not sure about current version."}}