Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Solved Runtime Error : QWindowsFontEngine, createDIBSection, createEngine

    Installation and Deployment
    qt5.8 mingw53 32bit windows 8 qtcreator 4.2.1
    3
    12
    4203
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      Reonyx_Tech @SGaist last edited by

      @SGaist

      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 :)

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        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 ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        R 1 Reply Last reply Reply Quote 0
        • R
          Reonyx_Tech @SGaist last edited by

          @SGaist

          Pardon me, Default Application as Hello World? Nothing as those errors occurred.

          As for MSVC, no, haven't tried because we intended to use MinGW compiler only.

          1 Reply Last reply Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            Ok, so it's something in your application.

            What type of application is ? Widget ? QtQuick ?

            Are you restoring the geometry on startup ?

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            R 1 Reply Last reply Reply Quote 0
            • R
              Reonyx_Tech @SGaist last edited by

              @SGaist

              It is widget application.
              On start up it did maximize app window, but will it caused the fonts error?
              Or because of webkit?

              1 Reply Last reply Reply Quote 0
              • SGaist
                SGaist Lifetime Qt Champion last edited by

                Webkit ? Did you build it yourself since it's been removed from the binary package in 5.6 ?

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                R 1 Reply Last reply Reply Quote 0
                • R
                  Reonyx_Tech @SGaist last edited by

                  @SGaist

                  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).

                  K 1 Reply Last reply Reply Quote 0
                  • SGaist
                    SGaist Lifetime Qt Champion last edited by

                    @Konstantin-Tokarev does this error ring a bell ?

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply Reply Quote 0
                    • K
                      Konstantin Tokarev @Reonyx_Tech last edited by

                      @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.

                      R 1 Reply Last reply Reply Quote 1
                      • R
                        Reonyx_Tech @Konstantin Tokarev last edited by

                        @Konstantin-Tokarev @SGaist

                        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 :)

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post