Details
-
Bug
-
Resolution: Incomplete
-
P2: Important
-
None
-
5.13.0
-
None
Description
Running this code (attached) with the attached html file
#include <QDebug> #include <QMimeDatabase> #include <QUrl> int main(int /*argc*/, char ** /*argv*/) { QMimeDatabase db; QMimeType mime = db.mimeTypeForUrl(QUrl::fromLocalFile("./qt-labs-calendar-qmlmodule.html")); qDebug() << "MIME TYPE is " << mime.name(); return 0; }
returns MIME TYPE is "text/x-qml"
When it's clearly not the case.
Attachments
Issue Links
- relates to
-
QTBUG-97392 WebEngine fails to load urls from resources
- Closed