Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

QML Camera problem

$
0
0
Hello, I have problems trying to use the QML QtMultimedia Camera but the program just crashes and displays a Messagebox: This application has requested the Runtime to terminate it in an unusual way. Please contact the application’s support team for more information. The Application Output window displays the message: QWidget: Cannot create a QWidget without QApplication Invalid parameter passed to C runtime function. Invalid parameter passed to C runtime function. D:\Qt\Programs\build-untitled5-Desktop_Qt_5_1_0_MinGW_32bit-Release\release\untitled5.exe exited with code 3 Here’s the program: import QtQuick 2.0 import QtMultimedia 5.0   Rectangle {     width: 360     height: 360     color: "lightgrey"       Camera {         id: bla     } } I can’t seem to find anything on this problem. The webcam works fine. The platform is Win7 ×64 and Qt 5.1 with MinGW.

Viewing all articles
Browse latest Browse all 13965

Trending Articles