Runtime Error : QWindowsFontEngine, createDIBSection, createEngine
-
Hi. Thanks for your respond.
I am using Windows 8.1 Pro 64 bit.
This is the first time I'm facing this error and only occurs when running Qt project using Qt5.8.0 MinGW compiler (only install mingw).Below is the partial of Application Output (because it way too long to paste in here(1485 lines))
Starting C:\Projects\S5.8\Builds\release\syf.exe... "pageLogin" "VIEW" 1 setGeometry: Unable to set geometry 1920x1080+8+36 on QWidgetWindow/'MainWindowWindow'. Resulting geometry: 1920x1056+8+36 (frame: 8, 36, 8, 8, custom margin: 0, 0, 0, 0, minimum size: 1236x658, maximum size: 16777215x16777215). QIODevice::write (QTcpSocket): device not open QIODevice::write (QTcpSocket): device not open createEngine: CreateFontIndirect failed () QWindowsFontEngine: CreateFontIndirect failed for family 'f3rjyo6-y17-dbv-26lfd4jn36jye' () createEngine: CreateFontIndirect failed () QWindowsFontEngine: CreateFontIndirect failed for family 'f19015mg-mqw-dm2-2my0gpj9uj9a6' () createEngine: CreateFontIndirect failed () QWindowsFontEngine: CreateFontIndirect failed for family 'f11fs9xh-jlm-cp0-2ajax601k1ztp' () createEngine: CreateFontIndirect failed () QWindowsFontEngine: CreateFontIndirect failed for family 'Leelawadee' () QWindowsFontEngine: CreateFontIndirect failed for family 'Leelawadee UI' () QWindowsFontEngine: CreateFontIndirect failed for family 'Leelawadee UI' () QWindowsFontEngine: CreateFontIndirect failed for family 'Leelawadee UI' () QWindowsFontEngine: CreateFontIndirect failed for family 'Leelawadee UI Semilight' () QWindowsFontEngine: CreateFontIndirect failed for family 'Levenim MT' () QWindowsFontEngine: CreateFontIndirect failed for family 'Levenim MT' () QWindowsFontEngine: CreateFontIndirect failed for family 'LilyUPC' () QWindowsFontEngine: CreateFontIndirect failed for family 'LilyUPC' () createEngine: CreateFontIndirect failed () QWindowsFontEngine: CreateFontIndirect failed for family 'f9fc09-150j-e90-2yff8r86f928l' () createEngine: CreateFontIndirect failed () QWindowsFontEngine: CreateFontIndirect failed for family 'f3rjyo6-y17-dbv-26lfd4jn36jye' () createEngine: CreateFontIndirect failed () QWindowsFontEngine: CreateFontIndirect failed for family 'f19015mg-mqw-dm2-2my0gpj9uj9a6' () createEngine: CreateFontIndirect failed () QWindowsFontEngine: CreateFontIndirect failed for family 'f11fs9xh-jlm-cp0-2ajax601k1ztp' () createEngine: CreateFontIndirect failed () QWindowsFontEngine: CreateFontIndirect failed for family 'f3ojdo0-mb0-e5p-39891cgax2fgc' () createEngine: CreateFontIndirect failed () QWindowsFontEngine: CreateFontIndirect failed for family 'f9dti9d-10ww-co0-1i83jdncr5rqd' () createEngine: CreateFontIndirect failed () QWindowsFontEngine: CreateFontIndirect failed for family 'flk1qay-1dog-dpn-17aa9cinkj53k' () createEngine: CreateFontIndirect failed () QWindowsFontEngine: CreateFontIndirect failed for family 'f9fc09-150j-e90-2yff8r86f928l' () createEngine: CreateFontIndirect failed () QWindowsFontEngine: CreateFontIndirect failed for family 'f3rjyo6-y17-dbv-26lfd4jn36jye' () createEngine: CreateFontIndirect failed () QWindowsFontEngine: CreateFontIndirect failed for family 'f19015mg-mqw-dm2-2my0gpj9uj9a6' () createEngine: CreateFontIndirect failed () QWindowsFontEngine: CreateFontIndirect failed for family 'f1ahdq0j-hkk-e49-kmkld3lcbkq' () createEngine: CreateFontIndirect failed () QWindowsFontEngine: CreateFontIndirect failed for family 'f1ahdq0j-hkk-e49-kmkld3lcbkq' () createEngine: CreateFontIndirect failed () QWindowsFontEngine: CreateFontIndirect failed for family 'f11fs9xh-jlm-cp0-2ajax601k1ztp' () createEngine: CreateFontIndirect failed () QWindowsFontEngine: CreateFontIndirect failed for family 'f3ojdo0-mb0-e5p-39891cgax2fgc' () createEngine: CreateFontIndirect failed () QWindowsFontEngine: CreateFontIndirect failed for family 'f9dti9d-10ww-co0-1i83jdncr5rqd' () createEngine: CreateFontIndirect failed () QWindowsFontEngine: CreateFontIndirect failed for family 'flk1qay-1dog-dpn-17aa9cinkj53k' () createEngine: CreateFontIndirect failed () QWindowsFontEngine: CreateFontIndirect failed for family 'f9fc09-150j-e90-2yff8r86f928l' () createEngine: CreateFontIndirect failed () QWindowsFontEngine: CreateFontIndirect failed for family 'f3rjyo6-y17-dbv-26lfd4jn36jye' () createEngine: CreateFontIndirect failed () QWindowsFontEngine: CreateFontIndirect failed for family 'f19015mg-mqw-dm2-2my0gpj9uj9a6' () createEngine: CreateFontIndirect failed () QWindowsFontEngine: CreateFontIndirect failed for family 'Tahoma' () createEngine: CreateFontIndirect failed () QWindowsFontEngine: CreateFontIndirect failed for family 'f1iygtva-o6u-f3p-gxak5uak8pzx' () createEngine: CreateFontIndirect failed () QWindowsFontEngine: CreateFontIndirect failed for family 'f11fs9xh-jlm-cp0-2ajax601k1ztp' () createEngine: CreateFontIndirect failed () QWindowsFontEngine: CreateFontIndirect failed for family 'f3ojdo0-mb0-e5p-39891cgax2fgc' () createEngine: CreateFontIndirect failed () QWindowsFontEngine: CreateFontIndirect failed for family 'f9dti9d-10ww-co0-1i83jdncr5rqd' () createEngine: CreateFontIndirect failed () QWindowsFontEngine: CreateFontIndirect failed for family 'flk1qay-1dog-dpn-17aa9cinkj53k' () createEngine: CreateFontIndirect failed () QWindowsFontEngine: CreateFontIndirect failed for family 'f9fc09-150j-e90-2yff8r86f928l' () createEngine: CreateFontIndirect failed () QWindowsFontEngine: CreateFontIndirect failed for family 'f3rjyo6-y17-dbv-26lfd4jn36jye' () createEngine: CreateFontIndirect failed () QWindowsFontEngine: CreateFontIndirect failed for family 'f19015mg-mqw-dm2-2my0gpj9uj9a6' () createEngine: CreateFontIndirect failed () QWindowsFontEngine: CreateFontIndirect failed for family 'f1ahdq0j-hkk-e49-kmkld3lcbkq' () createDIB: CreateDIBSection failed. C:\Projects\S5.8\Builds\release\syf.exe exited with code 255
Mostly the error is about QWindowsFontEngine.
What could be the causes?
Is there any other application that needs to be installed to prevent those font errors?Kindly assist. Thanks again :)
-
AFAIK; no you shouldn't need anything more.
So you don't have that problem if building with a MSVC version of Qt ?
Again, did you try with a default application ?
-
Ok, so it's something in your application.
What type of application is ? Widget ? QtQuick ?
Are you restoring the geometry on startup ?
-
Webkit ? Did you build it yourself since it's been removed from the binary package in 5.6 ?
-
I'm using this https://github.com/annulen/webkit/releases/download/qtwebkit-tp5/qtwebkit-tp5-qt58-mingw530-x86.zip
Last time I've tried to build the Webkit package using qt5.8, but it shows Entry Point Not Found error when running the project, therefore I'm just using built files from the URL above. The project was able to compile and run, however, it crashed after few seconds (as in errors show in the previous posts). -
@Konstantin-Tokarev does this error ring a bell ?
-
@Reonyx_Tech Previous issue with "entry point not found" was caused by Qt 5.5 binaries being loaded by application. Errors you've posted above may also be caused by the same thing.
-
I found the cause of those error, it is due to fonts.css in html files.
When I removed the link from <head>, the application was successfully run without crashed.Just wonder, how come its not working now in qt5.8 but just nice back then in qt5.5 ?
BTW, thanks both for your help and idea :)